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:
parent
0029bb33ef
commit
29459beaf2
@ -1 +0,0 @@
|
||||
include $(RIOTCPU)/fe310/Makefile.dep
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
include $(RIOTCPU)/fe310/Makefile.dep
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user