Skip to content

Way to test 'newlib' on Arduino IDE for ESP8266 #3120

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

Closed
electronicsguy opened this issue Apr 6, 2017 · 3 comments
Closed

Way to test 'newlib' on Arduino IDE for ESP8266 #3120

electronicsguy opened this issue Apr 6, 2017 · 3 comments

Comments

@electronicsguy
Copy link

electronicsguy commented Apr 6, 2017

Hello,
As mentioned here: newlib, the libc for newlib was merged sometime back in 2016. However, I am unable to use "test_newlib" located here: test_newlib.

It still gives me the error:

C:\...\AppData\Local\Temp\arduino_build_956035\sketch\test_newlib.ino.cpp.o: In function `TEST_FUNC__27':

C:\...\test_newlib/test_newlib.ino:30: undefined reference to `sscanf'

How do we use the newlib and in particular sscanf() within Arduino IDE for esp8266?

@bebo-dot-dev
Copy link

d7d98d0 was committed just after the last official 2.3 release. If you want this you'll need to use git code.

@devyte
Copy link
Collaborator

devyte commented Sep 7, 2017

@electronicsguy were you able to use sscanf with latest git?

@HarmOtten
Copy link

I tested sscanf with v2.4.0-rc2 and it works.
Thanks a lot!

@devyte devyte closed this as completed Dec 5, 2017
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

4 participants