diff --git a/os/flash.sh b/os/flash.sh index 1dfde8a..552208d 100755 --- a/os/flash.sh +++ b/os/flash.sh @@ -33,5 +33,4 @@ if [ $? -ne 0 ]; then fi echo "Flashing the new" #./esptool.py --port /dev/$DEVICE $BAUD write_flash -fm dio 0x00000 nodemcu2.bin -# 0x3fc000 esp_init_data_default_v08.bin 0x07e000 blank.bin 0x3fe000 blank.bin -./esptool.py --port /dev/$DEVICE $BAUD write_flash 0x00000 0x00000.bin 0x10000 0x10000.bin +./esptool.py --port /dev/$DEVICE $BAUD write_flash -fm dio 0x00000 0x00000.bin 0x10000 0x10000.bin 0x3fc000 esp_init_data_default.bin 0x07e000 blank.bin 0x3fe000 blank.bin