Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino/Arduino
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3278173
Choose a base ref
...
head repository: srejbi/Arduino
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f5c6069
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 26, 2012

  1. 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>
    srejbi committed Mar 26, 2012
    Configuration menu
    Copy the full SHA
    f53db6a View commit details
    Browse the repository at this point in the history
  2. test sketch that will tell if it has been linked against float-enable…

    …d scanf/printf or not
    srejbi committed Mar 26, 2012
    Configuration menu
    Copy the full SHA
    f5c6069 View commit details
    Browse the repository at this point in the history
Loading