ソースを参照

[bsp][tms320f28379d] Remove redundant code

xuzhuoyi 6 年 前
コミット
81f94fd271

+ 0 - 21
bsp/tms320f28379d/applications/application.c

@@ -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()

+ 1 - 1
bsp/tms320f28379d/drivers/board.h

@@ -8,7 +8,7 @@
  * 2009-09-22     Bernard      add board.h to this bsp
  * 2018-09-02     xuzhuoyi     modify for TMS320F28379D version
  */
-// <<< Use Configuration Wizard in Context Menu >>>
+
 #ifndef __BOARD_H__
 #define __BOARD_H__
 #include <rtthread.h>