3 ms·
I recommend STM32CubeMX: this is a GUI tool that creates a gcc/ makefile project for any of their micros- so you only have to use it once to set up an example "
by jhallenworld 6y ago
I recommend STM32CubeMX: this is a GUI tool that creates a gcc/ makefile project for any of their micros- so you only have to use it once to set up an example "hello world" project. No IDE is needed (older versions only generated code for IDEs, but no longer).
If you follow the comments in the generated source code you can keep your code separated from their code. The advantage is that you can reconfigure your project later- for example to change microcontrollers, or enable new peripherals.
- SV_BubbleTime 6y agoI tried but HATED my code being stuffed between comment blocks of //USER CODE GOES HERE// There were four or five of those blocks in my main alone. It’s a dumb thing but was driving me nuts. If you break your code away from there’s ASAP it’s probably better.