boards/native: add ztimer configuration

This commit is contained in:
Kaspar Schleiser 2019-12-18 15:52:56 +01:00
parent 84365e326a
commit a2c0823063

View File

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