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

boards/cc2538dk: 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-06-03 11:08:02 +02:00
parent 17877ca993
commit 8a2d999848
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
2 changed files with 3 additions and 6 deletions

View File

@ -1,3 +1,6 @@
CPU = cc2538
CPU_MODEL ?= cc2538nf53
# Put defined MCU peripherals here (in alphabetical order)
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
FEATURES_PROVIDED += periph_i2c
@ -8,5 +11,3 @@ FEATURES_PROVIDED += periph_adc
# Various other features (if any)
FEATURES_PROVIDED += emulator_renode
include $(RIOTCPU)/cc2538/Makefile.features

View File

@ -1,7 +1,3 @@
# Define the cpu used by the CC2538DK board:
export CPU = cc2538
export CPU_MODEL ?= cc2538nf53
# the SmartRF06 Evaluation Board serial numbers all begin with "06EB":
PROGRAMMER_SERIAL ?= 06EB