1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

boards/hifive1*: move xtimer definitions to board.h

This commit is contained in:
Alexandre Abadie 2019-12-05 18:54:09 +01:00
parent 6827472a1f
commit 39cf4d38c1
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
4 changed files with 14 additions and 20 deletions

View File

@ -27,6 +27,13 @@
extern "C" {
#endif
/**
* @name Xtimer configuration
* @{
*/
#define XTIMER_HZ (32768UL)
/** @} */
/**
* @name Macros for controlling the on-board LEDs
* @{

View File

@ -34,16 +34,6 @@ extern "C" {
#define CLOCK_CORECLOCK (200000000ul)
/** @} */
/**
* @name Xtimer configuration
* @{
*/
#define XTIMER_DEV (0)
#define XTIMER_CHAN (0)
#define XTIMER_WIDTH (32)
#define XTIMER_HZ (32768ul)
/** @} */
/**
* @name Timer configuration
*

View File

@ -28,6 +28,13 @@
extern "C" {
#endif
/**
* @name Xtimer configuration
* @{
*/
#define XTIMER_HZ (32768UL)
/** @} */
/**
* @name Macros for controlling the on-board LEDs
* @{

View File

@ -35,16 +35,6 @@ extern "C" {
#define CLOCK_CORECLOCK (200000000ul)
/** @} */
/**
* @name Xtimer configuration
* @{
*/
#define XTIMER_DEV (0)
#define XTIMER_CHAN (0)
#define XTIMER_WIDTH (32)
#define XTIMER_HZ (32768ul)
/** @} */
/**
* @name Timer configuration
*