rst:0x3 (rtc_sw_sys_rst)表示设备的复位原因是系统复位(RTC_SW_SYS_RST),这是由RTC(实时时钟)模块触发的系统级软件复位。这种复位通常是由软件内部逻辑或异常处理代码触发的,用于在需要时重置整个系统状态。 解释boot:0xc (spi_fast_flash_boot)的含义: boot:0xc (spi_fast_flash_b
I think this behavior is as expected, if you check withesp_reset_reason()you should see that IDF indeed reports the reason asESP_RST_SW. The C3 ROM-code reset reasons doesnt actually have aSW_CPU_RESET,esp_restart()will have the ROM-code reset reason of eitherRTC_SW_CPU_RESEToris acti...