1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

boards/sensebox_samd21: fix RTT configuration

The board did not have an updated RTT configuration yet.
Remove the obsolete RTC configuration.
This commit is contained in:
Benjamin Valentin 2020-07-02 11:22:11 +02:00
parent 339e3faf21
commit e4cb2bc0dc
2 changed files with 5 additions and 3 deletions

View File

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

View File

@ -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
/** @} */
/**