diff --git a/configs/moxa/nsh/defconfig b/configs/moxa/nsh/defconfig index 00e53882c6..496fc78efb 100644 --- a/configs/moxa/nsh/defconfig +++ b/configs/moxa/nsh/defconfig @@ -16,7 +16,7 @@ CONFIG_HOST_LINUX=y # # Build Configuration # -CONFIG_APPS_DIR="apps/" +# CONFIG_APPS_DIR="apps/" CONFIG_BUILD_FLAT=y # CONFIG_BUILD_2PASS is not set diff --git a/configs/moxa/src/moxart_boot.c b/configs/moxa/src/moxart_boot.c index cbee11e959..4520ca8835 100644 --- a/configs/moxa/src/moxart_boot.c +++ b/configs/moxa/src/moxart_boot.c @@ -75,6 +75,7 @@ void board_initialize(void) { #ifdef CONFIG_NET_FTMAC100 /* Perform board-specific initialization */ + ftintc010_set_trig_mode(CONFIG_FTMAC100_IRQ, 0); ftintc010_set_trig_level(CONFIG_FTMAC100_IRQ, 0); diff --git a/configs/moxa/src/moxart_nsh.c b/configs/moxa/src/moxart_nsh.c index f347c75df3..0e8c2ff91e 100644 --- a/configs/moxa/src/moxart_nsh.c +++ b/configs/moxa/src/moxart_nsh.c @@ -77,6 +77,7 @@ int board_app_initialize(void) #ifndef CONFIG_BOARD_INITIALIZE #ifdef CONFIG_NET_FTMAC100 /* Perform board-specific initialization */ + ftintc010_set_trig_mode(CONFIG_FTMAC100_IRQ, 0); ftintc010_set_trig_level(CONFIG_FTMAC100_IRQ, 0);