set CONFIG_SERIAL_TERMIOS=y on nsh/defconfig

This commit is contained in:
wgzAIIT 2022-05-20 15:13:24 +08:00
parent fb2dd71136
commit a39b8907e9
3 changed files with 1 additions and 3 deletions

View File

@ -7,7 +7,6 @@ config EXAMPLES_E22
tristate "E22 driver example"
default n
depends on STM32_USART3
select SERIAL_TERMIOS
---help---
Enable the e22 driver example

View File

@ -24,12 +24,10 @@
#include <nuttx/config.h>
#include <sys/ioctl.h>
#include <nuttx/config.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <termios.h>
#include <nuttx/ioexpander/gpio.h>
int main(int argc, FAR char *argv[])

View File

@ -48,6 +48,7 @@ CONFIG_STM32_PWR=y
CONFIG_STM32_SPI1=y
CONFIG_STM32_USART2=y
CONFIG_STM32_USART3=y
CONFIG_SERIAL_TERMIOS=y
CONFIG_SYSTEM_NSH=y
CONFIG_USART2_RXBUFSIZE=128
CONFIG_USART2_SERIAL_CONSOLE=y