diff --git a/configs/stm32f429i-disco/README.txt b/configs/stm32f429i-disco/README.txt index c2d03508b3..32fbd97edb 100644 --- a/configs/stm32f429i-disco/README.txt +++ b/configs/stm32f429i-disco/README.txt @@ -25,7 +25,7 @@ NOTE: Includes basic NSH command support with full 8MByte SDRAM + the The NSH configuration / testing that has been done so far was performed by connecting an external RS-232 line driver to pins - PA9 (TX) and PA10 (RX) and configuring UART1 as the NSH console. + PA9 (TX) and PA10 (RX) and configuring USART1 as the NSH console. Refer to the http://www.st.com website for further information about this board (search keyword: 429i-disco) diff --git a/configs/stm32f429i-disco/fb/defconfig b/configs/stm32f429i-disco/fb/defconfig index 42121c1bf3..4869b544d5 100644 --- a/configs/stm32f429i-disco/fb/defconfig +++ b/configs/stm32f429i-disco/fb/defconfig @@ -9,7 +9,6 @@ CONFIG_ARCH_CHIP_STM32F429Z=y CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH="arm" CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYL=y -CONFIG_BOARD_INITIALIZE=y CONFIG_BOARD_LOOPSPERMSEC=16717 CONFIG_BUILTIN=y CONFIG_DEBUG_CUSTOMOPT=y @@ -32,6 +31,7 @@ CONFIG_MM_REGIONS=2 CONFIG_MQ_MAXMSGSIZE=64 CONFIG_NFILE_DESCRIPTORS=8 CONFIG_NFILE_STREAMS=8 +CONFIG_NSH_ARCHINIT=y CONFIG_NSH_BUILTIN_APPS=y CONFIG_NSH_FILEIOSIZE=512 CONFIG_NSH_LINELEN=64 diff --git a/configs/stm32f429i-disco/include/board.h b/configs/stm32f429i-disco/include/board.h index c3dfbea085..a3ae460e04 100644 --- a/configs/stm32f429i-disco/include/board.h +++ b/configs/stm32f429i-disco/include/board.h @@ -206,10 +206,10 @@ /* Alternate function pin selections ************************************************/ -/* UART2: +/* USART1: * * The STM32F4 Discovery has no on-board serial devices, but the console is - * brought out to PA2 (TX) and PA3 (RX) for connection to an external serial device. + * brought out to PA9 (TX) and PA10 (RX) for connection to an external serial device. * (See the README.txt file for other options) */ diff --git a/configs/stm32f429i-disco/src/stm32f429i-disco.h b/configs/stm32f429i-disco/src/stm32f429i-disco.h index b09acee725..bbf5746747 100644 --- a/configs/stm32f429i-disco/src/stm32f429i-disco.h +++ b/configs/stm32f429i-disco/src/stm32f429i-disco.h @@ -49,6 +49,8 @@ #include #endif +#include + /**************************************************************************** * Pre-processor Definitions ****************************************************************************/