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:
parent
17877ca993
commit
8a2d999848
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user