Browse Source

boards: replace @brief with @name when necessary

master
Alexandre Abadie 6 years ago
parent
commit
882bcff048
  1. 4
      boards/airfy-beacon/include/board.h
  2. 14
      boards/airfy-beacon/include/periph_conf.h
  3. 21
      boards/arduino-atmega-common/include/board.h
  4. 10
      boards/arduino-atmega-common/include/periph_conf.h
  5. 2
      boards/arduino-due/include/arduino_pinmap.h
  6. 3
      boards/arduino-due/include/sdcard_spi_params.h
  7. 3
      boards/arduino-due/include/w5100_params.h
  8. 2
      boards/arduino-zero/include/arduino_pinmap.h
  9. 6
      boards/arduino-zero/include/board.h
  10. 4
      boards/avsextrem/include/board.h
  11. 10
      boards/avsextrem/include/periph_conf.h
  12. 6
      boards/calliope-mini/include/board.h
  13. 10
      boards/calliope-mini/include/periph_conf.h
  14. 9
      boards/cc2538dk/include/board.h
  15. 6
      boards/cc2650stk/include/board.h
  16. 6
      boards/cc2650stk/include/periph_conf.h
  17. 11
      boards/chronos/include/board.h
  18. 14
      boards/chronos/include/periph_conf.h
  19. 4
      boards/ek-lm4f120xl/include/board.h
  20. 4
      boards/f4vi1/include/board.h
  21. 10
      boards/f4vi1/include/periph_conf.h
  22. 18
      boards/fox/include/board.h
  23. 16
      boards/fox/include/periph_conf.h
  24. 4
      boards/frdm-k64f/include/board.h
  25. 26
      boards/iotlab-common/include/board_common.h
  26. 14
      boards/iotlab-common/include/periph_conf_common.h
  27. 4
      boards/limifrog-v1/include/board.h
  28. 12
      boards/limifrog-v1/include/periph_conf.h
  29. 4
      boards/mbed_lpc1768/include/board.h
  30. 4
      boards/mbed_lpc1768/include/periph_conf.h
  31. 10
      boards/microbit/include/board.h
  32. 2
      boards/microbit/include/periph_conf.h
  33. 10
      boards/mips-malta/include/periph_conf.h
  34. 4
      boards/msb-430-common/include/board_common.h
  35. 5
      boards/msb-430/include/board.h
  36. 12
      boards/msb-430/include/periph_conf.h
  37. 5
      boards/msb-430h/include/board.h
  38. 12
      boards/msb-430h/include/periph_conf.h
  39. 6
      boards/msba2/include/board.h
  40. 13
      boards/msba2/include/periph_conf.h
  41. 8
      boards/msbiot/include/board.h
  42. 14
      boards/msbiot/include/periph_conf.h
  43. 2
      boards/native/include/board.h
  44. 6
      boards/nrf52840dk/include/board.h
  45. 6
      boards/nrf52dk/include/board.h
  46. 2
      boards/nrf52dk/include/periph_conf.h
  47. 4
      boards/nrf6310/include/board.h
  48. 10
      boards/nrf6310/include/periph_conf.h
  49. 2
      boards/nucleo-f030/include/board.h
  50. 2
      boards/nucleo-f070/include/board.h
  51. 2
      boards/nucleo-f072/include/board.h
  52. 2
      boards/nucleo-f091/include/board.h
  53. 2
      boards/nucleo-f103/include/board.h
  54. 2
      boards/nucleo-f411/include/board.h
  55. 16
      boards/nucleo-f411/include/periph_conf.h
  56. 2
      boards/nucleo-l053/include/board.h
  57. 16
      boards/nucleo-l053/include/periph_conf.h
  58. 2
      boards/nucleo-l073/include/board.h
  59. 16
      boards/nucleo-l073/include/periph_conf.h
  60. 14
      boards/nucleo-l476/include/periph_conf.h
  61. 2
      boards/nucleo144-common/include/board_common.h
  62. 17
      boards/nucleo144-f207/include/periph_conf.h
  63. 14
      boards/nucleo144-f303/include/periph_conf.h
  64. 2
      boards/nucleo144-f413/include/board.h
  65. 21
      boards/nucleo144-f413/include/periph_conf.h
  66. 2
      boards/nucleo144-f429/include/board.h
  67. 19
      boards/nucleo144-f429/include/periph_conf.h
  68. 2
      boards/nucleo144-f446/include/board.h
  69. 19
      boards/nucleo144-f446/include/periph_conf.h
  70. 17
      boards/nucleo32-l031/include/periph_conf.h
  71. 2
      boards/opencm904/include/board.h
  72. 8
      boards/openmote-cc2538/include/board.h
  73. 12
      boards/openmote-cc2538/include/periph_conf.h
  74. 4
      boards/pca10000/include/board.h
  75. 8
      boards/pca10000/include/periph_conf.h
  76. 4
      boards/pca10005/include/board.h
  77. 10
      boards/pca10005/include/periph_conf.h
  78. 12
      boards/pic32-clicker/include/board.h
  79. 18
      boards/pic32-clicker/include/periph_conf.h
  80. 10
      boards/pic32-wifire/include/board.h
  81. 8
      boards/pic32-wifire/include/periph_conf.h
  82. 2
      boards/qemu-i386/include/board.h
  83. 10
      boards/remote-pa/include/board.h
  84. 7
      boards/remote-pa/include/periph_conf.h
  85. 6
      boards/saml21-xpro/include/board.h
  86. 14
      boards/saml21-xpro/include/periph_conf.h
  87. 10
      boards/samr21-xpro/include/board.h
  88. 16
      boards/samr21-xpro/include/periph_conf.h
  89. 4
      boards/seeeduino_arch-pro/include/board.h
  90. 4
      boards/seeeduino_arch-pro/include/periph_conf.h
  91. 8
      boards/slwstk6220a/include/board.h
  92. 6
      boards/slwstk6220a/include/periph_conf.h
  93. 6
      boards/sodaq-autonomo/include/board.h
  94. 16
      boards/sodaq-autonomo/include/periph_conf.h
  95. 11
      boards/telosb/include/board.h
  96. 12
      boards/telosb/include/periph_conf.h
  97. 4
      boards/udoo/include/board.h
  98. 10
      boards/udoo/include/periph_conf.h
  99. 25
      boards/waspmote-pro/include/board.h
  100. 10
      boards/waspmote-pro/include/periph_conf.h
  101. Some files were not shown because too many files have changed in this diff Show More

