mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
cpu/esp*: move CPU_* definitions to CPU-specific Makefile.features
This commit is contained in:
parent
06d3616710
commit
d0bb51aacc
@ -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
|
# MCU defined features that are provided independent on board definitions
|
||||||
|
|
||||||
include $(RIOTCPU)/esp_common/Makefile.features
|
include $(RIOTCPU)/esp_common/Makefile.features
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
CPU_FAM = esp8266
|
CPU_FAM = esp8266
|
||||||
|
CPU_ARCH = xtensa
|
||||||
|
CPU_CORE = xtensa-l106
|
||||||
|
|
||||||
# MCU defined features that are provided independent on board definitions
|
# MCU defined features that are provided independent on board definitions
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
CPU_ARCH = xtensa
|
|
||||||
|
|
||||||
# MCU defined features that are provided independent on board definitions
|
# MCU defined features that are provided independent on board definitions
|
||||||
|
|
||||||
FEATURES_PROVIDED += arch_32bit
|
FEATURES_PROVIDED += arch_32bit
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user