boards/native: add ztimer configuration
This commit is contained in:
parent
84365e326a
commit
a2c0823063
@ -183,6 +183,16 @@ static const motor_driver_config_t motor_driver_config[] = {
|
|||||||
#define MOTOR_DRIVER_NUMOF ARRAY_SIZE(motor_driver_config)
|
#define MOTOR_DRIVER_NUMOF ARRAY_SIZE(motor_driver_config)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @name ztimer configuration
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
|
||||||
|
#define CONFIG_ZTIMER_USEC_DEV TIMER_DEV(0)
|
||||||
|
/* on native, anything can happen... */
|
||||||
|
#define CONFIG_ZTIMER_USEC_MIN (64)
|
||||||
|
/** @} */
|
||||||
|
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user