Skip to content

Conversation

@sandeepmistry
Copy link
Contributor

Resolves #109.

_printf_float will only get linked in when dtostrf is used.

Alternative is to add a -u _printf_float linker flag, but this will increase sketch size for all sketches even if float support for printf is not needed.
(https://github.com/32bitmicro/newlib-nano-1.0/blob/master/newlib/README.nano)

@ArduinoBot
Copy link

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/samd/package_samd-b53_index.json

ℹ️ To test this build:

  1. Open the Preferences of the Arduino IDE.
  2. Add the Build URL above in the Additional Boards Manager URLs field, and click OK.
  3. Open the Boards Manager (menu Tools->Board->Board Manager...)
  4. Install Arduino SAMD core - Pull Request Force link _printf_float in dtostrf #111
  5. Select one of the boards under SAMD Pull Request Force link _printf_float in dtostrf #111 in Tools->Board menu
  6. Compile/Upload as usual

@cmaglie
Copy link
Member

cmaglie commented Feb 17, 2016

@ArduinoBot build this please

@cmaglie cmaglie merged commit 155f259 into arduino:master Feb 18, 2016
@cmaglie cmaglie added this to the Release 1.6.4 milestone Feb 18, 2016
@sandeepmistry sandeepmistry deleted the string-float-double branch April 19, 2016 15:13
boseji pushed a commit to go-ut/combined-ArduinoCore-samd that referenced this pull request May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants