Skip to content

Conversation

matthias-bs
Copy link

With ESP8266 Board support package V3.0.0 an exception is issued whenever an interrupt occurs:

[...]
connected...yeey :)
HTTP server started
local ip:
192.168.156.166
*WM: freeing allocated params!
pm open,type:2 0
handleReceive()
ISR not in IRAM!

User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Abort called

>>>stack>>>
[...]

This is not specific to RFControl. I found a hint to fix the issue as follows:
Change

void handleInterrupt() {

to

void ICACHE_RAM_ATTR handleInterrupt() {

and added some C pre-processing to leave the code untouched for non ESP8266 targets.

With ESP8266 Arduino noard support package V3.0.0 an exception is issued whenever an interrupt occurs:

[...]
connected...yeey :)
HTTP server started
local ip:
192.168.156.166
*WM: freeing allocated params!
pm open,type:2 0
handleReceive()
ISR not in IRAM!

User exception (panic/abort/assert)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Abort called

>>>stack>>>
[...]
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

Successfully merging this pull request may close these issues.

1 participant