1
0
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:
cladmi 2018-09-22 07:12:36 +02:00 committed by Gaëtan Harter
parent 49d61bbe6e
commit 5f1a61ed72
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
3 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,3 @@
include $(RIOTCPU)/nrf52/Makefile.dep
ifneq (,$(filter skald,$(USEMODULE)))
USEMODULE += nrfble
endif

View File

@ -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

View File

@ -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