diff --git a/boards/common/arduino-atmega/include/board_common.h b/boards/common/arduino-atmega/include/board_common.h index b9b2c87f00..458145e893 100644 --- a/boards/common/arduino-atmega/include/board_common.h +++ b/boards/common/arduino-atmega/include/board_common.h @@ -105,6 +105,16 @@ extern "C" { #define XTIMER_BACKOFF (40) /** @} */ +/** + * @name ztimer configuration values + * @{ + */ +#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER +#define CONFIG_ZTIMER_USEC_DEV (TIMER_DEV(0)) +#define CONFIG_ZTIMER_USEC_FREQ (250000LU) +#define CONFIG_ZTIMER_USEC_WIDTH (16) +/** @} */ + /** * @name Configuration parameters for the W5100 driver * @{