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:
parent
c753090e27
commit
b5039dd7c2
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user