- This topic has 2 replies, 2 voices, and was last updated 8 years, 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › Release-Debug build
Hi Carmine,
I have a previous (little) experience with Eclipse and gcc. I’m using Kubuntu 14.04 , Eclipse Mars and all the installation from your book step by step.
When building a project I had always use Build configuration->Set active->Release.
I want to use the debugger, so I think I must use the Debug configuration. But there is no file project.bin in the Debug folder.
Only after I build the project with the Release option I can find a project.bin file in the Release folder. I can then flash the board. Am I missing something?
Another question: what are the advantages of using QSTlink2 instead of texane stlink in linux?
Saluti,
Pedro.
Hi Pedro,
Well, technically speaking, Debug and Release are just two project configurations, which essentially differ for two things: the debug level (the Debug one is compiled with the -g3 options that adds more debug “information” to the binary) and the optimization level. But both of the two can be flashed on the MCU using OpenOCD.
When you compile the project, you should find inside both the Debug and Release folders a file named “
About texane and QSTlink2. They essentially do the same think, but I decided to talk about QSTLink in Linux because it also has a GUI that simplifies flashing procedure. However, OpenOCD is the only tool you need at the end.
Grazie Carmine,
Adesso è tuuto più chiaro.
Saluti,
Pedro.