mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 02:13:33 +08:00
serial drivers/modules: add yaml config files
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
module_name: GPS
|
||||
serial_config:
|
||||
# secondary gps must be first
|
||||
- command: set DUAL_GPS_ARGS "-e ${SERIAL_DEV} -g p:${BAUD_PARAM}"
|
||||
port_config_param:
|
||||
name: GPS_2_CONFIG
|
||||
group: GPS
|
||||
label: Secondary GPS
|
||||
|
||||
- command: gps start -d ${SERIAL_DEV} -b p:${BAUD_PARAM} ${DUAL_GPS_ARGS}
|
||||
port_config_param:
|
||||
name: GPS_1_CONFIG
|
||||
group: GPS
|
||||
default: GPS1
|
||||
label: Main GPS
|
||||
|
||||
Reference in New Issue
Block a user