mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
feat(ulp): build legacy ULP APIs through CMake v2 shim
This commit is contained in:
@@ -6,6 +6,15 @@ endif()
|
||||
set(srcs)
|
||||
set(public_include "include" "${target}/include")
|
||||
|
||||
# TODO(IDF-15992): potentially remove __ULP_BUILD handling from esp_hal_rtc_timer
|
||||
if(__ULP_BUILD)
|
||||
# LP-core timer shared code includes hal/rtc_timer_ll.h from
|
||||
# ulp/lp_core/shared/ulp_lp_core_lp_timer_shared.c.
|
||||
idf_component_register(INCLUDE_DIRS ${public_include}
|
||||
REQUIRES soc hal esp_rom)
|
||||
return()
|
||||
endif()
|
||||
|
||||
idf_component_register(SRCS ${srcs}
|
||||
INCLUDE_DIRS ${public_include}
|
||||
REQUIRES soc hal esp_rom)
|
||||
|
||||
Reference in New Issue
Block a user