mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-18 11:03:50 +01:00
cpu/native: define default CLOCK_CORECLOCK constant
This commit is contained in:
parent
ec41c43751
commit
b206658b51
@ -16,10 +16,21 @@
|
|||||||
#ifndef PERIPH_CONF_H
|
#ifndef PERIPH_CONF_H
|
||||||
#define PERIPH_CONF_H
|
#define PERIPH_CONF_H
|
||||||
|
|
||||||
|
#include "macros/units.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief System core clock in Hz
|
||||||
|
*
|
||||||
|
* 1GHz is an arbitrary value used for compatibility with other platforms.
|
||||||
|
*/
|
||||||
|
#ifndef CLOCK_CORECLOCK
|
||||||
|
#define CLOCK_CORECLOCK GHZ(1)
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name hardware timer clock skew avoidance
|
* @name hardware timer clock skew avoidance
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user