boards/common/esp: harmonize CPU/CPU_MODEL to other boards
* CPU files should already have 'CPU' defined by the board. * Do not conditionally define CPU as it is not needed. This is part of cleanup prior to moving the CPU/CPU_MODEL to Makefile.features.
This commit is contained in:
parent
97de3e835b
commit
8cebed6792
@ -1,6 +1,6 @@
|
||||
# the cpu to build for
|
||||
export CPU ?= esp32
|
||||
export CPU_MODEL ?= esp32
|
||||
export CPU = esp32
|
||||
export CPU_MODEL = esp32
|
||||
|
||||
# configure the serial interface
|
||||
PORT_LINUX ?= /dev/ttyUSB0
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# the cpu to build for
|
||||
export CPU ?= esp8266
|
||||
export CPU_MODEL ?= esp8266
|
||||
export CPU = esp8266
|
||||
export CPU_MODEL = esp8266
|
||||
|
||||
# configure the serial interface
|
||||
PORT_LINUX ?= /dev/ttyUSB0
|
||||
|
||||
@ -59,7 +59,6 @@ PSEUDOMODULES += esp_spi_ram
|
||||
PSEUDOMODULES += esp_spiffs
|
||||
PSEUDOMODULES += esp_wifi_any
|
||||
|
||||
export CPU ?= esp32
|
||||
export TARGET_ARCH ?= xtensa-esp32-elf
|
||||
export ESPTOOL ?= $(ESP32_SDK_DIR)/components/esptool_py/esptool/esptool.py
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user