Open nscooling opened 8 years ago
I confirm the problem, I'll investigate.
I updated the projects (the HAL source path was missing).
I also updated the scripts, so I suggest you simply remove the eclipse-demo-projects.git folder and start from scratch.
the new versions of the projects no longer contain the dependencies, you need to run the script to generate them, as explained in the README.
be sure you run the generate.sh scripts with Eclipse closed, otherwise Eclipse might damage the .cproject while the files are regenerated.
Yes I can confirm this now works (OSX test) Thanks.
great.
please check how CubeMX is integrated, especially in the F0 project, where the HAL is also copied from Cube, and the vectors.c file is dynamically generated.
the current scripts are only a temporary solution, a more elaborate command line tool (xcdl
) is under construction and will handle all details, from xPacks creation to command line builds.
I imported the example project as specified in the README (without copying) but on build got linker errors such as: ./src/led.o: In function
led::turn_on()': /Users/Niall/Training/programming/C++/eclipse-demo-projects/f4discovery-blinky-micro-os-plus/Debug/../src/led.cpp:83: undefined reference to
HAL_GPIO_WritePin' etc.