cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find linker flags settings in STM32CubeIDE 1.15.1

JLemi
Associate III

Hello,

I get this compilation warning: The float formatting support is not enabled, check your MCU Settings from "Project Properties > C/C++ Build > Settings > Tool Settings", or add manually "-u _printf_float" in linker flags.

The stated "recipe" to fix the issue does not work because there is no "linker flags" edit box in the mentionned dialog.

Hence, what is the way to add linker flags in the IDE version I'm using, 1.15.1 ?

Many thanks!

1.png

2.png

 

 

5 REPLIES 5
Radosław
Senior II

show as C/C++ Build  setting (1 level up)

JLemi
Associate III

"One level up", there is no such setting for the linker flags.

What did you mean?

Thanks!

 

3.png

 

Radosław
Senior II

generate makefile automaticalyy is unchecked. you have strange build command why?

 

 

JLemi
Associate III

We have our own build. Because our firmware is an evolution of a product originally developed on an AVR Atmega chip, etc.

What is the relationship between the build command and the linker flags specifications?

Thanks.

Radosław
Senior II

Only automaticaly generated makefile will get linker flags from settinngs that you are searching,  As this is makefile, build commend should be make? Agree?

 

 

AVR is long past for me, but thay also uses make for build?