You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
patch allows user to define 2 additional, optional parameters in the preferences.txt file.
the parameters allow to tweak the default linker settings by injecting custom options to the avr-gcc command line.
the parameters:
* build.linker_options - specified options will *replace* the default '-Wl,--gc-sections' options
* build.linker_additional_options - options will *replace* the default '-lm' (at the end of the command line)
fine tuning these variables allows one to link against the float-enabled versions of printf and scanf.
has been tested on windows XP, with the following options set in the user's preferences.txt:
<pre>
build.linker_options=-Wl,-u,vfprintf,-u,vfscanf,--gc-sections
build.linker_additional_options=-lprintf_flt -lscanf_flt -lm
</pre>
0 commit comments