feat(ulp): build legacy ULP APIs through CMake v2 shim

This commit is contained in:
Renz Bagaporo
2026-07-29 13:08:22 +09:00
parent 82b28b2641
commit 288b9a6e00
21 changed files with 465 additions and 46 deletions
+9
View File
@@ -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)