diff --git a/configs/moxa/nsh/defconfig b/configs/moxa/nsh/defconfig index d8bda8be4c..53df25d6e9 100644 --- a/configs/moxa/nsh/defconfig +++ b/configs/moxa/nsh/defconfig @@ -386,6 +386,7 @@ CONFIG_16550_SUPRESS_CONFIG=y CONFIG_16550_REGINCR=1 CONFIG_16550_REGWIDTH=32 CONFIG_16550_ADDRWIDTH=32 +CONFIG_16550_THRNE=y # CONFIG_ARCH_HAVE_UART is not set # CONFIG_ARCH_HAVE_UART0 is not set # CONFIG_ARCH_HAVE_UART1 is not set diff --git a/configs/moxa/src/moxart_boot.c b/configs/moxa/src/moxart_boot.c index 473f5a54ad..f773982d3d 100644 --- a/configs/moxa/src/moxart_boot.c +++ b/configs/moxa/src/moxart_boot.c @@ -45,6 +45,7 @@ #include #include +#include /**************************************************************************** * Pre-processor Definitions @@ -68,8 +69,6 @@ ****************************************************************************/ #ifdef CONFIG_BOARD_INITIALIZE -extern int ftmac100_initialize(int intf); - void board_initialize(void) { #ifdef CONFIG_NET_FTMAC100 diff --git a/configs/moxa/src/moxart_nsh.c b/configs/moxa/src/moxart_nsh.c index b21a466c86..1b4c4ea877 100644 --- a/configs/moxa/src/moxart_nsh.c +++ b/configs/moxa/src/moxart_nsh.c @@ -45,6 +45,7 @@ #include #include +#include /**************************************************************************** * Pre-processor Definitions