1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 09:33:50 +01:00

boards: replace header guards with #pragma once

This commit is contained in:
KSKNico 2025-05-23 11:41:02 +02:00
parent a81adc4153
commit 0dba4a888d
792 changed files with 1555 additions and 3140 deletions

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_acd52832
*
@ -19,9 +21,6 @@
* @author Dimitri Nahm <dimitri.nahm@haw-hamburg.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#ifdef __cplusplus
@ -54,5 +53,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_acd52832
* @{
@ -17,9 +19,6 @@
* @author Peter Kietzmann <peter.kietzmann@haw-hamburg.de>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -50,5 +49,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_acd52832
* @{
@ -19,9 +21,6 @@
*
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_clock_32_1.h"
#include "cfg_rtt_default.h"
@ -97,5 +96,4 @@ static const i2c_conf_t i2c_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-clue
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "board_common.h"
@ -115,5 +114,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-clue
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -54,5 +53,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-clue
* @{
@ -17,9 +19,6 @@
*
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_clock_32_0.h"
#include "cfg_rtt_default.h"
@ -119,5 +118,4 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-feather-nrf52840-express
* @{
@ -16,9 +18,6 @@
* @author Martine S. Lenders <martine.lenders@tu-dresden.de>
*/
#ifndef BAT_VOLTAGE_PARAMS_H
#define BAT_VOLTAGE_PARAMS_H
#include "saul/bat_voltage.h"
#ifdef __cplusplus
@ -52,5 +51,4 @@ static const saul_bat_voltage_params_t saul_bat_voltage_params[] =
}
#endif
#endif /* BAT_VOLTAGE_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-feather-nrf52840-express
* @{
@ -17,9 +19,6 @@
* @author Martine S. Lenders <m.lenders@fu-berlin.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "board_common.h"
#include "periph/gpio.h"
@ -83,5 +82,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-feather-nrf52840-express
* @{
@ -16,9 +18,6 @@
* @author Martine S. Lenders <m.lenders@fu-berlin.de>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -55,5 +54,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-feather-nrf52840-express
* @{
@ -18,9 +20,6 @@
*
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_clock_32_1.h"
#include "cfg_rtt_default.h"
@ -93,5 +92,4 @@ static const i2c_conf_t i2c_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-feather-nrf52840-sense
* @{
@ -16,9 +18,6 @@
* @author Martine S. Lenders <martine.lenders@tu-dresden.de>
*/
#ifndef BAT_VOLTAGE_PARAMS_H
#define BAT_VOLTAGE_PARAMS_H
#include "saul/bat_voltage.h"
#ifdef __cplusplus
@ -52,5 +51,4 @@ static const saul_bat_voltage_params_t saul_bat_voltage_params[] =
}
#endif
#endif /* BAT_VOLTAGE_PARAMS_H */
/** @} */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-feather-nrf52840-sense
* @{
@ -19,9 +21,6 @@
* @author Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "board_common.h"
#include "periph/gpio.h"
@ -116,5 +115,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-feather-nrf52840-sense
* @{
@ -18,9 +20,6 @@
* @author Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -57,5 +56,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-feather-nrf52840-sense
* @{
@ -20,9 +22,6 @@
*
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_clock_32_0.h"
#include "cfg_rtt_default.h"
@ -95,5 +94,4 @@ static const i2c_conf_t i2c_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-grand-central-m4-express
* @{
@ -16,9 +18,6 @@
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#ifndef ARDUINO_IOMAP_H
#define ARDUINO_IOMAP_H
#include "periph/gpio.h"
#include "periph/adc.h"
@ -99,5 +98,4 @@ extern "C" {
}
#endif
#endif /* ARDUINO_IOMAP_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-grand-central-m4-express
* @{
@ -16,9 +18,6 @@
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph/gpio.h"
@ -93,5 +92,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-grand-central-m4-express
* @{
@ -16,9 +18,6 @@
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -55,5 +54,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-grand-central-m4-express
* @{
@ -18,9 +20,6 @@
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#ifdef __cplusplus
@ -339,5 +338,4 @@ static const uart_conf_t uart_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-itsybitsy-m4
* @{
@ -16,9 +18,6 @@
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph/gpio.h"
@ -68,5 +67,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-itsybitsy-m4
* @{
@ -16,9 +18,6 @@
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -42,5 +41,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-itsybitsy-m4
* @{
@ -16,9 +18,6 @@
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#ifdef __cplusplus
@ -269,5 +268,4 @@ static const adc_conf_chan_t adc_channels[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-itsybitsy-nrf52
* @{
@ -16,9 +18,6 @@
* @author Bruno Chianca <brunobcf@gmail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "board_common.h"
#include "periph/gpio.h"
@ -73,5 +72,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-itsybitsy-nrf52
* @{
@ -17,9 +19,6 @@
* @author Bruno Chianca <brunobcf@gmail.com>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -50,5 +49,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-itsybitsy-nrf52
* @{
@ -17,9 +19,6 @@
*
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_clock_32_1.h"
#include "cfg_rtt_default.h"
@ -90,5 +89,4 @@ static const i2c_conf_t i2c_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-metro-m4-express
* @{
@ -16,9 +18,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@posteo.net>
*/
#ifndef ARDUINO_IOMAP_H
#define ARDUINO_IOMAP_H
#include "periph/gpio.h"
#include "periph/adc.h"
@ -132,5 +131,4 @@ extern "C" {
}
#endif
#endif /* ARDUINO_IOMAP_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-metro-m4-express
* @{
@ -16,9 +18,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@posteo.net>
*/
#ifndef BOARD_H
#define BOARD_H
#include "arduino_iomap.h"
#include "cpu.h"
#include "periph/gpio.h"
@ -74,5 +73,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-metro-m4-express
* @{
@ -16,9 +18,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@posteo.net>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -55,5 +54,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-metro-m4-express
* @{
@ -16,9 +18,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@posteo.net>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#ifdef __cplusplus
@ -264,5 +263,4 @@ static const uart_conf_t uart_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-pybadge
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph/gpio.h"
@ -115,5 +114,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-pybadge
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -42,5 +41,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_adafruit-pybadge
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#ifdef __cplusplus
@ -301,5 +300,4 @@ static const adc_conf_chan_t adc_channels[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* details.
*/
#pragma once
/**
* @ingroup boards_airfy-beacon
* @{
@ -16,14 +18,10 @@
* @author Christian Mehlis <mehlis@inf.fu-berlin.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
#ifdef __cplusplus
extern "C" {}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_airfy-beacon
* @{
@ -17,9 +19,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_clock_16_1.h"
#include "cfg_timer_012.h"
@ -105,5 +104,4 @@ static const adc_conf_t adc_config[] = {3, 4, 5, 6};
} /* end extern "C" */
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_alientek-pandora
* @{
@ -16,9 +18,6 @@
* @author Luo Jia <luojia@hust.edu.cn>
*/
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "cpu.h"
@ -68,5 +67,4 @@ extern "C" {
#include "stm32_leds.h"
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_alientek-pandora
* @{
@ -16,9 +18,6 @@
* @author Luo Jia <luojia@hust.edu.cn>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -80,5 +79,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_alientek-pandora
* @{
@ -16,9 +18,6 @@
* @author Luo Jia <luojia@hust.edu.cn>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
/* Add specific clock configuration (HSE, LSE) for this board here */
#ifndef CONFIG_BOARD_HAS_LSE
#define CONFIG_BOARD_HAS_LSE 1 /**< This board provides LSE */
@ -85,5 +84,4 @@ static const uart_conf_t uart_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-duemilanove
* @{
@ -16,9 +18,6 @@
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
#ifdef __cplusplus
@ -29,5 +28,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-leonardo
* @{
@ -16,9 +18,6 @@
* @author Thomas Perrot <thomas.perrot@tupi.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
#ifdef __cplusplus
@ -29,5 +28,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -1,5 +1,4 @@
#ifndef ATMEGA_PCINT_H
#define ATMEGA_PCINT_H
#pragma once
#ifdef __cplusplus
extern "C" {
@ -12,5 +11,3 @@ extern "C" {
#ifdef __cplusplus
}
#endif
#endif /* ATMEGA_PCINT_H */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-mega2560
* @{
@ -16,9 +18,6 @@
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef BOARD_H
#define BOARD_H
#ifdef __cplusplus
extern "C" {
#endif
@ -37,5 +36,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-mkr1000
* @{
@ -17,9 +19,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph_conf.h"
#include "board_common.h"
@ -62,5 +61,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-mkrfox1200
* @{
@ -17,9 +19,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph_conf.h"
#include "board_common.h"
@ -61,5 +60,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-mkrwan1300
* @brief Support for the Arduino MKRWAN1300 board.
@ -18,9 +20,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph_conf.h"
#include "board_common.h"
@ -51,5 +50,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-mkrwan1300
* @{
@ -21,9 +23,6 @@
* @author Bumsik kim <kbumsik@gmail.com>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "periph_conf_common.h"
@ -99,5 +98,4 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-mkrzero
* @{
@ -17,9 +19,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph_conf.h"
#include "board_common.h"
@ -69,5 +68,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-ble-sense
* @{
@ -16,9 +18,6 @@
* @author Méwen Berthelot <berthelotmewen@gmail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "board_common.h"
@ -103,5 +102,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-ble-sense
* @{
@ -16,9 +18,6 @@
* @author Méwen Berthelot <berthelotmewen@gmail.com>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -65,5 +64,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -5,6 +5,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-ble-sense
* @{
@ -16,9 +18,6 @@
*
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_clock_32_1.h"
#include "cfg_rtt_default.h"
@ -92,5 +91,4 @@ extern "C"
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-ble
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "board_common.h"
@ -65,5 +64,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-ble
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -65,5 +64,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-ble
* @{
@ -17,9 +19,6 @@
*
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "cfg_clock_32_1.h"
#include "cfg_rtt_default.h"
@ -87,5 +86,4 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-iot
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph/gpio.h"
@ -46,5 +45,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-iot
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -42,5 +41,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano-33-iot
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#ifdef __cplusplus
@ -285,5 +284,4 @@ static const sam0_common_usb_config_t sam_usbdev_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-nano
* @{
@ -16,9 +18,6 @@
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "board_common.h"
#ifdef __cplusplus
@ -29,5 +28,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_arduino-uno
* @{
@ -16,9 +18,6 @@
* @author Martine Lenders <m.lenders@fu-berlin.de>
*/
#ifndef BOARD_H
#define BOARD_H
/**
* @name ztimer configuration values
*
@ -39,5 +38,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -8,6 +8,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega1284p
* @{
@ -20,9 +22,6 @@
* @author Laurent Navet <laurent.navet@gmail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph_conf.h"
@ -57,5 +56,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega1284p
* @{
@ -16,9 +18,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
@ -39,5 +38,4 @@ extern "C" {
#include "periph_conf_atmega_common.h"
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega256rfr2-xpro
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph/gpio.h"
@ -74,5 +73,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega256rfr2-xpro
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -49,5 +48,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega256rfr2-xpro
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_conf_atmega_common.h"
#ifdef __cplusplus
@ -29,5 +28,4 @@ extern "C" {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -9,6 +9,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega328p_xplained_mini
* @{
@ -22,9 +24,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph_conf.h"
@ -80,5 +79,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega328p_xplained_mini
* @{
@ -16,9 +18,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -49,5 +48,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega328p_xplained_mini
* @{
@ -18,9 +20,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
@ -41,5 +40,4 @@ extern "C" {
#include "periph_conf_atmega_common.h"
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -8,6 +8,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega328p
* @{
@ -20,9 +22,6 @@
* @author Laurent Navet <laurent.navet@gmail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph_conf.h"
@ -57,5 +56,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega328p
* @{
@ -16,9 +18,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
@ -39,5 +38,4 @@ extern "C" {
#include "periph_conf_atmega_common.h"
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -9,6 +9,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega8
* @{
@ -22,9 +24,6 @@
* @author Hugues Larrive <hugues.larrive@pm.me>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph_conf.h"
@ -59,5 +58,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -7,6 +7,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atmega8
* @{
@ -18,9 +20,6 @@
* @author Hugues Larrive <hugues.larrive@pm.me>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
@ -41,5 +40,4 @@ extern "C" {
#include "periph_conf_atmega_common.h"
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a1-xplained
* @{
@ -16,9 +18,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "macros/units.h"
@ -182,5 +181,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a1-xplained
* @{
@ -16,9 +18,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -133,5 +132,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a1-xplained
* @{
@ -17,9 +19,6 @@
*/
#include "mutex.h"
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
@ -238,5 +237,4 @@ static const ebi_conf_t ebi_config = {
#include "periph_conf_common.h"
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a1u-xpro
* @{
@ -16,9 +18,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "macros/units.h"
@ -99,5 +98,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a1u-xpro
* @{
@ -16,9 +18,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -49,5 +48,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a1u-xpro
* @{
@ -17,9 +19,6 @@
*/
#include "mutex.h"
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
@ -174,5 +173,4 @@ static const ebi_conf_t ebi_config = {
#include "periph_conf_common.h"
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a3bu-xplained
* @{
@ -16,9 +18,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "macros/units.h"
@ -114,5 +113,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a3bu-xplained
* @{
@ -16,9 +18,6 @@
* @author Gerson Fernando Budke <nandojve@gmail.com>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -67,5 +66,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_atxmega-a3bu-xplained
* @{
@ -17,9 +19,6 @@
*/
#include "mutex.h"
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
@ -153,5 +152,4 @@ static const spi_conf_t spi_config[] = {
#include "periph_conf_common.h"
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_avr-rss2
* @{
@ -17,9 +19,6 @@
*
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph/gpio.h"
@ -114,5 +113,4 @@ extern "C" {
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_avr-rss2
* @{
@ -15,9 +17,6 @@
*
* @author Benjamin Valentin <benjamin.valentin@ml-pa.com>
*/
#ifndef EUI_PROVIDER_PARAMS_H
#define EUI_PROVIDER_PARAMS_H
#include "at24mac.h"
#ifdef __cplusplus
@ -46,5 +45,4 @@ static inline int _at24mac_get_eui64(uint8_t index, eui64_t *addr)
}
#endif
#endif /* EUI_PROVIDER_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_avr-rss2
* @{
@ -16,9 +18,6 @@
* @author Robert Olsson <roolss@kth.se>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -55,5 +54,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_avr-rss2
* @{
@ -16,9 +18,6 @@
*
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
@ -36,5 +35,4 @@ extern "C" {
#include "periph_conf_atmega_common.h"
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -7,6 +7,8 @@
*
*/
#pragma once
/**
* @ingroup boards_avsextrem
* @{
@ -18,9 +20,6 @@
* @author Zakaria Kasmi
*/
#ifndef BOARD_H
#define BOARD_H
#include "lpc23xx.h"
#include "bitarithm.h"
@ -52,4 +51,3 @@ extern "C" {
#endif
/** @} */
#endif /* BOARD_H */

View File

@ -6,6 +6,8 @@
* details.
*/
#pragma once
/**
* @ingroup boards_avsextrem
* @{
@ -16,9 +18,6 @@
* @author Hauke Petersen <hauke.petersen@fu-berlin.de>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#ifdef __cplusplus
@ -84,5 +83,4 @@ static const spi_conf_t spi_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-l072z-lrwan1
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "cpu.h"
@ -85,5 +84,4 @@ extern "C" {
#include "stm32_leds.h"
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-l072z-lrwan1
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -64,5 +63,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-l072z-lrwan1
* @{
@ -17,9 +19,6 @@
* @author Thibault Tisserand <gzordrai@gmail.com>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
/* Add specific clock configuration (HSE, LSE) for this board here */
#ifndef CONFIG_BOARD_HAS_LSE
#define CONFIG_BOARD_HAS_LSE 1
@ -167,5 +166,4 @@ static const adc_conf_t adc_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-l475e-iot01a
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "cpu.h"
@ -83,5 +82,4 @@ extern "C" {
#include "stm32_leds.h"
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-l475e-iot01a
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -57,5 +56,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-l475e-iot01a
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
/* Add specific clock configuration (HSE, LSE) for this board here */
#ifndef CONFIG_BOARD_HAS_LSE
#define CONFIG_BOARD_HAS_LSE 1
@ -250,5 +249,4 @@ static const i2c_conf_t i2c_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-u585i-iot02a
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef BOARD_H
#define BOARD_H
#include <stdint.h>
#include "cpu.h"
@ -72,5 +71,4 @@ extern "C" {
#include "stm32_leds.h"
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-u585i-iot02a
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -63,5 +62,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_b-u585i-iot02a
* @{
@ -16,9 +18,6 @@
* @author Alexandre Abadie <alexandre.abadie@inria.fr>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
/* Add specific clock configuration (HSE, LSE) for this board here */
#ifndef CONFIG_BOARD_HAS_LSE
#define CONFIG_BOARD_HAS_LSE 1
@ -185,5 +184,4 @@ static const i2c_conf_t i2c_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @defgroup boards_bastwan BastWAN board
* @ingroup boards
@ -21,9 +23,6 @@
* @author Lokotius Filzer <h-filzer@pixelsalat.de>
*/
#ifndef BOARD_H
#define BOARD_H
#include "cpu.h"
#include "periph/gpio.h"
#include "periph/pm.h"
@ -72,5 +71,4 @@ extern "C"
}
#endif
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_bastwan
* @{
@ -16,9 +18,6 @@
* @author Lokotius Filzer <h-filzer@pixelsalat.de>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -44,5 +43,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_bastwan
* @{
@ -16,9 +18,6 @@
* @author Lokotius Filzer <h-filzer@pixelsalat.de>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_cpu.h"
#include "macros/units.h"
@ -205,5 +204,4 @@ static const sam0_common_usb_config_t sam_usbdev_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

View File

@ -8,6 +8,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_blackpill_stm32f103c8
* @brief Support for the stm32f103c8 based Black pill.
@ -24,9 +26,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef BOARD_H
#define BOARD_H
#ifdef __cplusplus
extern "C" {
#endif
@ -47,5 +46,4 @@ extern "C" {
/* Beware: This include must come *after* LED0 parameters have been defined */
#include "board_common.h"
#endif /* BOARD_H */
/** @} */

View File

@ -8,6 +8,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_blackpill_stm32f103cb
* @brief Support for the stm32f103c8 based Black pill.
@ -24,9 +26,6 @@
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#ifndef BOARD_H
#define BOARD_H
#ifdef __cplusplus
extern "C" {
#endif
@ -47,5 +46,4 @@ extern "C" {
/* Beware: This include must come *after* LED0 parameters have been defined */
#include "board_common.h"
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_bluepill-stm32f030c8
*
@ -21,9 +23,6 @@
* @author Benjamin Valentin <benpicco@googlemail.com>
*/
#ifndef BOARD_H
#define BOARD_H
#ifdef __cplusplus
extern "C" {
#endif
@ -51,5 +50,4 @@ extern "C" {
#include "stm32_leds.h"
#endif /* BOARD_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_bluepill-stm32f030c8
* @{
@ -16,9 +18,6 @@
* @author Benjamin Valentin <benpicco@googlemail.com>
*/
#ifndef GPIO_PARAMS_H
#define GPIO_PARAMS_H
#include "board.h"
#include "saul/periph.h"
@ -43,5 +42,4 @@ static const saul_gpio_params_t saul_gpio_params[] =
}
#endif
#endif /* GPIO_PARAMS_H */
/** @} */

View File

@ -6,6 +6,8 @@
* directory for more details.
*/
#pragma once
/**
* @ingroup boards_bluepill-stm32f030c8
* @{
@ -17,9 +19,6 @@
* @author Benjamin Valentin <benpicco@googlemail.com>
*/
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
/* This board provides a LSE */
#ifndef CONFIG_BOARD_HAS_LSE
#define CONFIG_BOARD_HAS_LSE 1
@ -149,5 +148,4 @@ static const adc_conf_t adc_config[] = {
}
#endif
#endif /* PERIPH_CONF_H */
/** @} */

Some files were not shown because too many files have changed in this diff Show More