boards: include potential features from CPU for atmega boards

Features must be provided by the board if they're actually
available on board. Other features might be provided by the
CPU.

Some grouping is also removed as it is not necessary.
This commit is contained in:
Francisco Acosta 2018-11-05 18:04:43 +01:00 committed by kYc0o
parent d208cba464
commit 7139393394
4 changed files with 4 additions and 15 deletions

View File

@ -11,6 +11,3 @@ ifeq (,$(filter jiminy-mega256rfr2,$(BOARD)))
FEATURES_PROVIDED += arduino FEATURES_PROVIDED += arduino
FEATURES_PROVIDED += periph_pwm FEATURES_PROVIDED += periph_pwm
endif endif
# The board MPU family (used for grouping by the CI system)
FEATURES_MCU_GROUP = avr8

View File

@ -1,10 +1,8 @@
# This board is based on an atmega CPU, thus import the features from it
include $(RIOTBOARD)/common/arduino-atmega/Makefile.features include $(RIOTBOARD)/common/arduino-atmega/Makefile.features
# Put defined MCU peripherals here (in alphabetical order) # Put defined MCU peripherals here (in alphabetical order)
# Peripherals are defined in common/arduino-atmega/Makefile.features # Peripherals are defined in common/arduino-atmega/Makefile.features
# Add only additional Peripherals # Add only additional Peripherals
# The board MPU family (used for grouping by the CI system) -include $(RIOTCPU)/atmega256rfr2/Makefile.features
FEATURES_MCU_GROUP = avr6
include $(RIOTCPU)/atmega256rfr2/Makefile.features

View File

@ -8,7 +8,4 @@ FEATURES_PROVIDED += periph_uart
# Various other features (if any) # Various other features (if any)
# The board MPU family (used for grouping by the CI system) -include $(RIOTCPU)/atmega1284p/Makefile.features
FEATURES_MCU_GROUP = avr8
include $(RIOTCPU)/atmega1284p/Makefile.features

View File

@ -8,7 +8,4 @@ FEATURES_PROVIDED += periph_uart
# Various other features (if any) # Various other features (if any)
# The board MPU family (used for grouping by the CI system) -include $(RIOTCPU)/atmega1281/Makefile.features
FEATURES_MCU_GROUP = avr8
include $(RIOTCPU)/atmega1281/Makefile.features