Skip to contentSkip to conversation

Yocto 2.7 SDK Eclipse

DISCUSSION Bert Böhne 2 participants 6 messages Aug 20, 2019 – Aug 27, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

I am using Yocto 2.7 and I want to use the SDK to build applications(or give the SDK to my colleagues to let them build applications). I have read in the documentation that there are plugins for Eclipse. But for Yocto 2.7(or maybe earlier) the support for this plugin was removed. So if we want to use Eclipse (and CMake), is this still possible? I am a little confused about this.

If anybody could give me a hint, I would appreciate it very much.

Thanks,

Bert

#1 lore raw
Quoted 11 lines · Bert Böhne

I am using Yocto 2.7 and I want to use the SDK to build applications(or give the SDK to my colleagues to let them build applications). I have read in the documentation that there are plugins for Eclipse. But for Yocto 2.7(or maybe earlier) the support for this plugin was removed. So if we want to use Eclipse (and CMake), is this still possible? I am a little confused about this.

If anybody could give me a hint, I would appreciate it very much.

It is possible, but you have to maintain it. The project couldn't find anyone to take care of the plugins, and so the only remaining option was to disable them.

Alex

#2 lore raw

Hi Alex,

thanks for your reply. Do I need the plugins for writing and debugging code in Eclipse? The documentation says:

24.9.11. ADT Removed¶

The Application Development Toolkit (ADT) has been removed because its functionality almost completely overlapped with the standard SDK and the extensible SDK. For information on these SDKs and how to build and use them, see the Yocto Project Application Development and the Extensible Software Development Kit (eSDK) manual.

So would it work if I use Eclipse and maybe a plugin for CMake? Start Eclipse from the cmdline where I sourced the SDK environment setup script?

What is the ‘normal’ way or tool for writing applications? Is it weird to want to use Eclipse?

Thanks,

Bert

Von: Alexander Kanavin [mailto:[email protected]]
Gesendet: Dienstag, 20. August 2019 17:42
An: Bert Böhne <[email protected]>
Cc: [email protected]
Betreff: Re: [yocto] Yocto 2.7 SDK Eclipse

On Tue, 20 Aug 2019 at 17:34, Bert Böhne <[email protected]<mailto:[email protected]>> wrote:
I am using Yocto 2.7 and I want to use the SDK to build applications(or give the SDK to my colleagues to let them build applications). I have read in the documentation that there are plugins for Eclipse. But for Yocto 2.7(or maybe earlier) the support for this plugin was removed. So if we want to use Eclipse (and CMake), is this still possible? I am a little confused about this.

If anybody could give me a hint, I would appreciate it very much.

It is possible, but you have to maintain it. The project couldn't find anyone to take care of the plugins, and so the only remaining option was to disable them.

Alex

#3 lore raw
Quoted 17 lines · Bert Böhne

thanks for your reply. Do I need the plugins for writing and debugging code in Eclipse? The documentation says:

24.9.11. ADT Removed¶

The Application Development Toolkit (ADT) has been removed because its functionality almost completely overlapped with the standard SDK and the extensible SDK. For information on these SDKs and how to build and use them, see the Yocto Project Application Development and the Extensible Software Development Kit (eSDK) manual.

Quoted 8 lines

So would it work if I use Eclipse and maybe a plugin for CMake? Start Eclipse from the cmdline where I sourced the SDK environment setup script?

What is the ‘normal’ way or tool for writing applications? Is it weird to want to use Eclipse?

I do not want to define 'normal'; for me personally the way to work is to do everything from command line, with an extremely lightweight editor (e.g. nano). Since I have never used Eclipse, I do not know what the (now removed) plugins actually do. You can certainly still edit code using Eclipse but I can imagine that for building it, and running it and other things you would have to switch to the command line.

Alex

#4 lore raw

OK, thanks. We would like to use Eclipse because we are coming from Windows and it would give us the possibility to code and debug easier or in a more known way.

Von: Alexander Kanavin [mailto:[email protected]]
Gesendet: Mittwoch, 21. August 2019 12:03
An: Bert Böhne <[email protected]>
Cc: [email protected]
Betreff: Re: [yocto] Yocto 2.7 SDK Eclipse

On Wed, 21 Aug 2019 at 11:00, Bert Böhne <[email protected]<mailto:[email protected]>> wrote:
thanks for your reply. Do I need the plugins for writing and debugging code in Eclipse? The documentation says:

24.9.11. ADT Removed¶

The Application Development Toolkit (ADT) has been removed because its functionality almost completely overlapped with the standard SDK and the extensible SDK. For information on these SDKs and how to build and use them, see the Yocto Project Application Development and the Extensible Software Development Kit (eSDK) manual.

So would it work if I use Eclipse and maybe a plugin for CMake? Start Eclipse from the cmdline where I sourced the SDK environment setup script?

What is the ‘normal’ way or tool for writing applications? Is it weird to want to use Eclipse?

I do not want to define 'normal'; for me personally the way to work is to do everything from command line, with an extremely lightweight editor (e.g. nano). Since I have never used Eclipse, I do not know what the (now removed) plugins actually do. You can certainly still edit code using Eclipse but I can imagine that for building it, and running it and other things you would have to switch to the command line.

Alex

#5 lore raw
In reply to Alexander Kanavin

Hi,

I was able to get Eclipse IDE 2019 06 working together with http://downloads.yoctoproject.org/releases/eclipse-plugin/2.6.1/oxygen/. This together with my generated SDK lets me compile and debug (remotely). Maybe it helps someone else…

Thanks,

Bert

Von: Bert Böhne
Gesendet: Mittwoch, 21. August 2019 14:06
An: 'Alexander Kanavin' <[email protected]>
Cc: [email protected]
Betreff: AW: [yocto] Yocto 2.7 SDK Eclipse

OK, thanks. We would like to use Eclipse because we are coming from Windows and it would give us the possibility to code and debug easier or in a more known way.

Von: Alexander Kanavin [mailto:[email protected]]
Gesendet: Mittwoch, 21. August 2019 12:03
An: Bert Böhne <[email protected]<mailto:[email protected]>>
Cc: [email protected]<mailto:[email protected]>
Betreff: Re: [yocto] Yocto 2.7 SDK Eclipse

On Wed, 21 Aug 2019 at 11:00, Bert Böhne <[email protected]<mailto:[email protected]>> wrote:
thanks for your reply. Do I need the plugins for writing and debugging code in Eclipse? The documentation says:

24.9.11. ADT Removed¶

The Application Development Toolkit (ADT) has been removed because its functionality almost completely overlapped with the standard SDK and the extensible SDK. For information on these SDKs and how to build and use them, see the Yocto Project Application Development and the Extensible Software Development Kit (eSDK) manual.

So would it work if I use Eclipse and maybe a plugin for CMake? Start Eclipse from the cmdline where I sourced the SDK environment setup script?

What is the ‘normal’ way or tool for writing applications? Is it weird to want to use Eclipse?

I do not want to define 'normal'; for me personally the way to work is to do everything from command line, with an extremely lightweight editor (e.g. nano). Since I have never used Eclipse, I do not know what the (now removed) plugins actually do. You can certainly still edit code using Eclipse but I can imagine that for building it, and running it and other things you would have to switch to the command line.

Alex