tutorial on setting and compiling in Linux?
Hi Nicola,
As HankB said, there is some difficulties in using STM32 tools under linux. Actually, I'm able to generate code from STM32CubeMX, import them in SW4STM32 IDE, compile after few tricks and finally flash the target and use debug tools ! Here is how I'm used to proceed :
1. Generate code from STM32CubeMX following the advices from here : http://www.openstm32.org/Importing+a+STCubeMX+generated+project?structure=Documentation
I stop the tuto at section 4 (included), as I'm not obliged to rename the project configuration....
2. Modify include paths as follows :
Project->Properties->C/C++ builds->Settings->MCU GCC compiler->Include.
Edit each include paths string by adding "../../../" at the beginning.
3. Modify paths for linker file as follow:
Project->Properties->C/C++ builds->Settings->MCU GCC linker->General.
Replace "\" by "/" in the string path.
Compilation should now be OK.
Hope this helps.
BaDuf