fix(ulp): clarify buildv2 child marker

Rename the internal ULP child-build marker to __ULP_BUILDV2 so component CMake files make the build-system scope explicit.

Document that the marker is currently set only by the IDF_BUILD_V2 ULP child path.
This commit is contained in:
Renz Bagaporo
2026-07-29 13:08:23 +09:00
parent 83cdcc1da3
commit 1f5cba3070
26 changed files with 61 additions and 59 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${target}/include")
list(APPEND public_include "${target}/include")
endif()
# TODO(IDF-15991): potentially remove __ULP_BUILD handling from esp_hal_dma
if(__ULP_BUILD)
# TODO(IDF-15991): potentially remove __ULP_BUILDV2 handling from esp_hal_dma
if(__ULP_BUILDV2)
# LP-core SPI uses components/esp_hal_gpspi/include/hal/spi_slave_hd_hal.h,
# whose public headers include DMA HAL descriptor types.
idf_component_register(INCLUDE_DIRS ${public_include}