-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
IR lib FlashString handling #2502
Comments
The constructor is delcared
|
On further inspection, the FlashString library can handle all this more easily. See https://github.com/mikee47/IRremoteESP8266/tree/sming. Builds but not tested. |
@mikee47 thanks. Do I understand properly that The library heavily uses *Str like the above mentioned Just saw your commit. I'll test in the afternoon. |
IR receive works just fine. I can solder second board to check IR send. |
Assuming resolved |
This is not Sming issue, but something that I can't figure out. I'm trying to port the latest IR lib to Sming and I stuck with IR's FlashStrings not built with Sming.
First let me show the compiler error:
The variable
kPowerStr
is defined inIRtext.cpp
. I'm posting the macros:and
Then Eclipse evaluated the macro to:
where PROGMEM is(?)
__attribute__((aligned(4)))
(Looking in the header files I thing it should be something longer...?I don't know how
const char* const
went toconst __FlashStringHelper* const
. I'm reading https://sming.readthedocs.io/en/latest/framework/core/pgmspace.html w/o luck.The text was updated successfully, but these errors were encountered: