mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 17:21:35 +08:00
create jlink gdb upload script and use in Jenkins Hardware pipeline
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#! /bin/sh
|
||||
|
||||
gdb-multiarch -nx -batch \
|
||||
-ex "target remote localhost:2331" \
|
||||
-ex "monitor reset 0" \
|
||||
-ex "load" \
|
||||
-ex "compare-sections" \
|
||||
-ex "monitor reset 0" \
|
||||
-ex "monitor sleep 1000" \
|
||||
-ex "monitor go" \
|
||||
-ex "kill" \
|
||||
${1}
|
||||
Reference in New Issue
Block a user