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:
parent
d02ed3a3ff
commit
498cbe9bbc
@ -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)
|
||||
/** @} */
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user