Skip to content

Commit

Permalink
cpu/esp32: make esp_hw_counter feature dependent on ESP32x SoC family
Browse files Browse the repository at this point in the history
Feature esp_hw_counter is not supported by all ESP32x SoC variants (families). Therefore it has to be defined dependent on defined CPU_FAM.
  • Loading branch information
gschorcht committed Jul 18, 2022
1 parent 897abd0 commit b5ea942
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpu/esp32/Makefile.features
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ include $(RIOTCPU)/esp_common/Makefile.features

FEATURES_PROVIDED += arch_esp32
FEATURES_PROVIDED += esp_wifi_enterprise
FEATURES_PROVIDED += esp_hw_counter
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
Expand Down

0 comments on commit b5ea942

Please sign in to comment.