Page 1 of 1

CDT projects have been lost after a plugin is installed

Posted: Sun May 19, 2013 3:32 am
by fjrg76
Hi

After Eclipse restart because of a new Plugin was intalled, my project was gone. Here you have a detailed description:

http://stackoverflow.com/questions/1663 ... -installed

I found to be extremely difficult to remove the HAL and to add the ST official BSP files to the ChibiOS examples. So I took the option to build a new project through the GNU ARM plugin. After hours I got the ChibiOS tree and STM32xx tree to live together plus my project's tree, awesome!!

I use to code with VIM, so I thought it was a good idea to install a VIM-like plugins for Eclipse. So, as I said, after Eclipse restarted, my project's files were not there anymore, just the name.

Any ideas? Is this the right place to ask this question? Thank you!!

Re: CDT projects have been lost after a plugin is installed

Posted: Sun May 19, 2013 7:15 am
by Giovanni
There is an example without HAL in the distribution, you may start from that: ARMCM3-GENERIC-KERNEL
In general, removing the HAL just requires commenting out few lines in the makefile.

Giovanni

Re: CDT projects have been lost after a plugin is installed

Posted: Sun May 19, 2013 9:40 pm
by fjrg76
Thank you for your prompt reply!

There is an example without HAL in the distribution, you may start from that: ARMCM3-GENERIC-KERNEL
In general, removing the HAL just requires commenting out few lines in the makefile.


In a previous post I took that way, however, I'm far away of being a master of the Makefiles, so I messed things up when trying that approach. So I found an Eclipse's plugin for GNU ARM projects:

http://gnuarmeclipse.livius.net/blog/

And yes, that way was easier than tweeking the makefiles by hand. The problem is that my projects dissapear from Eclipse, but all the files are still in the workspace. I found a quick and dirty workaround: to install ALL the plugins I need before to start a project.