sforkowany z mirror/meshtastic-firmware
Removed ota erasure
rodzic
05df849a6d
commit
bbd7c5063d
|
@ -29,11 +29,9 @@ IF "__%FILENAME%__" == "____" (
|
|||
IF EXIST %FILENAME% (
|
||||
echo Trying to flash update %FILENAME%
|
||||
%PYTHON% -m esptool --baud 115200 write_flash 0x10000 %FILENAME%
|
||||
echo Erasing the otadata partition, which will turn off flash flippy-flop and force the first image to be used
|
||||
%PYTHON% -m esptool --baud 115200 erase_region 0xe000 0x2000
|
||||
) else (
|
||||
echo "Invalid file: %FILENAME%"
|
||||
goto HELP
|
||||
)
|
||||
|
||||
:EOF
|
||||
:EOF
|
||||
|
|
Ładowanie…
Reference in New Issue