SBUS2-Telemetry
SBUS2-Telemetry copied to clipboard
[ESP32] ISR IRAM_ATTR Flash Issue
There is a Bug for using ESP32 with this SBUS2 Library and write/read internal Flash
If ESP32 does a Flash read/write and a Interrupt occure (For Example receiving SBUS(2) or transmit Telemetry) the ESP32 crashes. This is a known Bug, but i never thought about.
All SBUS(2) ISR (and it's called functions) have to run in IRAM
i will do some test and upload the fixed Bug. Maybe it related to Issue #21 there where also mysterious Crash while using I2C
i have to test every piece of the Library to make it run in IRAM
So i will do a complete new code.
- UART Interrupt -> Running in IRAM
- Timer Interrupt -> Running in IRAM
i did some work on this Topic
i could get the Interrupts running in IRAM but #33 needs some changes which would not work with IRAM
So i'am not sure which issue has more priority I have to do some more work on that Topic