Printf debugging
AN4989
82/118
AN4989 Rev 3
Figure 61.
Properties for semihosting in STM32CubeIDE- Librairies
Next, select
MCU GCC Linker -> Miscellaneous
while still in the Tool Settings tab.
Click the Add… button and enter -specs=rdimon.specs into the dialog box.
This add the linker flags in order to include the librdimon library.
Figure 62. Properties for semihosting in STM32CubeIDE