mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/common/nrf52: move CPU/CPU_MODEL definiton 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
49d61bbe6e
commit
5f1a61ed72
@ -1,5 +1,3 @@
|
||||
include $(RIOTCPU)/nrf52/Makefile.dep
|
||||
|
||||
ifneq (,$(filter skald,$(USEMODULE)))
|
||||
USEMODULE += nrfble
|
||||
endif
|
||||
|
@ -1,3 +1,5 @@
|
||||
CPU = nrf52
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
FEATURES_PROVIDED += periph_rtt
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
@ -8,5 +10,3 @@ endif
|
||||
# Various other features (if any)
|
||||
FEATURES_PROVIDED += ble_nimble
|
||||
FEATURES_PROVIDED += radio_nrfble
|
||||
|
||||
include $(RIOTCPU)/nrf52/Makefile.features
|
||||
|
@ -1,6 +1,3 @@
|
||||
# this module contains shared code for all boards using the nrf52 CPU
|
||||
export CPU = nrf52
|
||||
|
||||
# include this module into the build
|
||||
INCLUDES += -I$(RIOTBOARD)/common/nrf52/include
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user