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

boards/hifive1*: move CPU/CPU_MODEL definition to Makefile.features

cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are
automatically included

Part of moving CPU/CPU_MODEL definition to Makefile.features to have it
available before Makefile.include.
This commit is contained in:
Gaëtan Harter 2019-06-03 11:08:02 +02:00
parent 0029bb33ef
commit 29459beaf2
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
6 changed files with 6 additions and 14 deletions

View File

@ -1 +0,0 @@
include $(RIOTCPU)/fe310/Makefile.dep

View File

@ -1,3 +1,6 @@
CPU = fe310
CPU_MODEL = fe310_g000
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
#FEATURES_PROVIDED += periph_pwm
@ -6,5 +9,3 @@ FEATURES_PROVIDED += periph_rtt
#FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/fe310/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by the HiFive1 board
export CPU = fe310
export CPU_MODEL = fe310_g000
# Uses UART0 for stdio input/output (comment out to disable)
USEMODULE += stdio_uart

View File

@ -1 +0,0 @@
include $(RIOTCPU)/fe310/Makefile.dep

View File

@ -1,3 +1,6 @@
CPU = fe310
CPU_MODEL = fe310_g002
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
#FEATURES_PROVIDED += periph_i2c
@ -7,5 +10,3 @@ FEATURES_PROVIDED += periph_rtt
#FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_timer
FEATURES_PROVIDED += periph_uart
include $(RIOTCPU)/fe310/Makefile.features

View File

@ -1,7 +1,3 @@
# define the cpu used by the HiFive1 board
export CPU = fe310
export CPU_MODEL = fe310_g002
# Uses UART0 for stdio input/output (comment out to disable)
USEMODULE += stdio_uart