1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards: enable RTC for every ATmega board that supports RTT

Every ATmega board that can run an Real Time Timer can also run
an emulated Real Time Clock.

Got all supported boards by adding `FEATURES_REQUIRED += arch_8bit`
to `tests/periph_rtt` and running

    sed -i 's/FEATURES_PROVIDED += periph_rtt/
              FEATURES_PROVIDED += periph_rtc\n
              FEATURES_PROVIDED += periph_rtt/g'

on them.
This commit is contained in:
Benjamin Valentin 2020-02-18 00:25:36 +01:00 committed by Benjamin Valentin
parent 93d2068a9e
commit 1dd260b446
6 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,7 @@ CPU = atmega256rfr2
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer

View File

@ -2,6 +2,7 @@ CPU = atmega256rfr2
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer

View File

@ -2,6 +2,7 @@ CPU = atmega128rfa1
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer

View File

@ -2,6 +2,7 @@ CPU = atmega256rfr2
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer

View File

@ -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_rtc
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer

View File

@ -3,6 +3,7 @@ CPU = atmega128rfa1
# This board is based on an atmega CPU, thus import the features from it
FEATURES_PROVIDED += periph_adc
FEATURES_PROVIDED += periph_i2c
FEATURES_PROVIDED += periph_rtc
FEATURES_PROVIDED += periph_rtt
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer