Search found 1 match
- Fri Oct 16, 2020 1:02 pm
- Forum: ESP32 Arduino
- Topic: SPIFFS and Timer intterupt will crash ESP32
- Replies: 3
- Views: 7096
Re: SPIFFS and Timer intterupt will crash ESP32
here is a simple example of an isr that crashed when used with Spiffs but is now fixed by adding DRAM_ATTR. It is a 6 channel PPM generator. void inline onTimer(void) { DRAM_ATTR static int laststate = 1; static int ch = 0; static int thstep = 1; digitalWrite(sigPin,laststate); portENTER_CRITICAL_IS...