diff --git a/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/apps/examples/e22_demo/Kconfig b/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/apps/examples/e22_demo/Kconfig index 289340830..069a9fe97 100644 --- a/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/apps/examples/e22_demo/Kconfig +++ b/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/apps/examples/e22_demo/Kconfig @@ -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 diff --git a/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/apps/examples/e22_demo/e22_main.c b/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/apps/examples/e22_demo/e22_main.c index 5d34a81b8..131f3f058 100644 --- a/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/apps/examples/e22_demo/e22_main.c +++ b/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/apps/examples/e22_demo/e22_main.c @@ -24,12 +24,10 @@ #include #include -#include #include #include #include #include - #include int main(int argc, FAR char *argv[]) diff --git a/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/nuttx/boards/arm/stm32/stm32f4discovery/configs/nsh/defconfig b/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/nuttx/boards/arm/stm32/stm32f4discovery/configs/nsh/defconfig index 64c6404c0..cd7a8a784 100644 --- a/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/nuttx/boards/arm/stm32/stm32f4discovery/configs/nsh/defconfig +++ b/Ubiquitous/Nuttx_Fusion_XiUOS/app_match_nuttx/nuttx/boards/arm/stm32/stm32f4discovery/configs/nsh/defconfig @@ -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