gpio_hold_en persists over esp_restart()
Posted: Fri Jun 14, 2019 11:21 am
Reviewing earlier threads, it seemed that esp_restart() also now resets the hardware, but if I go to light sleep with pad holds and then restart, peripherals using these pins (eg LED and CAN bus) are not able to work. Unless I gpio_hold_dis() before esp_restart(). Or of course if I power cycle.
I don't mind doing this, but the esp_restart() is a lazy way to ensure everything is properly reset and cleared out, and it makes me wonder if there are other things I need to do to before esp_restart() to have a restart like a power cycle.
esp-idf 3.3 beta 2
I don't mind doing this, but the esp_restart() is a lazy way to ensure everything is properly reset and cleared out, and it makes me wonder if there are other things I need to do to before esp_restart() to have a restart like a power cycle.
esp-idf 3.3 beta 2