EasyManuals Logo

STMicroelectronics STM32 User Manual

STMicroelectronics STM32
118 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #36 background imageLoading...
Page #36 background image
Compiling for debug AN4989
36/118 AN4989 Rev 3
3.1.3 STM32CubeIDE
In project Properties->Settings->Tool Settings->MCU GCC Compiler->Optimization
Figure 20. STM32CubeIDE optimization level setting
gcc also provides the -Og option:
-Og enables optimizations that do not interfere with debugging. It offers a reasonable level
of optimization while maintaining fast compilation and a good debugging experience.
3.2 Debugging information
Debugging information is generated by the compiler together with the machine code. It is a
representation of the relationship between the executable program and the original source
code. This information is encoded into a pre-defined format and stored alongside the
machine code.
Debugging information is mandatory to set breakpoint or get the content of a variable.
This chapter presents the location of the Debugging Information related option in IAR
Systems
®
, Keil
®
, and STM32CubeIDE.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the STMicroelectronics STM32 and is the answer not in the manual?

STMicroelectronics STM32 Specifications

General IconGeneral
BrandSTMicroelectronics
ModelSTM32
CategoryMicrocontrollers
LanguageEnglish

Related product manuals