summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp32/tutorial
diff options
context:
space:
mode:
authorTrent Piepho <tpiepho@gmail.com>2024-03-02 01:10:20 -0800
committerDamien George <damien@micropython.org>2024-03-08 15:54:44 +1100
commit9fc450689b7505a44460bd6cc3a25961e1e4306e (patch)
tree34ad4b079db774c387f2387c236bbe70fec801e4 /docs/esp32/tutorial
parent27279e69b4d74b255bd8d8c5dd6668c97c942776 (diff)
downloadmicropython-9fc450689b7505a44460bd6cc3a25961e1e4306e.tar.gz
micropython-9fc450689b7505a44460bd6cc3a25961e1e4306e.zip
esp32/mpconfigport: Don't hang when machine.bootloader isn't supported.
Currently only the Arduino Nano ESP32 defines a machine.bootloader handler for ESP32. All other boards will intentionally hang. There is no error message, nor is a NotImplementedError raised. There's no indication if Micropython has crashed, or if the bootloader was entered but USB is not working, which is a real problem the ESP32 bootloader has. It's not possible escape from this hang with ^C or any other means besides physical access to the reset pin or the ability to cycle power. Change this to only define an implementation of machine.bootloader() when there is a handler for it. Signed-off-by: Trent Piepho <tpiepho@gmail.com>
Diffstat (limited to 'docs/esp32/tutorial')
0 files changed, 0 insertions, 0 deletions