mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/*-kw41z: add ztimer_msec config
This commit is contained in:
parent
73adecc02d
commit
84365e326a
@ -89,6 +89,14 @@ extern "C"
|
||||
#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
|
||||
* @{
|
||||
|
@ -104,6 +104,14 @@ extern "C"
|
||||
#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
|
||||
* @{
|
||||
|
@ -100,6 +100,16 @@ extern "C"
|
||||
#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
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user