chrone: build: добавить параметр -erasemode full в скрипты прошивки bootloader_hex

Изменены Windows .bat скрипты (bootloader_hex/master.bat, bootloader_hex/slave.bat): при запуске FLASH_TOOL теперь используется опция -erasemode full перед -erase и оригинальная команда оставлена закомментированной.
This commit is contained in:
@agz 2026-06-10 14:50:43 +05:00
parent c753090e27
commit b5039dd7c2
2 changed files with 6 additions and 2 deletions

View File

@ -56,7 +56,9 @@ REM ======================================================================
echo %YELLOW%Starting flash...%RESET%
echo.
"%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erase -upload "%HEX_FILE%"
"%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erasemode full -erase -upload "%HEX_FILE%"
REM "%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erase -upload "%HEX_FILE%"
set "ERR=%ERRORLEVEL%"
echo.

View File

@ -56,7 +56,9 @@ REM ======================================================================
echo %YELLOW%Starting flash...%RESET%
echo.
"%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erase -upload "%HEX_FILE%"
"%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erasemode full -erase -upload "%HEX_FILE%"
REM "%FLASH_TOOL%" -sn %SERIAL% -tif c2 -erase -upload "%HEX_FILE%"
set "ERR=%ERRORLEVEL%"
echo.