mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-04 21:23:57 +08:00
Jenkins hardware testing update to new configuration
- the Jenkins slave now has the gdb server already started in the background
This commit is contained in:
@@ -40,7 +40,7 @@ pipeline {
|
|||||||
|
|
||||||
stage('px4fmu-v4_default') {
|
stage('px4fmu-v4_default') {
|
||||||
agent {
|
agent {
|
||||||
label 'px4fmu-v4'
|
label 'px4_fmu-v4'
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
@@ -49,8 +49,7 @@ pipeline {
|
|||||||
sh 'find /dev/serial'
|
sh 'find /dev/serial'
|
||||||
unstash 'scripts-px4_fmu-v4_default'
|
unstash 'scripts-px4_fmu-v4_default'
|
||||||
unstash 'px4_fmu-v4_default'
|
unstash 'px4_fmu-v4_default'
|
||||||
sh ''' JLinkGDBServerCLExe -device STM32F427VI -endian little -if SWD -speed auto -noir -LocalhostOnly -silent & \
|
sh ''' gdb-multiarch -nx --batch \
|
||||||
gdb-multiarch -nx --batch \
|
|
||||||
-ex "target remote localhost:2331" \
|
-ex "target remote localhost:2331" \
|
||||||
-ex "monitor reset 0" \
|
-ex "monitor reset 0" \
|
||||||
-ex "load" \
|
-ex "load" \
|
||||||
|
|||||||
Reference in New Issue
Block a user