Problem with esp_reset_reason()
Posted: Sat Feb 08, 2025 3:40 pm
Hi, i try to get esp_reset_reason(void) on ESP32S3.
the problem is when I run the command esp_restart() or ESP.restart(), I always get response "POWERON_RESET" instead of "SW_RESET". No matter it's a real board or a Wokwi simulator
I try attach #include "esp_system.h", but this didn't change anything.
Any suggestion.......
the problem is when I run the command esp_restart() or ESP.restart(), I always get response "POWERON_RESET" instead of "SW_RESET". No matter it's a real board or a Wokwi simulator
I try attach #include "esp_system.h", but this didn't change anything.
Any suggestion.......