mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(ulp): build legacy ULP APIs through CMake v2 shim
This commit is contained in:
@@ -6,6 +6,15 @@ endif()
|
||||
|
||||
set(includes "include" "interface" "${target}/include")
|
||||
|
||||
# TODO(IDF-15983): potentially remove __ULP_BUILD handling from esp_adc
|
||||
if(__ULP_BUILD)
|
||||
# LP-core ADC shared code includes esp_adc/adc_oneshot.h from
|
||||
# ulp/lp_core/shared/include/ulp_lp_core_lp_adc_shared.h.
|
||||
idf_component_register(INCLUDE_DIRS ${includes}
|
||||
REQUIRES esp_hal_ana_conv)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(srcs)
|
||||
|
||||
if(CONFIG_SOC_ADC_SUPPORTED)
|
||||
|
||||
Reference in New Issue
Block a user