mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +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
|
||||
#define PERIPH_CONF_H
|
||||
|
||||
#include "macros/units.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#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
|
||||
* @{
|
||||
|
Loading…
Reference in New Issue
Block a user