mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
fix device-install.bat about star usage
This commit is contained in:
parent
b16004dcdf
commit
0206e65152
@ -30,7 +30,9 @@ IF EXIST %FILENAME% (
|
|||||||
echo Trying to flash update %FILENAME%, but first erasing and writing system information"
|
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 erase_flash
|
||||||
%PYTHON% -m esptool --baud 921600 write_flash 0x1000 system-info.bin
|
%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%
|
%PYTHON% -m esptool --baud 921600 write_flash 0x10000 %FILENAME%
|
||||||
) else (
|
) else (
|
||||||
echo "Invalid file: %FILENAME%"
|
echo "Invalid file: %FILENAME%"
|
||||||
|
Loading…
Reference in New Issue
Block a user