Software reboot for Xiao ESP32C3

Hi All,

Is there a way to get the Xiao ESP32C3 to force a reboot using software? sys_reboot() is not implemented for ESP32 devices. I have found the function esp_restart() but I can’t get it to build. Anyway, it looks like just a soft reboot.

I am trying to build a project with Zephyr and I keep running into memory leaks that paralyse the Bluetooth functionality. I need something to hard reboot the ESP32C3. I already have some devices in the field so a hardware solution is not useful.

Thanks in advance.

Rob

Hi there,

And Welcome Here…

So go the timer Deep sleep Wake-up (it’s a reset) route IMO :+1:
I would try that, I believe others have had some success as a work around from the lack of a system_off

HTH
GL :slight_smile: PJ :v:

Thanks for he reply. I was able to get esp_restart() working. That fixes the memory leak problem.

1 Like