mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/remote: fixed includes
This commit is contained in:
parent
3fa8a5e87c
commit
ed4cb561bb
@ -21,7 +21,6 @@
|
||||
#ifndef PERIPH_COMMON_H
|
||||
#define PERIPH_COMMON_H
|
||||
|
||||
#include "cc2538_gpio.h"
|
||||
#include "periph_cpu.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -24,8 +24,6 @@
|
||||
#define BOARD_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include "periph/gpio.h"
|
||||
#include "board_common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -74,6 +72,11 @@
|
||||
#define RF_SWITCH_TOGGLE (RF_SWITCH_PORT->DATA ^= (1 << RF_SWITCH_PIN))
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
void board_init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* end extern "C" */
|
||||
#endif
|
||||
|
@ -21,8 +21,6 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
#include "cc2538_gpio.h"
|
||||
#include "periph_cpu.h"
|
||||
#include "periph_common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -23,9 +23,6 @@
|
||||
#define BOARD_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include "periph/gpio.h"
|
||||
#include "periph/spi.h"
|
||||
#include "board_common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -111,6 +108,11 @@
|
||||
#define CC1200_GPD2_GPIO GPIO_PB0
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
void board_init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* end extern "C" */
|
||||
#endif
|
||||
|
@ -21,8 +21,6 @@
|
||||
#ifndef PERIPH_CONF_H
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
#include "cc2538_gpio.h"
|
||||
#include "periph_cpu.h"
|
||||
#include "periph_common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -23,9 +23,6 @@
|
||||
#define BOARD_H
|
||||
|
||||
#include "cpu.h"
|
||||
#include "periph/gpio.h"
|
||||
#include "periph/spi.h"
|
||||
#include "board_common.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -123,6 +120,11 @@
|
||||
#define SDCARD_SPI_PARAM_POWER_AH false
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
|
||||
*/
|
||||
void board_init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* end extern "C" */
|
||||
#endif
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "cc2538_gptimer.h"
|
||||
#include "cc2538_ioc.h"
|
||||
#include "cc2538_soc_adc.h"
|
||||
#include "cc2538_ssi.h"
|
||||
#include "cc2538_rfcore.h"
|
||||
#include "cc2538_sys_ctrl.h"
|
||||
|
||||
|
@ -21,9 +21,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "cc2538_gptimer.h"
|
||||
#include "cc2538_ssi.h"
|
||||
#include "cc2538_gpio.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -50,6 +48,8 @@ typedef uint32_t gpio_t;
|
||||
*/
|
||||
#define GPIO_PIN(port, pin) (gpio_t)(((uint32_t)GPIO_A + (port << 12)) | pin)
|
||||
|
||||
#define GPIO_UNDEF 99
|
||||
|
||||
/**
|
||||
* @brief I2C configuration options
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user