1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/atmega256rfr2-xpro: configure external 16MHz oscillator

This commit is contained in:
Alexandre Abadie 2019-11-06 07:28:39 +01:00
parent d02ed3a3ff
commit 498cbe9bbc
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 4 additions and 16 deletions

View File

@ -44,13 +44,11 @@ extern "C" {
/**
* @name xtimer configuration values
*
* Xtimer runs at 8MHz / 64 = 125kHz
* Xtimer runs at 16MHz / 64 = 250kHz
* @{
*/
#define XTIMER_DEV (0)
#define XTIMER_CHAN (0)
#define XTIMER_WIDTH (16)
#define XTIMER_HZ (125000UL)
#define XTIMER_HZ (250000UL)
#define XTIMER_BACKOFF (40)
/** @} */

View File

@ -19,24 +19,14 @@
#ifndef PERIPH_CONF_H
#define PERIPH_CONF_H
#include "periph_conf_atmega_common.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @name Clock configuration
* @{
*/
#ifndef CLOCK_CORECLOCK
/* Using 8MHz internal oscillator as default clock source */
#define CLOCK_CORECLOCK (8000000UL)
#endif
/** @} */
#ifdef __cplusplus
}
#endif
#include "periph_conf_atmega_common.h"
#endif /* PERIPH_CONF_H */