fix device-install.bat about star usage

pull/805/head
michelepagot 2021-05-23 02:33:15 +02:00
rodzic b16004dcdf
commit 0206e65152
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -30,7 +30,9 @@ IF EXIST %FILENAME% (
echo Trying to flash update %FILENAME%, but first erasing and writing system information"
%PYTHON% -m esptool --baud 921600 erase_flash
%PYTHON% -m esptool --baud 921600 write_flash 0x1000 system-info.bin
%PYTHON% -m esptool --baud 921600 write_flash 0x00390000 spiffs-*.bin
for %%f in (spiffs-*.bin) do (
%PYTHON% -m esptool --baud 921600 write_flash 0x00390000 %%f
)
%PYTHON% -m esptool --baud 921600 write_flash 0x10000 %FILENAME%
) else (
echo "Invalid file: %FILENAME%"