Browse Source

[BSP] remove components.h file.

bernard 7 years ago
parent
commit
296d57e859
48 changed files with 7 additions and 140 deletions
  1. 0 2
      bsp/CME_M7/applications/application.c
  2. 0 1
      bsp/CME_M7/drivers/board.c
  3. 0 1
      bsp/beaglebone/applications/application.c
  4. 0 1
      bsp/beaglebone/applications/board.c
  5. 0 1
      bsp/fh8620/applications/main.c
  6. 0 1
      bsp/imx6sx/cortex-a9/applications/application.c
  7. 0 1
      bsp/imx6sx/cortex-a9/drivers/board.c
  8. 0 4
      bsp/lpc408x/applications/application.c
  9. 0 3
      bsp/lpc408x/drivers/drv_lpccan.c
  10. 0 4
      bsp/lpc5410x/applications/board.c
  11. 0 4
      bsp/lpc54608-LPCXpresso/applications/application.c
  12. 0 4
      bsp/lpc54608-LPCXpresso/drivers/board.c
  13. 0 4
      bsp/ls1bdev/applications/application.c
  14. 0 1
      bsp/ls1cdev/applications/application.c
  15. 0 1
      bsp/ls1cdev/drivers/net/synopGMAC.c
  16. 0 4
      bsp/mb9bf506r/applications/application.c
  17. 0 4
      bsp/mb9bf568r/applications/application.c
  18. 0 4
      bsp/mb9bf568r/drivers/board.c
  19. 0 4
      bsp/mb9bf618s/applications/application.c
  20. 0 4
      bsp/mb9bf618s/drivers/board.c
  21. 0 3
      bsp/nuvoton_m05x/applications/application.c
  22. 1 4
      bsp/nuvoton_m05x/drivers/board.c
  23. 0 4
      bsp/nuvoton_m05x/drivers/led.c
  24. 0 3
      bsp/nuvoton_m451/applications/application.c
  25. 1 4
      bsp/nuvoton_m451/drivers/board.c
  26. 0 4
      bsp/nuvoton_m451/drivers/led.c
  27. 0 4
      bsp/nv32f100x/app/src/ledapp.c
  28. 0 6
      bsp/nv32f100x/board/src/board.c
  29. 0 1
      bsp/realview-a8/applications/application.c
  30. 0 1
      bsp/realview-a8/drivers/board.c
  31. 0 4
      bsp/rx/applications/application.c
  32. 0 3
      bsp/stm32f0x/applications/application.c
  33. 1 4
      bsp/stm32f0x/drivers/board.c
  34. 0 4
      bsp/stm32f0x/drivers/led.c
  35. 0 4
      bsp/stm32f10x/applications/application.c
  36. 0 4
      bsp/stm32f10x/drivers/board.c
  37. 0 4
      bsp/stm32f10x/drivers/bxcan.c
  38. 0 3
      bsp/stm32l072/app/application.c
  39. 1 3
      bsp/stm32l072/app/ledapp.c
  40. 1 4
      bsp/stm32l072/board/board.c
  41. 0 4
      bsp/stm32l072/board/drv_spi.c
  42. 1 3
      bsp/stm32l072/board/gpio.c
  43. 0 1
      bsp/tm4c129x/applications/application.c
  44. 0 1
      bsp/tm4c129x/applications/board.c
  45. 0 2
      bsp/tm4c129x/drivers/drv_eth.c
  46. 0 1
      bsp/tm4c129x/drivers/drv_uart.c
  47. 1 3
      bsp/zynq7000/applications/application.c
  48. 0 1
      bsp/zynq7000/drivers/board.c

+ 0 - 2
bsp/CME_M7/applications/application.c

@@ -15,8 +15,6 @@
 #include <board.h>
 #include <rtthread.h>
 
-#include <components.h>
-
 void rt_init_thread_entry(void* parameter)
 {
     rt_components_init();

+ 0 - 1
bsp/CME_M7/drivers/board.c

@@ -14,7 +14,6 @@
 
 #include <rthw.h>
 #include <rtthread.h>
-#include <components.h>
 
 #include "board.h"
 

+ 0 - 1
bsp/beaglebone/applications/application.c

@@ -14,7 +14,6 @@
 
 #include <stdlib.h>
 #include <rtthread.h>
-#include <components.h>
 
 #ifdef RT_USING_GDB
 #include <gdb_stub.h>

+ 0 - 1
bsp/beaglebone/applications/board.c

@@ -14,7 +14,6 @@
 
 #include <rthw.h>
 #include <rtthread.h>
-#include <components.h>
 
 #include "board.h"
 #include <interrupt.h>

+ 0 - 1
bsp/fh8620/applications/main.c

@@ -24,7 +24,6 @@
  * Date           Author       Notes
  */
 #include <rtthread.h>
-#include <components.h>
 
 void init_thread(void *parameter)
 {

+ 0 - 1
bsp/imx6sx/cortex-a9/applications/application.c

@@ -13,7 +13,6 @@
  */
 
 #include <rtthread.h>
-#include <components.h>
 
 #include <sdk.h>
 #include <core/ccm_pll.h>

+ 0 - 1
bsp/imx6sx/cortex-a9/drivers/board.c

@@ -14,7 +14,6 @@
 
 #include <rthw.h>
 #include <rtthread.h>
-#include <components.h>
 
 #include "board.h"
 

+ 0 - 4
bsp/lpc408x/applications/application.c

@@ -19,10 +19,6 @@
 #include <finsh.h>
 #endif
 
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
 /* thread phase init */
 void rt_init_thread_entry(void *parameter)
 {

+ 0 - 3
bsp/lpc408x/drivers/drv_lpccan.c

@@ -15,9 +15,6 @@
 #include <rtdevice.h>
 #include <board.h>
 #include <drv_lpccan.h>
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
 
 #ifdef RT_USING_CAN
 

+ 0 - 4
bsp/lpc5410x/applications/board.c

@@ -20,10 +20,6 @@
 #include "board.h"
 #include "drv_uart.h"
 
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
 /**
  * This is the timer interrupt service routine.
  *

+ 0 - 4
bsp/lpc54608-LPCXpresso/applications/application.c

@@ -27,10 +27,6 @@
 #include <finsh.h>
 #endif
 
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
 /* thread phase init */
 void rt_init_thread_entry(void *parameter)
 {

+ 0 - 4
bsp/lpc54608-LPCXpresso/drivers/board.c

@@ -23,10 +23,6 @@
 #include "drv_uart.h"
 #include "drv_sdram.h"
 
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
 /**
  * This is the timer interrupt service routine.
  *

+ 0 - 4
bsp/ls1bdev/applications/application.c

@@ -16,10 +16,6 @@
 #include <rtthread.h>
 #include <ls1b.h>
 
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
 #ifdef RT_USING_RTGUI
 #include <rtgui/rtgui.h>
 extern void rt_hw_dc_init(void);

+ 0 - 1
bsp/ls1cdev/applications/application.c

@@ -15,7 +15,6 @@
  */
 
 #include <rtthread.h>
-#include <components.h>
 #include "net/synopGMAC.h"
 #include <lwip/api.h>
 

+ 0 - 1
bsp/ls1cdev/drivers/net/synopGMAC.c

@@ -24,7 +24,6 @@
 
 
 #include <rtthread.h>
-#include <components.h>
 #include <rtdef.h>
 //#include <lwip/pbuf.h>
 

+ 0 - 4
bsp/mb9bf506r/applications/application.c

@@ -22,10 +22,6 @@
 #include "board.h"
 #include "led.h"
 
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
 #ifdef RT_USING_DFS
 /* dfs init */
 #include <dfs_init.h>

+ 0 - 4
bsp/mb9bf568r/applications/application.c

@@ -20,10 +20,6 @@
 #include <rtthread.h>
 #include "board.h"
 
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
-
 void rt_init_thread_entry(void *parameter)
 {
 #ifdef RT_USING_COMPONENTS_INIT

+ 0 - 4
bsp/mb9bf568r/drivers/board.c

@@ -19,10 +19,6 @@
 
 #include "serial.h"
 
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
-
 /**
  * @addtogroup FM4
  */

+ 0 - 4
bsp/mb9bf618s/applications/application.c

@@ -20,10 +20,6 @@
 #include <rtthread.h>
 #include "board.h"
 
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
-
 void rt_init_thread_entry(void *parameter)
 {
 #ifdef RT_USING_COMPONENTS_INIT

+ 0 - 4
bsp/mb9bf618s/drivers/board.c

@@ -19,10 +19,6 @@
 
 #include "serial.h"
 
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
-
 /**
  * @addtogroup FM3
  */

+ 0 - 3
bsp/nuvoton_m05x/applications/application.c

@@ -21,9 +21,6 @@
 
 #include <board.h>
 #include <rtthread.h>
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
 
 #include "led.h"
 

+ 1 - 4
bsp/nuvoton_m05x/drivers/board.c

@@ -16,10 +16,7 @@
 #include <rtthread.h>
 #include "board.h"
 #include "usart.h"
-/* RT_USING_COMPONENTS_INIT */
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
+
 /**
  * @addtogroup NUVOTON_M05X
  */

+ 0 - 4
bsp/nuvoton_m05x/drivers/led.c

@@ -13,10 +13,6 @@
  */
 
 #include "led.h"
-/* RT_USING_COMPONENTS_INIT */
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
 
 /*
     LED: P3.6

+ 0 - 3
bsp/nuvoton_m451/applications/application.c

@@ -21,9 +21,6 @@
 
 #include <board.h>
 #include <rtthread.h>
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
 
 #include "led.h"
 

+ 1 - 4
bsp/nuvoton_m451/drivers/board.c

@@ -16,10 +16,7 @@
 #include <rtthread.h>
 #include "board.h"
 #include "usart.h"
-/* RT_USING_COMPONENTS_INIT */
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
+
 /**
  * @addtogroup NUVOTON_M451
  */

+ 0 - 4
bsp/nuvoton_m451/drivers/led.c

@@ -13,10 +13,6 @@
  */
 
 #include "led.h"
-/* RT_USING_COMPONENTS_INIT */
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
 
 /*
     LED: PC9 for M451 SDK

+ 0 - 4
bsp/nv32f100x/app/src/ledapp.c

@@ -18,10 +18,6 @@
 #include "board.h"
 #include <rtthread.h>
 
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
-
 #include "gpio.h"
 
 

+ 0 - 6
bsp/nv32f100x/board/src/board.c

@@ -19,12 +19,6 @@
 #include "drv_uart.h"
 #include "nv32.h"
 
-/* RT_USING_COMPONENTS_INIT */
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
-
 #define portNVIC_SYSTICK_CTRL           ( ( volatile uint32_t *) 0xe000e010 )
 #define portNVIC_SYSTICK_LOAD           ( ( volatile uint32_t *) 0xe000e014 )
 #define portNVIC_INT_CTRL               ( ( volatile uint32_t *) 0xe000ed04 )

+ 0 - 1
bsp/realview-a8/applications/application.c

@@ -13,7 +13,6 @@
  */
 
 #include <rtthread.h>
-#include <components.h>
 
 void init_thread(void* parameter)
 {

+ 0 - 1
bsp/realview-a8/drivers/board.c

@@ -14,7 +14,6 @@
 
 #include <rthw.h>
 #include <rtthread.h>
-#include <components.h>
 
 #include "board.h"
 

+ 0 - 4
bsp/rx/applications/application.c

@@ -21,10 +21,6 @@
 #include <board.h>
 #include <rtthread.h>
 
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
-
 #ifdef RT_USING_DFS
 /* dfs filesystem:ELM filesystem init */
 #include <dfs_elm.h>

+ 0 - 3
bsp/stm32f0x/applications/application.c

@@ -22,9 +22,6 @@
 
 #include <board.h>
 #include <rtthread.h>
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
 
 #include "led.h"
 

+ 1 - 4
bsp/stm32f0x/drivers/board.c

@@ -18,10 +18,7 @@
 
 #include "board.h"
 #include "usart.h"
-/* RT_USING_COMPONENTS_INIT */
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
+
 /**
  * @addtogroup STM32
  */

+ 0 - 4
bsp/stm32f0x/drivers/led.c

@@ -13,10 +13,6 @@
  */
 
 #include "led.h"
-/* RT_USING_COMPONENTS_INIT */
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
 
 /*
 LED_GREEN: PC8

+ 0 - 4
bsp/stm32f10x/applications/application.c

@@ -21,10 +21,6 @@
 #include <board.h>
 #include <rtthread.h>
 
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
-
 #ifdef RT_USING_DFS
 /* dfs filesystem:ELM filesystem init */
 #include <dfs_elm.h>

+ 0 - 4
bsp/stm32f10x/drivers/board.c

@@ -21,10 +21,6 @@
 #include "board.h"
 #include "usart.h"
 
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
-
 /**
  * @addtogroup STM32
  */

+ 0 - 4
bsp/stm32f10x/drivers/bxcan.c

@@ -20,10 +20,6 @@
 #undef RT_USING_CAN
 #endif
 
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
 #ifdef RT_USING_CAN
 
 #ifndef STM32F10X_CL

+ 0 - 3
bsp/stm32l072/app/application.c

@@ -23,9 +23,6 @@
 #include <rtdevice.h>
 #include "board.h"
 #include <rtthread.h>
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
 
 static void rt_init_thread_entry(void* parameter)
 {

+ 1 - 3
bsp/stm32l072/app/ledapp.c

@@ -3,9 +3,7 @@
 #include <rtdevice.h>
 #include "board.h"
 #include <rtthread.h>
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif  /* RT_USING_COMPONENTS_INIT */
+
 /* led thread entry */
 #define PINRX 22
 #define PINTX 21

+ 1 - 4
bsp/stm32l072/board/board.c

@@ -18,10 +18,7 @@
 
 #include "board.h"
 #include "usart.h"
-/* RT_USING_COMPONENTS_INIT */
-#ifdef  RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
+
 /**
  * @addtogroup STM32
  */

+ 0 - 4
bsp/stm32l072/board/drv_spi.c

@@ -18,10 +18,6 @@
 #include <rtdevice.h>
 #include <board.h>
 
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
-
 #define SPIRXEVENT 0x01
 #define SPITXEVENT 0x02
 

+ 1 - 3
bsp/stm32l072/board/gpio.c

@@ -14,9 +14,7 @@
 #include <rthw.h>
 #include <rtdevice.h>
 #include <board.h>
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
+
 #ifdef RT_USING_PIN
 
 #include "stm32l0xx.h"

+ 0 - 1
bsp/tm4c129x/applications/application.c

@@ -13,7 +13,6 @@
  */
 
 #include <rtthread.h>
-#include <components.h>
 
 /* thread phase init */
 void rt_init_thread_entry(void *parameter)

+ 0 - 1
bsp/tm4c129x/applications/board.c

@@ -15,7 +15,6 @@
 
 #include <rthw.h>
 #include <rtthread.h>
-#include <components.h>
 #include "board.h"
 
 

+ 0 - 2
bsp/tm4c129x/drivers/drv_eth.c

@@ -146,8 +146,6 @@ extern void lwIPHostGetTime(u32_t *time_s, u32_t *time_ns);
 #include "lwipopts.h"
 #include "drv_eth.h"
 
-#include <components.h>
-
 /**
  * A structure used to keep track of driver state and error counts.
  */

+ 0 - 1
bsp/tm4c129x/drivers/drv_uart.c

@@ -18,7 +18,6 @@
 #include <rtdevice.h>
 
 #include "board.h"
-#include <components.h>
 
 #include "inc/hw_memmap.h"
 #include "driverlib/sysctl.h"

+ 1 - 3
bsp/zynq7000/applications/application.c

@@ -19,9 +19,7 @@
  */
 
 #include <rtthread.h>
-#ifdef RT_USING_COMPONENTS_INIT
-#include <components.h>
-#endif
+
 #include <cp15.h>
 
 /* thread phase init */

+ 0 - 1
bsp/zynq7000/drivers/board.c

@@ -20,7 +20,6 @@
 
 #include <rthw.h>
 #include <rtthread.h>
-#include <components.h>
 
 #include "board.h"