1
0
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:
Gaëtan Harter 2019-06-03 11:08:02 +02:00
parent 33816cbbb3
commit 17877ca993
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,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

View File

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