Change partition size

[EDIT 1] If using Arduino IDE go to my post ‘Change partition size (Arduino IDE)‘ which is focused on Arduino IDE and might be less confusing than this here (which is mixing ArduinoIDE and PlatformIO). [EDIT 2] If using PlatformIO (on Atom or Visual Code) there is now as well another post ‘Change partition size (PlatformIO)‘ that is focused on changes required for PlatformIO .   To change the partition sizes, e.g. because the program doesn’t fit anymore into the

Read more

Change global variables from ISR

If a global variable is changed from within a ISR a Guru Meditation Error: Core 1 panic’ed (Cache disabled but cached memory region accessed) can be triggered causing the application to fail and force the ESP32 to reboot. The proper programming is to declare the variable as static volatile and to mark the ISR code with the compiler flag IRAM_ATTR

Read more
Free Link Directory