Commit Graph
2 Commits
Author SHA1 Message Date
AnthonyDiGirolamo df80616179 Update itoa.c for -std=c++17 compatibility
This change copies over itoa.h and itoa.c from https://github.com/adafruit/ArduinoCore-samd/tree/master/cores/arduino

This adds in the missing utoa and itoa functions when compiling using -std=c++17. This nRF52 core is currently using -std=gnu++11 in platform.txt so this isn't normally an issue.

Tested compiling a few example sketches successfully in the Arduino IDE with this change. Not tested on device, haven't ordered hardware yet.

I'm hoping to get this fixed to add support for building pigweed on top
of this core. See https://pigweed.dev/targets/arduino/target_docs.html if interested :-)
2020-12-12 11:35:45 -08:00
hathach 6151838f8f adding file from sandeepmistry/arduino-nRF5 2016-11-22 01:08:21 +07:00