lv_micropython/scripts/erase-flash-esp32.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
237 B
Bash
Raw Normal View History

2025-03-15 13:46:23 +01:00
#!/bin/bash
# Erase the flash memory of the ESP32 board
source env-variables-micropython.sh
source env-variables-esp32.sh
2025-03-15 13:46:23 +01:00
source menu-esp32.sh
if [ -z "$BOARD" ]; then
exit 1
fi
cd $MICROPYTHON/ports/esp32
make erase BOARD=$BOARD