mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-07-09 04:35:39 +00:00
update
This commit is contained in:
parent
34d3652711
commit
39f77eb92b
1844 changed files with 899433 additions and 7 deletions
15
USDK/flasher/add_sample_bat/JLinkGDB_OTA.bat
Normal file
15
USDK/flasher/add_sample_bat/JLinkGDB_OTA.bat
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue