mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 11:01:35 +08:00
gnss-m9n-f4:Add serial_passthru
This commit is contained in:
committed by
Daniel Agar
parent
3fecf8a23c
commit
ec441fdba6
@@ -14,6 +14,7 @@ CONFIG_SYSTEMCMDS_I2CDETECT=y
|
|||||||
CONFIG_SYSTEMCMDS_NSHTERM=y
|
CONFIG_SYSTEMCMDS_NSHTERM=y
|
||||||
CONFIG_SYSTEMCMDS_PARAM=y
|
CONFIG_SYSTEMCMDS_PARAM=y
|
||||||
CONFIG_SYSTEMCMDS_REBOOT=y
|
CONFIG_SYSTEMCMDS_REBOOT=y
|
||||||
|
CONFIG_SYSTEMCMDS_SERIAL_PASSTHRU=y
|
||||||
CONFIG_SYSTEMCMDS_TOP=y
|
CONFIG_SYSTEMCMDS_TOP=y
|
||||||
CONFIG_SYSTEMCMDS_TOPIC_LISTENER=y
|
CONFIG_SYSTEMCMDS_TOPIC_LISTENER=y
|
||||||
CONFIG_SYSTEMCMDS_UORB=y
|
CONFIG_SYSTEMCMDS_UORB=y
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
menu "SERIAL_PASSTHRU Configuration"
|
||||||
|
config SERIAL_PASSTHRU_UBLOX
|
||||||
|
bool "Detect and Auto Connect on U-Center messages"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
This option will enable the cdc_acm_check to launch
|
||||||
|
The passthru driver.
|
||||||
|
|
||||||
|
config SERIAL_PASSTHRU_UBLOX_DEV
|
||||||
|
string "Device path of the GPS"
|
||||||
|
depends on SERIAL_PASSTHRU_UBLOX
|
||||||
|
default "/dev/ttyS2"
|
||||||
|
---help---
|
||||||
|
This is the path of the device used as the right side
|
||||||
|
of the passthru.
|
||||||
|
|
||||||
|
config SERIAL_PASSTHRU_UBLOX_BAUDRATE
|
||||||
|
string "baudrate"
|
||||||
|
depends on SERIAL_PASSTHRU_UBLOX
|
||||||
|
default "115200"
|
||||||
|
---help---
|
||||||
|
This option sets the baudrate for the passthru.
|
||||||
|
endmenu
|
||||||
@@ -128,6 +128,7 @@ CONFIG_SCHED_LPWORKSTACKSIZE=1632
|
|||||||
CONFIG_SCHED_WAITPID=y
|
CONFIG_SCHED_WAITPID=y
|
||||||
CONFIG_SEM_NNESTPRIO=8
|
CONFIG_SEM_NNESTPRIO=8
|
||||||
CONFIG_SEM_PREALLOCHOLDERS=0
|
CONFIG_SEM_PREALLOCHOLDERS=0
|
||||||
|
CONFIG_SERIAL_PASSTHRU_UBLOX=y
|
||||||
CONFIG_SERIAL_TERMIOS=y
|
CONFIG_SERIAL_TERMIOS=y
|
||||||
CONFIG_SIG_DEFAULT=y
|
CONFIG_SIG_DEFAULT=y
|
||||||
CONFIG_SIG_SIGALRM_ACTION=y
|
CONFIG_SIG_SIGALRM_ACTION=y
|
||||||
|
|||||||
Reference in New Issue
Block a user