boards/pic32*: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are automatically included Add the missing space when defining 'CPU_MODEL'. Part of moving CPU/CPU_MODEL definition to Makefile.features to have it available before Makefile.include.
This commit is contained in:
parent
29459beaf2
commit
33816cbbb3
@ -1,6 +1,7 @@
|
||||
CPU = mips_pic32mx
|
||||
CPU_MODEL = p32mx470f512h
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
FEATURES_PROVIDED += periph_gpio
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
|
||||
include $(RIOTCPU)/mips_pic32mx/Makefile.features
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
export CPU = mips_pic32mx
|
||||
export CPU_MODEL=p32mx470f512h
|
||||
export APPDEPS += $(RIOTCPU)/$(CPU)/$(CPU_MODEL)/$(CPU_MODEL).S
|
||||
export USE_UHI_SYSCALLS = 1
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
CPU = mips_pic32mz
|
||||
CPU_MODEL = p32mz2048efg100
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
FEATURES_PROVIDED += periph_gpio
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
|
||||
include $(RIOTCPU)/mips_pic32mz/Makefile.features
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
export CPU = mips_pic32mz
|
||||
export CPU_MODEL=p32mz2048efg100
|
||||
export APPDEPS += $(RIOTCPU)/$(CPU)/$(CPU_MODEL)/$(CPU_MODEL).S
|
||||
export USE_UHI_SYSCALLS = 1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user