1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00
RIOT/cpu/esp32/Makefile.features
Gunar Schorcht b5ea942d12 cpu/esp32: make esp_hw_counter feature dependent on ESP32x SoC family
Feature esp_hw_counter is not supported by all ESP32x SoC variants (families). Therefore it has to be defined dependent on defined CPU_FAM.
2022-07-18 13:28:58 +02:00

24 lines
589 B
Makefile

CPU_FAM = esp32
# MCU defined features that are provided independent on board definitions
include $(RIOTCPU)/esp_common/Makefile.features
FEATURES_PROVIDED += arch_esp32
FEATURES_PROVIDED += esp_wifi_enterprise
FEATURES_PROVIDED += puf_sram
ifeq (xtensa,$(CPU_ARCH))
FEATURES_PROVIDED += esp_hw_counter
endif
ifneq (,$(filter esp32-wrover%,$(CPU_MODEL)))
FEATURES_PROVIDED += esp_spi_ram
endif
# This configuration enables modules that are only available when using Kconfig
# module modelling
ifeq (1, $(TEST_KCONFIG))
KCONFIG_ADD_CONFIG += $(RIOTCPU)/esp32/esp32.config
endif