2024-04-29 01:45 AM
Using CubeMX, selecting "Start My project from Example" I find 33 examples if I filter for the "STM32F407G-DISC1" Board. I would like to have a deeper understanding of the one named "Demonstrations" I select it and "Start my project in External IDE" and then "Open with Explorer", since VSCode is not an option.
Now how do I go from there to upload the code onto my board?
I have two questions:
2024-04-29 02:12 AM
Hello @pcb
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-04-30 02:10 AM
Thank you @STTwo-32,
I have successfully managed to generate the Makefile by using the build action in STM32CubeIDE; however, I am not able to Run the project onto my STM32F407G-DISC1. Either from the IDE or VSCode.
One thing that confuses me is that I do not find any configFiles such as stlink.cfg and stm32f4x.cfg
2024-04-30 06:55 AM
> I do not find any configFiles such as stlink.cfg and stm32f4x.cfg
These files are for OpenOCD. The default debugger in CubeIDE is the "ST GDB server", it does not need these files. If you switch to OpenOCD, the config file will be created.