This commit is contained in:
pvvx 2017-02-02 10:07:51 +03:00
parent afcadda20e
commit 8ff9a74fce
3 changed files with 393 additions and 0 deletions

15
JLinkGDB_OTA.bat Normal file
View file

@ -0,0 +1,15 @@
@echo off
call paths.bat
@if exist build\bin\ota.bin goto run
echo File 'build\obj\ota.bin' not found!
echo Build project...
mingw32-make.exe -f Makefile all
@if not exist build\bin\ota.bin goto err
:run
start start JLinkGDBServer.exe -device Cortex-M3 -if SWD -ir -endian little -speed 1000
arm-none-eabi-gdb.exe -x flasher/gdb_ota.jlink
taskkill /F /IM JLinkGDBServer.exe
goto end
:err
echo Error!
:end