1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

cpu/esp*: move CPU_* definitions to CPU-specific Makefile.features

This commit is contained in:
Gunar Schorcht 2022-07-18 08:27:12 +02:00
parent 06d3616710
commit d0bb51aacc
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
ifneq (,$(filter esp32,$(CPU_FAM)))
CPU_ARCH = xtensa
CPU_CORE = xtensa-lx6
else
$(error Unkwnown ESP32x SoC variant (family))
endif
# MCU defined features that are provided independent on board definitions
include $(RIOTCPU)/esp_common/Makefile.features

View File

@ -1,4 +1,6 @@
CPU_FAM = esp8266
CPU_ARCH = xtensa
CPU_CORE = xtensa-l106
# MCU defined features that are provided independent on board definitions

View File

@ -1,5 +1,3 @@
CPU_ARCH = xtensa
# MCU defined features that are provided independent on board definitions
FEATURES_PROVIDED += arch_32bit