提交 296d57e8 编写于 作者: B bernard

[BSP] remove components.h file.

上级 5e3b3b19
......@@ -15,8 +15,6 @@
#include <board.h>
#include <rtthread.h>
#include <components.h>
void rt_init_thread_entry(void* parameter)
{
rt_components_init();
......
......@@ -14,7 +14,6 @@
#include <rthw.h>
#include <rtthread.h>
#include <components.h>
#include "board.h"
......
......@@ -14,7 +14,6 @@
#include <stdlib.h>
#include <rtthread.h>
#include <components.h>
#ifdef RT_USING_GDB
#include <gdb_stub.h>
......
......@@ -14,7 +14,6 @@
#include <rthw.h>
#include <rtthread.h>
#include <components.h>
#include "board.h"
#include <interrupt.h>
......
......@@ -24,7 +24,6 @@
* Date Author Notes
*/
#include <rtthread.h>
#include <components.h>
void init_thread(void *parameter)
{
......
......@@ -13,7 +13,6 @@
*/
#include <rtthread.h>
#include <components.h>
#include <sdk.h>
#include <core/ccm_pll.h>
......
......@@ -14,7 +14,6 @@
#include <rthw.h>
#include <rtthread.h>
#include <components.h>
#include "board.h"
......
......@@ -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)
{
......
......@@ -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
......
......@@ -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.
*
......
......@@ -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)
{
......
......@@ -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.
*
......
......@@ -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);
......
......@@ -15,7 +15,6 @@
*/
#include <rtthread.h>
#include <components.h>
#include "net/synopGMAC.h"
#include <lwip/api.h>
......
......@@ -24,7 +24,6 @@
#include <rtthread.h>
#include <components.h>
#include <rtdef.h>
//#include <lwip/pbuf.h>
......
......@@ -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>
......
......@@ -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
......
......@@ -19,10 +19,6 @@
#include "serial.h"
#ifdef RT_USING_COMPONENTS_INIT
#include <components.h>
#endif /* RT_USING_COMPONENTS_INIT */
/**
* @addtogroup FM4
*/
......
......@@ -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
......
......@@ -19,10 +19,6 @@
#include "serial.h"
#ifdef RT_USING_COMPONENTS_INIT
#include <components.h>
#endif /* RT_USING_COMPONENTS_INIT */
/**
* @addtogroup FM3
*/
......
......@@ -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"
......
......@@ -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
*/
......
......@@ -13,10 +13,6 @@
*/
#include "led.h"
/* RT_USING_COMPONENTS_INIT */
#ifdef RT_USING_COMPONENTS_INIT
#include <components.h>
#endif
/*
LED: P3.6
......
......@@ -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"
......
......@@ -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
*/
......
......@@ -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
......
......@@ -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"
......
......@@ -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 )
......
......@@ -13,7 +13,6 @@
*/
#include <rtthread.h>
#include <components.h>
void init_thread(void* parameter)
{
......
......@@ -14,7 +14,6 @@
#include <rthw.h>
#include <rtthread.h>
#include <components.h>
#include "board.h"
......
......@@ -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>
......
......@@ -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"
......
......@@ -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
*/
......
......@@ -13,10 +13,6 @@
*/
#include "led.h"
/* RT_USING_COMPONENTS_INIT */
#ifdef RT_USING_COMPONENTS_INIT
#include <components.h>
#endif
/*
LED_GREEN: PC8
......
......@@ -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>
......
......@@ -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
*/
......
......@@ -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
......
......@@ -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)
{
......
......@@ -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
......
......@@ -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
*/
......
......@@ -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
......
......@@ -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"
......
......@@ -13,7 +13,6 @@
*/
#include <rtthread.h>
#include <components.h>
/* thread phase init */
void rt_init_thread_entry(void *parameter)
......
......@@ -15,7 +15,6 @@
#include <rthw.h>
#include <rtthread.h>
#include <components.h>
#include "board.h"
......
......@@ -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.
*/
......
......@@ -18,7 +18,6 @@
#include <rtdevice.h>
#include "board.h"
#include <components.h>
#include "inc/hw_memmap.h"
#include "driverlib/sysctl.h"
......
......@@ -19,9 +19,7 @@
*/
#include <rtthread.h>
#ifdef RT_USING_COMPONENTS_INIT
#include <components.h>
#endif
#include <cp15.h>
/* thread phase init */
......
......@@ -20,7 +20,6 @@
#include <rthw.h>
#include <rtthread.h>
#include <components.h>
#include "board.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册