Confused about directory structure with STM32CUBEMX plugin and Eclipse
Somewhere I’ve taken a wrong turning and STMCUBEMX either generates code in the wrong place or fails to generate the project file(s)
I started my project (smt-test) in the STM32CUBEMX plugin, generated the code and then imported it into Eclipse using File->Import.
This created a directory tree like this:
smt-test
/Drivers
/Inc
/SW4STM32
/Src
main.c
...
smt-test.ioc
and I could compile it, debug it etc.
I then started to add files using eclpse which put them wayyyyy further down in the directory hierarchy
smt-test
/Drivers
/Inc
/SW4STM32
/smt-test
/Application
/User
files added by eclipse
Now when I make changes to the STM32CUBEMX project, either ‘main.c’ is updated in the wrong place or I get an error message about having a problem generating the project file(s).
Does anyone have a definitive set of instructions for the integration of STM32CUBEMX and Eclipse? and the continued use of the `MX plugin to maintain a project?
PS - why does this forum not have a ‘code’ formatting method?