boards/common/arduino-due: add RTT config+feature

This commit is contained in:
Hauke Petersen 2020-03-10 15:08:11 +01:00
parent ea2910e2f4
commit 8f8eb86e54
2 changed files with 8 additions and 0 deletions

View File

@ -6,6 +6,7 @@ FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_dac
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_pwm
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart

View File

@ -72,6 +72,13 @@ static const timer_conf_t timer_config[] = {
#define TIMER_NUMOF ARRAY_SIZE(timer_config)
/** @} */
/**
* @name RTT configuration
* @{
*/
#define RTT_FREQUENCY (1U) /* 1Hz */
/** @} */
/**
* @name UART configuration
* @{