boards/*-kw41z: add ztimer_msec config

This commit is contained in:
Kaspar Schleiser 2019-07-19 23:02:20 +02:00
parent 73adecc02d
commit 84365e326a
3 changed files with 26 additions and 0 deletions

View File

@ -89,6 +89,14 @@ extern "C"
#endif #endif
/** @} */ /** @} */
/**
* @name ztimer configuration
* @{
*/
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
#define CONFIG_ZTIMER_USEC_DEV (TIMER_PIT_DEV(0))
/** @} */
/** /**
* @name NOR flash hardware configuration * @name NOR flash hardware configuration
* @{ * @{

View File

@ -104,6 +104,14 @@ extern "C"
#endif #endif
/** @} */ /** @} */
/**
* @name ztimer configuration
* @{
*/
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
#define CONFIG_ZTIMER_USEC_DEV (TIMER_PIT_DEV(0))
/** @} */
/** /**
* @name Define the interface for the CCS811 gas sensors * @name Define the interface for the CCS811 gas sensors
* @{ * @{

View File

@ -100,6 +100,16 @@ extern "C"
#endif #endif
/** @} */ /** @} */
/**
* @name ztimer configuration
* @{
*/
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
#define CONFIG_ZTIMER_USEC_DEV (TIMER_PIT_DEV(0))
#define CONFIG_ZTIMER_USEC_FREQ (1000000LU)
#define CONFIG_ZTIMER_USEC_WIDTH (32)
/** @} */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif