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

ESP8266 build, PSTR redefined #382

Closed
ShuffleBit opened this issue Sep 6, 2017 · 1 comment
Closed

ESP8266 build, PSTR redefined #382

ShuffleBit opened this issue Sep 6, 2017 · 1 comment

Comments

@ShuffleBit
Copy link

This was closed in #1015, but it was closed on an assumption that it was fixed.

RF24 version: 9/6/'17 clone of the master
Board: ESP8266 (WeMos D1 Mini), 2.4.0 ESP Arduino core
Arduino 1.8 IDE

Problem: PSTR redefined errors that propagate as routines try to call .printf methods.

Try building for an ESP8266, since it seems to work for the Atmels. And yeah, it's probably not your code that's at fault, but ESP is mighty popular these days. A quick google of 'ESP PSTR' will verify.

I have not tried it via PlatformIO yet, but there appears to be a workaround over there. I wish I liked Atom... Maybe I'll look at reimplementing PlatformIO with C-Lion, just to muddy the waters that much more.

And, thanks a bazillion for the libraries. Your beer is in my fridge.

@Avamander
Copy link
Member

PSTR was previously not implemented by the ESP8266 people, that's why it was overridden to make things compile, it should be fixed with #375.

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

No branches or pull requests

2 participants