2017-06-27 07:45 AM
Hi,
I have an issue with generating the project code on any of my Macs running macOS. I'm using STM32CubeMX V4.21.0 but already discovered the same issue in previous versions.
Whenever I choose 'Generate Code' from the 'Project' menu CubeMX starts generating the project as expected.
The code generation stops at the stage 'Generating XXX project...' (where XXX is any of the existing toolchains) which means that the progress bar does not advance anymore and the generation is not completed. The application itself remains reactive.
I can quit CubeMX with the result of having an incomplete project without the toolchain specific project files (e.g. .project, Makefile, linker script etc.).
This problem is independent of the selected MCU and toolchain.
Can anybody help?
Alex
#mac-os #problem #stm32cubemx #code-generation2017-06-27 08:00 AM
Hi,
Could you please share your .ioc and the STM32CubeMX.log file you find under your user directory in the .stm32cubemx folder.
Regards
Imen
2017-06-27 01:50 PM
Hi Imen,
thank you for pointing me to the log file. I've noticed that STM32CubeMX has been using a version of Java 9ea that I've installed some time ago.
Since I don't know how to force STM32CubeMX to use a particular JDK version I uninstalled all but the current version (1.8). Now the project is generated as expected.
Regards,
Alex