boards/common/esp: move CPU/CPU_MODEL definiton 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
8cebed6792
commit
49d61bbe6e
@ -1,5 +1,3 @@
|
||||
include $(RIOTCPU)/esp32/Makefile.dep
|
||||
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_gpio
|
||||
endif
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# most board features results directly from ESP32 CPU features
|
||||
include $(RIOTCPU)/esp32/Makefile.features
|
||||
CPU = esp32
|
||||
CPU_MODEL = esp32
|
||||
|
||||
# additional features provided by all boards are GPIOs and at least one UART
|
||||
FEATURES_PROVIDED += periph_gpio
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
# the cpu to build for
|
||||
export CPU = esp32
|
||||
export CPU_MODEL = esp32
|
||||
|
||||
# configure the serial interface
|
||||
PORT_LINUX ?= /dev/ttyUSB0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
include $(RIOTCPU)/esp8266/Makefile.dep
|
||||
|
||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||
USEMODULE += saul_gpio
|
||||
endif
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
# MCU defined features that are provided independent on board definitions
|
||||
|
||||
include $(RIOTCPU)/esp8266/Makefile.features
|
||||
CPU = esp8266
|
||||
CPU_MODEL = esp8266
|
||||
|
||||
# MCU defined peripheral features provided by all boards in alphabetical order
|
||||
|
||||
|
||||
@ -1,7 +1,3 @@
|
||||
# the cpu to build for
|
||||
export CPU = esp8266
|
||||
export CPU_MODEL = esp8266
|
||||
|
||||
# configure the serial interface
|
||||
PORT_LINUX ?= /dev/ttyUSB0
|
||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user