Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

itoa (utoa) is not found if including arduino.h nor stdlib.h #110

Closed
Makuna opened this issue Apr 24, 2015 · 2 comments
Closed

itoa (utoa) is not found if including arduino.h nor stdlib.h #110

Makuna opened this issue Apr 24, 2015 · 2 comments

Comments

@Makuna
Copy link
Collaborator

Makuna commented Apr 24, 2015

current workaround is to include stdlib_noniso.h.

this makes it hard to write a library that can compile for AVR and ESP8266.

@Links2004
Copy link
Collaborator

utoa is a non std function AVR do a bad style and at it to the stdlib.h but the normal stdlib.h of the C/C++ standard does not include it.
the only change i see is at the stdlib_noniso.h include in the Arduino.h.

more infos here:
http://www.atmel.com/webdoc/AVRLibcReferenceManual/group__avr__stdlib.html
and
http://www.cplusplus.com/reference/cstdlib/

igrr added a commit that referenced this issue Apr 26, 2015
* esp8266: (21 commits)
  HardwareSerial: add other configs than 8N1
  Delete jre-8u31.zip.sha
  Fix Windows build
  Add boot loader compatible speed of 74880 to serial.
  update SDK to esp_iot_sdk_v1.0.1_15_04_24
  include stdlib_noniso.h in Arduino.h see #110
  strnlen implementation
  missing strn program space wrappers
  uart_interrupt_handler is now in ram
  move libm to flash (.irom0.text) saves 3544 Byte in ram see #104
  Revert c_types.h
  fix bug #98
  add INPUT_PULLDOWN support
  add prototypes for ets_vsnprintf and ets_vprintf fix some compiler warnings
  update SDK to 1.0.1_b2_15_04_10 + SSL Patch
  update SDK to 1.0.1_b1_15_04_02
  add files to ignore (use hardlink) to get git hardware in arduino dir
  Add method to configure softAP IP address
  test for #86
  add to ESP class: getChipId getSDKversion getBootVersion getBootMode getCPUfreqMHz
  ...
@igrr
Copy link
Member

igrr commented Apr 26, 2015

fixed in 6a7d94a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants