[BSP] remove components.h file.

This commit is contained in:
bernard 2017-10-16 14:10:18 +08:00
parent 5e3b3b19a6
commit 296d57e859
48 changed files with 7 additions and 140 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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.
*

View File

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

View File

@ -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.
*

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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"

View File

@ -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
*/

View File

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

View File

@ -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"

View File

@ -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
*/

View File

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

View File

@ -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"

View File

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

View File

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

View File

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

View File

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

View File

@ -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"

View File

@ -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
*/

View File

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

View File

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

View File

@ -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
*/

View File

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

View File

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

View File

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

View File

@ -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
*/

View File

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

View File

@ -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"

View File

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

View File

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

View File

@ -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.
*/

View File

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

View File

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

View File

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