9 years, 1 month ago.

Should export to GCC include Eclipse Project Files?

The way this page reads, You would expect to be able to export to GCC then import to Eclipse.

Unfortunately there are no eclipse project files included in the .zip

I can of course make a new eclipse project as a "makefile project from existing code" but I then have a fair amount of manual config required.

Question relating to:

1 Answer

9 years, 1 month ago.

it's currently not supported. That would be nice to have, with also launch configuration, so only 2 clicks away from debugging :-)

Accepted Answer

Hi Martin, Thanks for the quick response.

How do we go about getting it supported? Obviously the basic code to do so is there, otherwise the "Exporting to Eclipse IDEs" page wouldn't exist. I assume it should be fairly trivial to allow the same code to work for plain eclipse and gcc?

In the meantime, can a NOTE be added that explains that only export types of x,y,z (eg: Kenetis) have direct support.

posted by David Godfrey 10 Mar 2015

The export table is here https://github.com/mbedmicro/mbed/tree/master/workspace_tools/export

Should be trivial to add eclipse template, I have done something similar to project generator project I am doing, but it should add also launching configuration. mbed SDK is on github, anyone can contribute. I used to add new exporters :)

posted by Martin Kojtal 10 Mar 2015

Once I have a working eclipse build I will look at seeing if I can unravel the requirements to add templates to the workspace_tools. [why oh why can't there be a makefile import for eclipse?]

I just had a quick look and I think I may be able to do it without needing to learn python. <shudders>

posted by David Godfrey 10 Mar 2015