|
@@ -15,8 +15,8 @@
|
|
|
#include <rthw.h>
|
|
|
#include <rtthread.h>
|
|
|
|
|
|
-#include "board.h"
|
|
|
-
|
|
|
+#include "board.h"
|
|
|
+
|
|
|
#ifdef RT_USING_LWIP
|
|
|
#include <lwip/sys.h>
|
|
|
#include <netif/ethernetif.h>
|
|
@@ -97,8 +97,13 @@ void rtthread_startup(void)
|
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
+#ifdef RT_USING_MODULE
|
|
|
+ /* init module system */
|
|
|
+ rt_system_module_init();
|
|
|
+
|
|
|
/* init scheduler system */
|
|
|
rt_system_scheduler_init();
|
|
|
+#endif
|
|
|
|
|
|
#ifdef RT_USING_LWIP
|
|
|
eth_system_device_init();
|