Loading...
 
Skip to main content

System Workbench for STM32


Code size doubles when converting C project to C++

I figued it out. Doing the following seems to use newLib (nano), and reduces code size by about half.

In , and in the "MCU G++ Linker", "Miscellaneous" section add the following flags:

-specs=nano.specs

 
Collapse/expand modules below