mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/ek-lm4f120xl: move CPU/CPU_MODEL definition to Makefile.features
cpu/$(CPU)/Makefile.features and cpu/$(CPU)/Makefile.dep are automatically included CPU_MODEL is currently kept uppercase. Making it lowercase is a future task. Part of moving CPU/CPU_MODEL definition to Makefile.features to have it available before Makefile.include.
This commit is contained in:
parent
33816cbbb3
commit
17877ca993
@ -1,8 +1,9 @@
|
||||
CPU = lm4f120
|
||||
CPU_MODEL = LM4F120H5QR
|
||||
|
||||
# Put defined MCU peripherals here (in alphabetical order)
|
||||
FEATURES_PROVIDED += periph_adc
|
||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||
FEATURES_PROVIDED += periph_spi
|
||||
FEATURES_PROVIDED += periph_timer
|
||||
FEATURES_PROVIDED += periph_uart
|
||||
|
||||
include $(RIOTCPU)/lm4f120/Makefile.features
|
||||
|
@ -1,7 +1,3 @@
|
||||
# define the cpu used by the ek-lm4f120xl board
|
||||
export CPU = lm4f120
|
||||
export CPU_MODEL = LM4F120H5QR
|
||||
|
||||
#define the default port depending on the host OS
|
||||
PORT_LINUX ?= /dev/ttyACM0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||
|
Loading…
Reference in New Issue
Block a user