diff --git a/boards/sensebox_samd21/Makefile.features b/boards/sensebox_samd21/Makefile.features index df6f5c09f4..e5b79684b9 100644 --- a/boards/sensebox_samd21/Makefile.features +++ b/boards/sensebox_samd21/Makefile.features @@ -5,6 +5,7 @@ CPU_MODEL = samd21g18a FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_rtc +FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart diff --git a/boards/sensebox_samd21/include/periph_conf.h b/boards/sensebox_samd21/include/periph_conf.h index 050f61d970..741193e076 100644 --- a/boards/sensebox_samd21/include/periph_conf.h +++ b/boards/sensebox_samd21/include/periph_conf.h @@ -210,11 +210,12 @@ static const i2c_conf_t i2c_config[] = { #define I2C_NUMOF ARRAY_SIZE(i2c_config) /** - * @name RTC configuration + * @name RTT configuration * @{ */ -#define RTC_DEV RTC->MODE2 - +#ifndef RTT_FREQUENCY +#define RTT_FREQUENCY (32768U) /* in Hz. For changes see `rtc_rtt.c` */ +#endif /** @} */ /**