cpu/esp32: Use periph_adc_ctrl as feature
This commit is contained in:
parent
584d03aae0
commit
2b8976d935
@ -53,6 +53,10 @@ ifneq (,$(filter esp_rtc_timer_32k,$(USEMODULE)))
|
||||
USEMODULE += esp_rtc_timer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter periph_adc periph_dac,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_adc_ctrl
|
||||
endif
|
||||
|
||||
ifneq (,$(filter periph_i2c,$(USEMODULE)))
|
||||
ifneq (,$(filter esp_i2c_hw,$(USEMODULE)))
|
||||
USEMODULE += core_thread_flags
|
||||
|
||||
@ -4,4 +4,5 @@ include $(RIOTCPU)/esp_common/Makefile.features
|
||||
|
||||
FEATURES_PROVIDED += arch_esp32
|
||||
FEATURES_PROVIDED += esp_wifi_enterprise
|
||||
FEATURES_PROVIDED += periph_adc_ctrl
|
||||
FEATURES_PROVIDED += periph_rtc
|
||||
|
||||
@ -37,7 +37,6 @@ PSEUDOMODULES += esp_wifi_enterprise
|
||||
USEMODULE += esp_idf_driver
|
||||
USEMODULE += esp_idf_esp32
|
||||
USEMODULE += esp_idf_soc
|
||||
USEMODULE += periph_adc_ctrl
|
||||
USEMODULE += pm_layered
|
||||
|
||||
INCLUDES += -I$(RIOTCPU)/$(CPU)/vendor/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user