-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Crash when sending PROGMEM char array. #6109
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
Comments
Maybe related to this PR? #6101 |
No, that PR will give compile-time errors, and no runtime (since no binaries would be generated). |
3.0pre had a SW fixup routine to handle unaligned progmem accesses. That's not present on the 2.2x, so you need to use 3.0pre also had the nasty habit of randomly freezing inside the binary blobs and running significantly slower than earlier blob releases, so it was dropped and we rolled back to 2.x. |
I am seeing this same exception when using PROGMEM variables in 2.5.2 core. The 2.5.0 core seems to work fine with the code however. Is there any updates on this issue? |
There is so far no issue as @earlephilhower states above. |
Got, it. Converted to use P function for reading PROGMEM -- working now. Thanks. |
Closing since there isn't much we can do on our side. |
Surely this should cause a compile time error though? The app will compile and crash at runtime, allowing an instance of this to be hidden deep in the code somewhere. Not good. |
Basic Infos
Platform
Settings in IDE
Problem Description
When running the sketch below and using nonos-sdk 2.2.1 or 2.2.2, the sketch crashes. It works fine with nonos-sdk pre 3. I confirmed this on another computer with a fresh install of Arduino. It works when the char[] is not in PROGMEM.
MCVE Sketch
Debug Messages
The text was updated successfully, but these errors were encountered: