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 09:01:41 +09:00
parent 83cdcc1da3
commit 1f5cba3070
26 changed files with 61 additions and 59 deletions

View File

@@ -3,8 +3,8 @@ idf_build_get_property(target IDF_TARGET)
set(srcs)
set(public_include "include")
# TODO(IDF-15946): potentially remove __ULP_BUILD handling from esp_driver_uart
if(__ULP_BUILD)
# TODO(IDF-15946): potentially remove __ULP_BUILDV2 handling from esp_driver_uart
if(__ULP_BUILDV2)
# LP-core UART wakeup shared code includes driver/uart_wakeup.h from
# ulp/lp_core/shared/include/ulp_lp_core_lp_uart_shared.h.
set(ulp_srcs)