lv_micropython/scripts/erase-flash-esp32.sh
2025-03-15 13:46:23 +01:00

14 lines
237 B
Bash
Executable File

#!/bin/bash
# Erase the flash memory of the ESP32 board
source env-variables-micropython.sh
source env-variables-esp32.sh
source menu-esp32.sh
if [ -z "$BOARD" ]; then
exit 1
fi
cd $MICROPYTHON/ports/esp32
make erase BOARD=$BOARD