This commit is contained in:
pvvx 2017-01-31 06:46:49 +03:00
parent 898fa8329e
commit ad23e91b43
9 changed files with 48 additions and 2 deletions

View file

@ -1,8 +1,11 @@
@echo off
PATH=D:\MCU\GNU_Tools_ARM_Embedded\5.2_2015q4\bin;D:\MCU\SEGGER\JLink_V610a;%PATH%
@if not %1x==x goto xxx
set img_file=build/bin/ram_all.bin
@if %1x==x goto xxx
set img_file=%1
goto run
:xxx
set img_file=build/bin/ram_all.bin
:run
echo define call1>flasher/flash_file.jlink
echo SetFirwareSize %img_file%>>flasher/flash_file.jlink
echo end>>flasher/flash_file.jlink