gnss-m9n-f4:Add serial_passthru

This commit is contained in:
David Sidrane 2022-02-01 12:00:17 -08:00 committed by Daniel Agar
parent 3fecf8a23c
commit ec441fdba6
3 changed files with 25 additions and 0 deletions

View File

@ -14,6 +14,7 @@ CONFIG_SYSTEMCMDS_I2CDETECT=y
CONFIG_SYSTEMCMDS_NSHTERM=y
CONFIG_SYSTEMCMDS_PARAM=y
CONFIG_SYSTEMCMDS_REBOOT=y
CONFIG_SYSTEMCMDS_SERIAL_PASSTHRU=y
CONFIG_SYSTEMCMDS_TOP=y
CONFIG_SYSTEMCMDS_TOPIC_LISTENER=y
CONFIG_SYSTEMCMDS_UORB=y

View File

@ -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

View File

@ -128,6 +128,7 @@ CONFIG_SCHED_LPWORKSTACKSIZE=1632
CONFIG_SCHED_WAITPID=y
CONFIG_SEM_NNESTPRIO=8
CONFIG_SEM_PREALLOCHOLDERS=0
CONFIG_SERIAL_PASSTHRU_UBLOX=y
CONFIG_SERIAL_TERMIOS=y
CONFIG_SIG_DEFAULT=y
CONFIG_SIG_SIGALRM_ACTION=y