diff --git a/bsp/lpc43xx/M0/applications/application.c b/bsp/lpc43xx/M0/applications/application.c index e49f1dd767..209b7071b1 100644 --- a/bsp/lpc43xx/M0/applications/application.c +++ b/bsp/lpc43xx/M0/applications/application.c @@ -16,11 +16,20 @@ #include #include #include "drv_led.h" + #ifdef RT_USING_FINSH #include #include #endif +#ifdef RT_USING_LOGTRACE +#include +#endif + +#ifdef RT_USING_VBUS +#include +#endif + /* thread phase init */ void rt_init_thread_entry(void *parameter) { diff --git a/bsp/lpc43xx/M0/applications/board.h b/bsp/lpc43xx/M0/applications/board.h index c19d0dc4ba..ee300eb739 100644 --- a/bsp/lpc43xx/M0/applications/board.h +++ b/bsp/lpc43xx/M0/applications/board.h @@ -54,6 +54,6 @@ extern int __bss_end; void rt_hw_board_init(void); int rt_hw_board_heap_init(void); - +int rt_vbus_do_init(void); #endif diff --git a/bsp/lpc43xx/M4/applications/application.c b/bsp/lpc43xx/M4/applications/application.c index 72e0234d85..8ca6f823f1 100644 --- a/bsp/lpc43xx/M4/applications/application.c +++ b/bsp/lpc43xx/M4/applications/application.c @@ -22,6 +22,14 @@ #include #endif +#ifdef RT_USING_LOGTRACE +#include +#endif + +#ifdef RT_USING_VBUS +#include +#endif + static const unsigned char _M0_CODE[] SECTION("M0_CODE") = { #include "M0_CODE.h" }; diff --git a/bsp/lpc43xx/M4/applications/board.h b/bsp/lpc43xx/M4/applications/board.h index 465ccef2cc..299404a368 100644 --- a/bsp/lpc43xx/M4/applications/board.h +++ b/bsp/lpc43xx/M4/applications/board.h @@ -54,6 +54,6 @@ extern int __bss_end; void rt_hw_board_init(void); int rt_hw_board_heap_init(void); - +int rt_vbus_do_init(void); #endif