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`
44 lines
981 B
C
44 lines
981 B
C
/*
|
|
* Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen
|
|
* Copyright (C) 2016 INRIA, Francisco Acosta
|
|
* 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_waspmote-pro
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Peripheral MCU configuration for the Waspmote PRO v1.2 board
|
|
*
|
|
* @author Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de>
|
|
* @author Francisco Acosta <francisco.acosta@inria.fr>
|
|
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
*/
|
|
|
|
#ifndef PERIPH_CONF_H
|
|
#define PERIPH_CONF_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @name Clock configuration
|
|
* @{
|
|
*/
|
|
#define CLOCK_CORECLOCK (14745600UL)
|
|
/** @} */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#include "periph_conf_atmega_common.h"
|
|
|
|
#endif /* PERIPH_CONF_H */
|