mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 10:53:34 +08:00
Merge branch 'ioctl' into hott
This commit is contained in:
@@ -226,6 +226,8 @@ CONFIG_AT24XX_MTD_BLOCKSIZE=256
|
||||
# CONFIG_SERIAL_CONSOLE_REINIT - re-initializes the console serial port
|
||||
# immediately after creating the /dev/console device. This is required
|
||||
# if the console serial port has RX DMA enabled.
|
||||
# CONFIG_STM32_USART_SINGLEWIRE - Serial driver supports single wire mode. If
|
||||
# this is not defined, then this mode cannot be enabled.
|
||||
#
|
||||
# CONFIG_USARTn_SERIAL_CONSOLE - selects the USARTn for the
|
||||
# console and ttys0 (default is the USART1).
|
||||
@@ -240,6 +242,7 @@ CONFIG_AT24XX_MTD_BLOCKSIZE=256
|
||||
#
|
||||
CONFIG_SERIAL_TERMIOS=y
|
||||
CONFIG_SERIAL_CONSOLE_REINIT=y
|
||||
CONFIG_STM32_USART_SINGLEWIRE=y
|
||||
|
||||
CONFIG_USART1_SERIAL_CONSOLE=y
|
||||
CONFIG_USART2_SERIAL_CONSOLE=n
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
#define TIOCSSINGLEWIRE _TIOC(0x002c) /* Set single-wire mode */
|
||||
#define TIOCGSINGLEWIRE _TIOC(0x002d) /* Get single-wire mode */
|
||||
|
||||
# define SER_SINGLEWIRE_ENABLED (1 << 0) /* Enable/disable single-wire support */
|
||||
# define SER_SINGLEWIRE_ENABLED (1 << 0) /* Enable/disble single-wire support */
|
||||
|
||||
/* Debugging */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user