1
0
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:
Alexandre Abadie 2021-12-05 11:54:31 +01:00
parent ec41c43751
commit b206658b51
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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
* @{