diff --git a/bin/program-1.0-tbeam.sh b/bin/program-1.0-tbeam.sh new file mode 100755 index 000000000..b2b37756b --- /dev/null +++ b/bin/program-1.0-tbeam.sh @@ -0,0 +1,3 @@ +esptool.py --baud 921600 write_flash 0x10000 release/archive/old/firmware-tbeam-EU865-1.0.0.bin +echo "Erasing the otadata partition, which will turn off flash flippy-flop and force the first image to be used" +esptool.py --baud 921600 erase_region 0xe000 0x2000 diff --git a/bin/program-1.1-tbeam.sh b/bin/program-1.1-tbeam.sh index 9b95c3380..98ba5c682 100755 --- a/bin/program-1.1-tbeam.sh +++ b/bin/program-1.1-tbeam.sh @@ -1 +1 @@ -esptool.py --baud 921600 write_flash 0x10000 release/archive/firmware-tbeam-1.1.50.bin +esptool.py --baud 921600 write_flash 0x10000 release/archive/old/firmware-tbeam-1.1.50.bin