|
@@ -12,32 +12,11 @@
|
|
|
#include <board.h>
|
|
|
#include <rtthread.h>
|
|
|
|
|
|
-#ifdef RT_USING_LWIP
|
|
|
-#include <lwip/sys.h>
|
|
|
-#include <lwip/api.h>
|
|
|
-#include <netif/ethernetif.h>
|
|
|
-#include "stm32f4xx_eth.h"
|
|
|
-#endif
|
|
|
-
|
|
|
-#ifdef RT_USING_FINSH
|
|
|
-#include <shell.h>
|
|
|
-#include <finsh.h>
|
|
|
-#endif
|
|
|
-
|
|
|
-#ifdef RT_USING_GDB
|
|
|
-#include <gdb_stub.h>
|
|
|
-#endif
|
|
|
-
|
|
|
void rt_init_thread_entry(void* parameter)
|
|
|
{
|
|
|
/* initialization RT-Thread Components */
|
|
|
rt_components_init();
|
|
|
|
|
|
- /* GDB STUB */
|
|
|
-#ifdef RT_USING_GDB
|
|
|
- gdb_set_device("uart6");
|
|
|
- gdb_start();
|
|
|
-#endif
|
|
|
}
|
|
|
|
|
|
int rt_application_init()
|