-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Compilation issues with ESP8266 #109
Comments
Too less information.. Share compiler version and those those error/warnings with us. |
@lcltech Please post your errors otherwise we can do very little to help. But since you mentioned ESP8266 I have a hunch this may be caused by lack of Arduino specific types like |
The Arduino IDE is a modified version 1.6.1. due to some reset issues with ESP8266. C:\Program Files (x86)\Arduino\libraries\rfid-5c67ee3ac33c953750ef8a4f26f6a3a37dd779e8\MFRC522.cpp:1721:44: error: call of overloaded 'println(char* const_)' is ambiguous |
So all those compile errors happen with master but everything compiles ok with this older branch https://github.com/miguelbalboa/rfid/tree/revert-76-master ? |
Yes, revert-76 compiles. |
Ok, I'll remove my branch. Thanks ! |
@lcltech The compilation issues do not seem to be related to my STM32 fixes, and given that it works ok on revert-76 branch that makes me suspect moving strings to flash may have something to do with it (maybe @Rotzbua could help here). I believe the title of the issue should be updated to something like 'Compilation issues with ESP8266'. |
Yes, it seems to bee a problem with the flash. The readme of esp8266 ide version says that there is a support of F("") macro (https://github.com/esp8266/Arduino#progmem). |
Sorry, I can't reproduce your errors. I tried several examples. |
Removing the FlashStringHelper did the trick, now it compiles. |
Cheers @lcltech! No harm done, you don't need to apologize. |
Well, now it gets a bit strange. I have installed the new 1.6.5 and the rfid master lib. compile error, damn! I will take the issue up here instead: |
The current version gives at lot compile errors/ warnings when using it with the ESP8266. The reveret-76 works fine.
The text was updated successfully, but these errors were encountered: