Browse Source

boards/remote: fixed includes

pr/spi.typo
Hauke Petersen 6 years ago
parent
commit
ed4cb561bb
  1. 1
      boards/remote-common/include/periph_common.h
  2. 7
      boards/remote-pa/include/board.h
  3. 2
      boards/remote-pa/include/periph_conf.h
  4. 8
      boards/remote-reva/include/board.h
  5. 2
      boards/remote-reva/include/periph_conf.h
  6. 8
      boards/remote-revb/include/board.h
  7. 1
      cpu/cc2538/include/cpu_conf.h
  8. 6
      cpu/cc2538/include/periph_cpu.h

1
boards/remote-common/include/periph_common.h

@ -21,7 +21,6 @@
#ifndef PERIPH_COMMON_H
#define PERIPH_COMMON_H
#include "cc2538_gpio.h"
#include "periph_cpu.h"
#ifdef __cplusplus

7
boards/remote-pa/include/board.h

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

2
boards/remote-pa/include/periph_conf.h

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

8
boards/remote-reva/include/board.h

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

2
boards/remote-reva/include/periph_conf.h

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

8
boards/remote-revb/include/board.h

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

1
cpu/cc2538/include/cpu_conf.h

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

6
cpu/cc2538/include/periph_cpu.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…
Cancel
Save