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

boards/nrf6310: 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-08-15 11:47:07 +02:00
parent 5f1a61ed72
commit 0029bb33ef
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
2 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,8 @@
CPU_MODEL = nrf51x22xxaa
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_spi
FEATURES_PROVIDED += periph_uart
# include common nrf51 based boards features
include $(RIOTBOARD)/common/nrf51/Makefile.features
include $(RIOTCPU)/nrf51/Makefile.features

View File

@ -1,6 +1,3 @@
# define the used CPU
export CPU_MODEL = nrf51x22xxaa
# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))