forked from xuos/xiuos
set CONFIG_SERIAL_TERMIOS=y on nsh/defconfig
This commit is contained in:
parent
fb2dd71136
commit
a39b8907e9
|
@ -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
|
||||
|
||||
|
|
|
@ -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[])
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue