EnviroDIY / Arduino-SDI-12

An Arduino library for SDI-12 communication with a wide variety of environmental sensors. This library provides a general software solution, without requiring any additional hardware.
https://github.com/EnviroDIY/Arduino-SDI-12/wiki
BSD 3-Clause "New" or "Revised" License
158 stars 100 forks source link

ESP32- Core panic when using in conjunction with the "preferences" library. #79

Open peterj43 opened 3 years ago

peterj43 commented 3 years ago

I found I get the following error in the SDI12 receive interrupt:- "esp32 guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)" This only occurs when trying to write data to the Preferences NVM. I have solution to the issue which requires that the receive interrupt and any function call by the receive interrupt be located in the ESP32/8266 instruction RAM (IRAM)

SRGDamia1 commented 3 years ago

If you have the solution, would you share it?