Skip to content

Commit

Permalink
boards: include potential features from CPU for atmega boards
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kYc0o committed Nov 5, 2018
1 parent 8ae741d commit c7f3bfc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
3 changes: 0 additions & 3 deletions boards/common/arduino-atmega/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ FEATURES_PROVIDED += periph_uart
ifeq (,$(filter jiminy-mega256rfr2,$(BOARD)))
FEATURES_PROVIDED += arduino
endif

# The board MPU family (used for grouping by the CI system)
FEATURES_MCU_GROUP = avr8
6 changes: 2 additions & 4 deletions boards/jiminy-mega256rfr2/Makefile.features
Original file line number Diff line number Diff line change
@@ -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

# Put defined MCU peripherals here (in alphabetical order)
# Peripherals are defined in common/arduino-atmega/Makefile.features
# Add only additional Peripherals

# The board MPU family (used for grouping by the CI system)
FEATURES_MCU_GROUP = avr6

include $(RIOTCPU)/atmega256rfr2/Makefile.features
-include $(RIOTCPU)/atmega256rfr2/Makefile.features
5 changes: 1 addition & 4 deletions boards/mega-xplained/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ FEATURES_PROVIDED += periph_uart

# Various other features (if any)

# The board MPU family (used for grouping by the CI system)
FEATURES_MCU_GROUP = avr8

include $(RIOTCPU)/atmega1284p/Makefile.features
-include $(RIOTCPU)/atmega1284p/Makefile.features
5 changes: 1 addition & 4 deletions boards/waspmote-pro/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ FEATURES_PROVIDED += periph_uart

# Various other features (if any)

# The board MPU family (used for grouping by the CI system)
FEATURES_MCU_GROUP = avr8

include $(RIOTCPU)/atmega1281/Makefile.features
-include $(RIOTCPU)/atmega1281/Makefile.features

0 comments on commit c7f3bfc

Please sign in to comment.