From 6f41ecc74b8a88798b2197fb7d203916c7bd2b68 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Sun, 24 Nov 2019 23:51:43 +0100 Subject: [PATCH] boards: ATmega: enable periph_rtt for boards with 32kHz crystal The RTT on ATmega only works if the board provides a 32kHz oscillator. --- boards/atmega256rfr2-xpro/Makefile.features | 1 + boards/avr-rss2/Makefile.features | 2 +- boards/derfmega128/Makefile.features | 1 + boards/derfmega256/Makefile.features | 1 + boards/mega-xplained/Makefile.features | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/boards/atmega256rfr2-xpro/Makefile.features b/boards/atmega256rfr2-xpro/Makefile.features index d74e7bdea9..a5ea5355af 100644 --- a/boards/atmega256rfr2-xpro/Makefile.features +++ b/boards/atmega256rfr2-xpro/Makefile.features @@ -2,6 +2,7 @@ CPU = atmega256rfr2 FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_i2c +FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart diff --git a/boards/avr-rss2/Makefile.features b/boards/avr-rss2/Makefile.features index d546b9348c..a5ea5355af 100644 --- a/boards/avr-rss2/Makefile.features +++ b/boards/avr-rss2/Makefile.features @@ -1,8 +1,8 @@ - CPU = atmega256rfr2 FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_i2c +FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart diff --git a/boards/derfmega128/Makefile.features b/boards/derfmega128/Makefile.features index 4d6d79920d..39c6edee03 100644 --- a/boards/derfmega128/Makefile.features +++ b/boards/derfmega128/Makefile.features @@ -2,6 +2,7 @@ CPU = atmega128rfa1 FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_i2c +FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart diff --git a/boards/derfmega256/Makefile.features b/boards/derfmega256/Makefile.features index d74e7bdea9..a5ea5355af 100644 --- a/boards/derfmega256/Makefile.features +++ b/boards/derfmega256/Makefile.features @@ -2,6 +2,7 @@ CPU = atmega256rfr2 FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_i2c +FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart diff --git a/boards/mega-xplained/Makefile.features b/boards/mega-xplained/Makefile.features index 54f8edddcf..0c094dafc5 100644 --- a/boards/mega-xplained/Makefile.features +++ b/boards/mega-xplained/Makefile.features @@ -3,6 +3,7 @@ CPU = atmega1284p # Put defined MCU peripherals here (in alphabetical order) FEATURES_PROVIDED += periph_adc FEATURES_PROVIDED += periph_i2c +FEATURES_PROVIDED += periph_rtt FEATURES_PROVIDED += periph_spi FEATURES_PROVIDED += periph_timer FEATURES_PROVIDED += periph_uart