Files
MicroPythonOS/scripts/flash_over_usb.sh
T

10 lines
417 B
Bash
Raw Normal View History

2025-10-27 21:30:09 +01:00
mydir=$(readlink -f "$0")
mydir=$(dirname "$mydir")
fwfile="$mydir/../lvgl_micropython/build/lvgl_micropy_ESP32_GENERIC_S3-SPIRAM_OCT-16.bin"
2025-05-01 15:44:12 +02:00
ls -al $fwfile
2025-05-13 12:48:36 +02:00
echo "Add --erase-all if needed"
2025-06-05 00:02:16 +02:00
sleep 5
2025-10-09 19:49:53 +02:00
# This needs python and the esptool
2025-11-07 13:50:42 +01:00
~/.espressif/python_env/*/bin/python -m esptool --chip esp32s3 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 16MB --flash_freq 80m 0 $fwfile $1
2025-04-30 13:50:04 +02:00