mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
7bc9b4b707
- Moved code for periph_conf of all ATmega based boards to boards/common/atmega - Added possibility to override config from individual board: - Named file `periph_conf_atmega_common.h` and let this be included from `board/$BOARD/include/periph_conf.h` to allow modifications - Guarded individual periph configs by `#ifndef $PERIPH_NUMOF` ... `#endif`
40 lines
806 B
C
40 lines
806 B
C
/*
|
|
* Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup boards_common_arduino-atmega
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Common configuration of MCU periphery for Arduino Atmega boards
|
|
*
|
|
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
*/
|
|
|
|
#ifndef PERIPH_CONF_H
|
|
#define PERIPH_CONF_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*
|
|
* Any overwrites of the common ATmega periph config would come here, as needs
|
|
* to be placed before the include. (Currently none needed.)
|
|
*/
|
|
|
|
/** @} */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#include "periph_conf_atmega_common.h"
|
|
|
|
#endif /* PERIPH_CONF_H */
|