2024-07-16 07:51 AM
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!
2024-07-16 10:15 AM
show as C/C++ Build setting (1 level up)
2024-07-16 10:21 AM - edited 2024-07-16 10:21 AM
"One level up", there is no such setting for the linker flags.
What did you mean?
Thanks!
2024-07-16 10:30 AM - edited 2024-07-16 10:31 AM
generate makefile automaticalyy is unchecked. you have strange build command why?
2024-07-16 10:33 AM
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.
2024-07-16 10:58 AM - edited 2024-07-16 10:59 AM
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?