Skip to content

Commit

Permalink
boards/common/arduino-due: add RTT config+feature
Browse files Browse the repository at this point in the history
  • Loading branch information
haukepetersen committed Mar 11, 2020
1 parent ea2910e commit 8f8eb86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/common/arduino-due/Makefile.features
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions boards/common/arduino-due/include/periph_conf.h
Expand Up @@ -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
* @{
Expand Down

0 comments on commit 8f8eb86

Please sign in to comment.