boards/*-kw41z: add ztimer_msec config
This commit is contained in:
parent
73adecc02d
commit
84365e326a
@ -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
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -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
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user