You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used this library many times with the ESP2866 with excellent results. I recently ported a project to the ESP32. It worked about 90% of the time, but occasionally it would crash with:"Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)". I also use preferences.h to store data in NV ram. The crash was caused by an interrupt from the touch screen while preferences was saving data to NV ram. I added IRAM_ATTR to the interrupt service routine in the .cpp file in the touch library.
Changed:
void isrPin( void )
to:
void IRAM_ATTR isrPin( void )
and the touch library is now 100% reliable on the ESP32.
The development environment is Arduino IDE 1.8.2
touch library version 1.20
The text was updated successfully, but these errors were encountered:
I have used this library many times with the ESP2866 with excellent results. I recently ported a project to the ESP32. It worked about 90% of the time, but occasionally it would crash with:"Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)". I also use preferences.h to store data in NV ram. The crash was caused by an interrupt from the touch screen while preferences was saving data to NV ram. I added IRAM_ATTR to the interrupt service routine in the .cpp file in the touch library.
Changed:
void isrPin( void )
to:
void IRAM_ATTR isrPin( void )
and the touch library is now 100% reliable on the ESP32.
The development environment is Arduino IDE 1.8.2
touch library version 1.20
The text was updated successfully, but these errors were encountered: