cpq / mdk

A bare metal SDK for the ESP32 & ESP32C3
MIT License
199 stars 26 forks source link

Include system reset function #19

Closed j0hax closed 2 months ago

j0hax commented 4 months ago

I added a quick function to reboot the system by setting RTC_CNTL_SW_SYS_RST (bit 31) to true of RTC_CNTL_OPTIONS0_REG (0th register of C3_RTCCNTL)