This commit is contained in:
Thomas Farstrike
2026-01-15 11:39:36 +01:00
+2 -1
View File
@@ -9,5 +9,6 @@ ls -al $fwfile
echo "Add --erase-all if needed"
sleep 5
# This needs python and the esptool
~/.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 $@
python=$(ls -tr ~/.espressif/python_env/*/bin/python|tail -1)
$python -m esptool --chip esp32s3 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_size 16MB --flash_freq 80m 0 $fwfile $@