4
boards/airfy-beacon/include/board.h

@ -28,7 +28,7 @@
#endif
/**
* @brief Xtimer configuration
* @name Xtimer configuration
* @{
*/
#define XTIMER_DEV (0)
@ -38,7 +38,7 @@
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

14
boards/airfy-beacon/include/periph_conf.h

@ -43,7 +43,7 @@
/** @} */
/**
* @name Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -57,9 +57,9 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @name UART configuration
* @name UART configuration
*
* The CPU only supports one UART device, so we keep it simple
* The CPU only supports one UART device, so we keep it simple
* @{
*/
#define UART_NUMOF (1U)
@ -78,7 +78,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @name SPI configuration
* @name SPI configuration
* @{
*/
static const spi_conf_t spi_config[] = {
@ -94,7 +94,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @name I2C (TWI) configuration
* @name I2C (TWI) configuration
* @{
*/
static const i2c_conf_t i2c_config[] = {
@ -116,7 +116,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @name ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{
@ -126,7 +126,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @name Radio device configuration
* @name Radio device configuration
*
* The radio is not guarded by a NUMOF define, as the radio is selected by its
* own module in the build system.

21
boards/arduino-atmega-common/include/board.h

@ -33,15 +33,17 @@ extern "C" {
#endif
/**
* @brief As the CPU is too slow to handle 115200 baud, we set the default
* baudrate to 9600 for this board
* @name STDIO configuration
*
* As the CPU is too slow to handle 115200 baud, we set the default
* baudrate to 9600 for this board
* @{
*/
#define UART_STDIO_BAUDRATE (9600U)
/** @} */
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#ifdef CPU_ATMEGA328P
@ -60,10 +62,11 @@ extern "C" {
/** @} */
/**
** Context swap defines
** Setup to use PC5 which is pin change interrupt 13 (PCINT13)
** This emulates a software triggered interrupt
***/
* @brief Context swap defines
*
* Setup to use PC5 which is pin change interrupt 13 (PCINT13)
* This emulates a software triggered interrupt
*/
#ifdef CPU_ATMEGA328P
#define AVR_CONTEXT_SWAP_INIT do { \
DDRC |= (1 << PC5); \
@ -85,7 +88,7 @@ extern "C" {
#endif
/**
* @brief xtimer configuration values
* @name xtimer configuration values
* @{
*/
#define XTIMER_WIDTH (16)
@ -95,7 +98,7 @@ extern "C" {
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

10
boards/arduino-atmega-common/include/periph_conf.h

@ -28,14 +28,14 @@ extern "C" {
#endif
/**
* @brief Clock configuration
* @name Clock configuration
* @{
*/
#define CLOCK_CORECLOCK (16000000L)
/** @} */
/**
* @name Timer configuration
* @name Timer configuration
*
* arduino uno and arduino duemilanove:
* The timer driver only supports the 16-bit timer (Timer1)
@ -74,12 +74,10 @@ extern "C" {
#define TIMER_1_ISRB TIMER4_COMPB_vect
#define TIMER_1_ISRC TIMER4_COMPC_vect
#endif
/** @} */
/**
* @name UART configuration
* @name UART configuration
*
* The UART devices have fixed pin mappings, so all we need to do, is to specify
* which devices we would like to use and their corresponding RX interrupts. See
@ -112,7 +110,7 @@ extern "C" {
/** @} */
/**
* @name SPI configuration
* @name SPI configuration
*
* The atmega2560 has only one hardware SPI with fixed pin configuration, so all
* we can do here, is to enable or disable it...

2
boards/arduino-due/include/arduino_pinmap.h

@ -29,7 +29,7 @@ extern "C" {
#endif
/**
* @brief Mapping of MCU pins to Arduino pins
* @name Mapping of MCU pins to Arduino pins
* @{
*/
#define ARDUINO_PIN_0 GPIO_PIN(PA, 8)

3
boards/arduino-due/include/sdcard_spi_params.h

@ -28,7 +28,7 @@ extern "C" {
#endif
/**
* @brief Set default configuration parameters for the sdcard_spi driver
* @name Default configuration for the sdcard_spi driver
* @{
*/
#ifndef SDCARD_SPI_PARAM_SPI
@ -69,7 +69,6 @@ static const sdcard_spi_params_t sdcard_spi_params[] = {
.power_act_high = SDCARD_SPI_PARAM_POWER_AH
},
};
/** @} */
#ifdef __cplusplus
}

3
boards/arduino-due/include/w5100_params.h

@ -24,7 +24,7 @@ extern "C" {
#endif
/**
* @brief Set configuration parameters for the W5100 driver
* @name Configuration parameters for the W5100 driver
* @{
*/
#ifndef W5100_PARAM_SPI
@ -52,7 +52,6 @@ static const w5100_params_t w5100_params[] = {
.evt = W5100_PARAM_EVT
},
};
/** @} */
#ifdef __cplusplus
}

2
boards/arduino-zero/include/arduino_pinmap.h

@ -29,7 +29,7 @@ extern "C" {
#endif
/**
* @brief Mapping of MCU pins to Arduino pins
* @name Mapping of MCU pins to Arduino pins
* @{
*/
#define ARDUINO_PIN_0 GPIO_PIN(PA, 11)

6
boards/arduino-zero/include/board.h

@ -32,7 +32,7 @@ extern "C" {
#endif
/**
* @brief xtimer configuration
* @name xtimer configuration
* @{
*/
#define XTIMER TIMER_0
@ -40,7 +40,7 @@ extern "C" {
/** @} */
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(PA, 17)
@ -54,7 +54,7 @@ extern "C" {
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

4
boards/avsextrem/include/board.h

@ -32,7 +32,7 @@ extern "C" {
#endif
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(2, 25)
@ -51,7 +51,7 @@ extern "C" {
/** @} */
/**
* @brief Initialize the board's clock system
* @brief Initialize the board's clock system
*/
void init_clks1(void);

10
boards/avsextrem/include/periph_conf.h

@ -26,7 +26,7 @@ extern "C" {
#endif
/**
* @name Clock configuration
* @name Clock configuration
* @{
*/
#define CLOCK_CORECLOCK (72000000U) /* this board runs with 72MHz */
@ -35,20 +35,20 @@ extern "C" {
/** @} */
/**
* @name Timer configuration, select a number from 1 to 4
* @name Timer configuration, select a number from 1 to 4
* @{
*/
#define TIMER_NUMOF (1U)
/** @} */
/**
* @name Real Time Clock configuration
* @name Real Time Clock configuration
*/
#define RTC_NUMOF (1U)
/** @} */
/**
* @name UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -56,7 +56,7 @@ extern "C" {
/** @} */
/**
* @name SPI configuration
* @name SPI configuration
* @{
*/
#define SPI_NUMOF (1U)

6
boards/calliope-mini/include/board.h

@ -29,7 +29,7 @@ extern "C" {
#endif
/**
* @brief Xtimer configuration
* @name Xtimer configuration
* @{
*/
#define XTIMER_DEV (0)
@ -39,7 +39,7 @@ extern "C" {
/** @} */
/**
* @brief LED matrix pin configuration
* @name LED matrix pin configuration
* @{
*/
#define MINI_LED_COL1 GPIO_PIN(0, 4)
@ -57,7 +57,7 @@ extern "C" {
/** @} */
/**
* @brief Button configuration
* @name Button configuration
* @{
*/
#define BTN0_PIN GPIO_PIN(0, 17)

10
boards/calliope-mini/include/periph_conf.h

@ -42,7 +42,7 @@ extern "C" {
/** @} */
/**
* @name Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -84,7 +84,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @name UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -95,7 +95,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @name I2C (TWI) configuration
* @name I2C (TWI) configuration
* @{
*/
static const i2c_conf_t i2c_config[] = {
@ -111,7 +111,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @name ADC configuration
* @name ADC configuration
*
* The configuration consists simply of a list of channels that should be used
* @{
@ -120,7 +120,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @brief Radio device configuration
* @name Radio device configuration
*
* The radio is not guarded by a NUMOF define, as the radio is selected by its
* own module in the build system.

9
boards/cc2538dk/include/board.h

@ -28,7 +28,7 @@ extern "C" {
#endif
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(2, 0)
@ -60,10 +60,9 @@ extern "C" {
/** @} */
/**
* @name Flash Customer Configuration Area (CCA) parameters
* @name Flash Customer Configuration Area (CCA) parameters
* @{
*/
#ifndef UPDATE_CCA
#define UPDATE_CCA 1
#endif
@ -74,7 +73,7 @@ extern "C" {
/** @} */
/**
* @name xtimer configuration
* @name xtimer configuration
* @{
*/
#define XTIMER_DEV (0)
@ -87,7 +86,7 @@ extern "C" {
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

6
boards/cc2650stk/include/board.h

@ -28,14 +28,14 @@ extern "C" {
#endif
/**
* @brief Xtimer configuration
* @name Xtimer configuration
* @{
*/
#define XTIMER_WIDTH (16)
/** @} */
/**
* @brief On-board button configuration
* @name On-board button configuration
* @{
*/
#define BUTTON1_DIO GPIO_PIN(0, 4)
@ -43,7 +43,7 @@ extern "C" {
/** @} */
/**
* @brief Macros for controlling the on-board LEDs
* @name Macros for controlling the on-board LEDs
* @{
*/
#define LED0_PIN GPIO_PIN(0, 10)

6
boards/cc2650stk/include/periph_conf.h

@ -26,7 +26,7 @@ extern "C" {
#endif
/**
* @brief Clock configuration
* @name Clock configuration
* @{
*/
/* the main clock is fixed to 48MHZ */
@ -34,7 +34,7 @@ extern "C" {
/** @} */
/**
* @name Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -55,7 +55,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @name UART configuration
* @name UART configuration
*
* The used CC26x0 CPU only supports a single UART device, so all we need to
* configure are the RX and TX pins.

11
boards/chronos/include/board.h

@ -15,7 +15,7 @@
* @file
* @brief Header for the chronos board
*
* @author unknwon
* @author unknown
*/
#ifndef CHRONOS_BOARD_H
@ -28,14 +28,14 @@ extern "C" {
#endif
/**
* @brief Define the CPU model for the <msp430.h>
* @name Define the CPU model for the <msp430.h>
*/
#ifndef __CC430F6137__
#define __CC430F6137__
#endif
/**
* @brief Xtimer configuration
* @name Xtimer configuration
* @{
*/
#define XTIMER_DEV (0)
@ -44,9 +44,10 @@ extern "C" {
/** @} */
/**
* @brief MSP430 core configuration
* @name MSP430 core configuration
* @{
*/
/** @todo Move this to the periph_conf.h */
#define MSP430_INITIAL_CPU_SPEED 7372800uL
#define F_CPU MSP430_INITIAL_CPU_SPEED
#define F_RC_OSCILLATOR 32768
@ -58,5 +59,5 @@ extern "C" {
}
#endif
#endif /* _CHRONOS_BOARD_H */
#endif /* CHRONOS_BOARD_H */
/** @} */

14
boards/chronos/include/periph_conf.h

@ -26,17 +26,17 @@ extern "C" {
#endif
/**
* @brief Clock configuration
*
* @todo Move all clock configuration code here from the board.h
* @name Clock configuration
* @{
*/
/** @todo Move all clock configuration code here from the board.h */
#define CLOCK_CORECLOCK (12000000U)
#define CLOCK_CMCLK CLOCK_CORECLOCK /* no divider programmed */
/** @} */
/**
* @name Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -47,7 +47,7 @@ extern "C" {
/** @} */
/**
* @name UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (1U)
@ -68,9 +68,11 @@ extern "C" {
/** @} */
/**
* @brief Real Time Clock configuration
* @name Real Time Clock configuration
* @{
*/
#define RTC_NUMOF (1)
/** @} */
#ifdef __cplusplus
}

4
boards/ek-lm4f120xl/include/board.h

@ -30,7 +30,7 @@ extern "C" {
#endif
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(5, 7)
@ -56,7 +56,7 @@ extern "C" {
/* @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
extern void board_init(void);

4
boards/f4vi1/include/board.h

@ -30,7 +30,7 @@ extern "C" {
#endif
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(PORT_A, 1)
@ -56,7 +56,7 @@ extern "C" {
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

10
boards/f4vi1/include/periph_conf.h

@ -28,7 +28,7 @@ extern "C" {
#endif
/**
* @name Clock system configuration
* @name Clock system configuration
* @{
*/
#define CLOCK_HSE (16000000U) /* external oscillator */
@ -51,7 +51,7 @@ extern "C" {
/** @} */
/**
* @name Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -78,7 +78,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @name UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -105,14 +105,14 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @name ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_NUMOF (0)
/** @} */
/**
* @name DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)

18
boards/fox/include/board.h

@ -34,12 +34,16 @@ extern "C" {
#endif
/**
* @name Tell the xtimer that we use a 16-bit peripheral timer
* @name Xtimer configuration
*
* Tell the xtimer that we use a 16-bit peripheral timer
* @{
*/
#define XTIMER_WIDTH (16)
/** @} */
/**
* @name Define the interface to the AT86RF231 radio
* @brief Define the interface to the AT86RF231 radio
*
* {spi bus, spi speed, cs pin, int pin, reset pin, sleep pin}
*/
@ -51,7 +55,7 @@ extern "C" {
.reset_pin = GPIO_PIN(PORT_C, 1)}
/**
* @name Define the interface to the LPS331AP pressure sensor
* @name Define the interface to the LPS331AP pressure sensor
* @{
*/
#define LPS331AP_I2C I2C_0
@ -59,7 +63,7 @@ extern "C" {
/** @} */
/**
* @name Define the interface for the L3G4200D gyroscope
* @name Define the interface for the L3G4200D gyroscope
* @{
*/
#define L3G4200D_I2C I2C_0
@ -69,7 +73,7 @@ extern "C" {
/** @} */
/**
* @name Define the interface to the LSM303DLHC accelerometer and magnetometer
* @name Define the interface to the LSM303DLHC accelerometer and magnetometer
* @{
*/
#define LSM303DLHC_I2C I2C_0
@ -81,7 +85,7 @@ extern "C" {
/** @} */
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(PORT_B, 10)
@ -100,7 +104,7 @@ extern "C" {
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

16
boards/fox/include/periph_conf.h

@ -26,7 +26,7 @@ extern "C" {
#endif
/**
* @name Clock system configuration
* @name Clock system configuration
* @{
**/
#define CLOCK_HSE (16000000U) /* frequency of external oscillator */
@ -45,21 +45,21 @@ extern "C" {
/** @} */
/**
* @name ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_NUMOF (0)
/** @} */
/**
* @name DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @name Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -86,7 +86,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @name UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -115,7 +115,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @name SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
@ -154,7 +154,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @name Real time counter configuration
* @name Real time counter configuration
* @{
*/
#define RTT_NUMOF (1U)
@ -169,7 +169,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @name I2C configuration
* @name I2C configuration
* @{
*/
#define I2C_NUMOF (1U)

4
boards/frdm-k64f/include/board.h

@ -31,7 +31,7 @@ extern "C"
#endif
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(PORT_B, 22)
@ -56,7 +56,7 @@ extern "C"
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

26
boards/iotlab-common/include/board_common.h

@ -35,7 +35,7 @@ extern "C" {
#endif
/**
* @name Set the default baudrate to 500K for this board
* @name Set the default baudrate to 500K for this board
* @{
*/
#ifndef UART_STDIO_BAUDRATE
@ -44,12 +44,18 @@ extern "C" {
/** @} */
/**
* @name Tell the xtimer that we use a 16-bit peripheral timer
* @name Xtimer configuration
*
* Tell the xtimer that we use a 16-bit peripheral timer
* @{
*/
#define XTIMER_WIDTH (16)
#define XTIMER_WIDTH (16U)
#define XTIMER_OVERHEAD (6U)
#define XTIMER_SHOOT_EARLY (3U)
/** @} */
/**
* @name Define the interface to the AT86RF231 radio
* @brief Define the interface to the AT86RF231 radio
*
* {spi bus, spi speed, cs pin, int pin, reset pin, sleep pin}
*/
@ -61,7 +67,7 @@ extern "C" {
.reset_pin = GPIO_PIN(PORT_C, 1)}
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(PORT_D, 2)
@ -86,15 +92,7 @@ extern "C" {
/** @} */
/**
* @name xtimer tuning values
* @{
*/
#define XTIMER_OVERHEAD 6
#define XTIMER_SHOOT_EARLY 3
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

14
boards/iotlab-common/include/periph_conf_common.h

@ -27,7 +27,7 @@ extern "C" {
#endif
/**
* @name Clock system configuration
* @name Clock system configuration
* @{
**/
#define CLOCK_HSE (16000000U) /* frequency of external oscillator */
@ -48,7 +48,7 @@ extern "C" {
/** @} */
/**
* @name ADC configuration
* @name ADC configuration
* @{
*/
#define ADC_CONFIG { \
@ -60,7 +60,7 @@ extern "C" {
/** @} */
/**
* @brief Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -87,7 +87,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @brief UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -116,14 +116,14 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @name DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @name Real time counter configuration
* @name Real time counter configuration
* @{
*/
#define RTT_NUMOF (1U)
@ -138,7 +138,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @name I2C configuration
* @name I2C configuration
* @{
*/
#define I2C_NUMOF (1U)

4
boards/limifrog-v1/include/board.h

@ -31,7 +31,7 @@ extern "C" {
#endif
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(PORT_C, 3)
@ -45,7 +45,7 @@ extern "C" {
/** @} */
/**
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
* @brief Initialize board specific hardware, including clock, LEDs and std-IO
*/
void board_init(void);

12
boards/limifrog-v1/include/periph_conf.h

@ -26,7 +26,7 @@ extern "C" {
#endif
/**
* @name Clock system configuration
* @name Clock system configuration
* @{
**/
#define CLOCK_HSI (16000000U) /* internal oscillator */
@ -50,14 +50,14 @@ extern "C" {
/** @} */
/**
* @name DAC configuration
* @name DAC configuration
* @{
*/
#define DAC_NUMOF (0)
/** @} */
/**
* @name Timer configuration
* @name Timer configuration
* @{
*/
static const timer_conf_t timer_config[] = {
@ -76,7 +76,7 @@ static const timer_conf_t timer_config[] = {
/** @} */
/**
* @name UART configuration
* @name UART configuration
* @{
*/
static const uart_conf_t uart_config[] = {
@ -109,7 +109,7 @@ static const uart_conf_t uart_config[] = {
/** @} */
/**
* @name SPI configuration
* @name SPI configuration
*
* @note The spi_divtable is auto-generated from
* `cpu/stm32_common/dist/spi_divtable/spi_divtable.c`
@ -159,7 +159,7 @@ static const spi_conf_t spi_config[] = {
/** @} */
/**
* @name I2C configuration
* @name I2C configuration
* @{
*/
#define I2C_0_EN 1

4
boards/mbed_lpc1768/include/board.h

@ -33,7 +33,7 @@ extern "C" {
#endif
/**
* @brief LED pin definitions and handlers
* @name LED pin definitions and handlers
* @{
*/
#define LED0_PIN GPIO_PIN(1, 18)
@ -62,7 +62,7 @@ extern "C" {
/** @} */
/**
* @brief Initialize board specific hardware, include clocks, LEDs and stdio
* @brief Initialize board specific hardware, include clocks, LEDs and stdio
*/
void board_init(void);

4
boards/mbed_lpc1768/include/periph_conf.h

@ -24,7 +24,7 @@ extern "C" {
#endif
/**
* @name Timer configuration
* @name Timer configuration
* @{
*/
#define TIMER_NUMOF (1U)
@ -44,7 +44,7 @@ extern "C" {
/** @} */
/**
* @name UART configuration
* @name UART configuration
* @{
*/
#define UART_NUMOF (2U)

10
boards/microbit/include/board.h

@ -29,7 +29,7 @@ extern "C" {
#endif
/**
* @brief Xtimer configuration
* @name Xtimer configuration
* @{
*/
#define XTIMER_DEV (0)
@ -39,7 +39,7 @@ extern "C" {
/** @} */
/**
* @brief LED matrix pin configuration
* @name LED matrix pin configuration
* @{
*/
#define MICROBIT_LED_COL1 GPIO_PIN(0, 4)
@ -57,7 +57,7 @@ extern "C" {
/** @} */
/**
* @brief Button configuration
* @name Button configuration
* @{
*/
#define BTN0_PIN GPIO_PIN(0, 17)
@ -65,7 +65,7 @@ extern "C" {
/** @} */
/**
* @brief MMA8653 accelerometer configuration
* @name MMA8653 accelerometer configuration
* @{
*/
#define MMA8653_PARAM_I2C I2C_0,
@ -73,7 +73,7 @@ extern "C" {
/** @} */
/**
* @brief MAG3110 magnetometer configuration
* @name MAG3110 magnetometer configuration
* @{
*/
#define MAG3110_PARAM_I2C I2C_0,

2
boards/microbit/include/periph_conf.h

@ -120,7 +120,7 @@ static const i2c_conf_t i2c_config[] = {
/** @} */
/**
* @brief Radio device configuration
* @name Radio device configuration
*
* The radio is not guarded by a NUMOF define, as the radio is selected by its
* own module in the build system.

10
boards/mips-malta/include/periph_conf.h

@ -28,7 +28,7 @@ extern "C" {
#endif
/**
* @brief Timer definitions
* @name Timer definitions
* @{
*/
#define TIMER_NUMOF (1)
@ -36,18 +36,18 @@ extern "C" {
/** @} */
/**
* @brief No UART driver for this board currently
* Note this value must be set though (to 0)
* @brief No UART driver for this board currently
* Note this value must be set though (to 0)
*/
#define UART_NUMOF (0)
/**
* @brief Enable DSP context save + restore.
* @brief Enable DSP context save + restore.
*/
#define MIPS_DSP (1)
/**
* @brief Enable FPU context save + restore.
* @brief Enable FPU context save + restore.
*/
#define MIPS_HARD_FLOAT (1)

4
boards/msb-430-common/include/board_common.h

@ -34,7 +34,7 @@ extern "C" {
#define INFOMEM (0x1000)
/**
* @brief Xtimer configuration