diff --git a/boards/common/blxxxpill/Makefile.features b/boards/common/blxxxpill/Makefile.features index 4a5fb7b385..45e0f483f0 100644 --- a/boards/common/blxxxpill/Makefile.features +++ b/boards/common/blxxxpill/Makefile.features @@ -4,6 +4,7 @@ CPU = stm32f1 FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_i2c FEATURES_PROVIDED += periph_pwm +FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart diff --git a/boards/common/blxxxpill/include/periph_conf.h b/boards/common/blxxxpill/include/periph_conf.h index 7127e6b786..9e5ada8a45 100644 --- a/boards/common/blxxxpill/include/periph_conf.h +++ b/boards/common/blxxxpill/include/periph_conf.h @@ -59,6 +59,15 @@ extern "C" { #define CLOCK_PLL_MUL (9) /** @} */ +/** + * @name Real time counter configuration + * @{ + */ +#ifndef RTT_FREQUENCY +#define RTT_FREQUENCY (16384) /* in Hz */ +#endif +/** @} */ + /** * @name ADC configuration * @{