change(g0): use hw_ver1 to build g0 components test app

This commit is contained in:
armando
2025-10-13 15:24:14 +08:00
parent dde91e5fda
commit ac628cb1ff
+7 -3
View File
@@ -20,10 +20,14 @@ endif()
# register headers that generated by script from CSV
if(CONFIG_IDF_TARGET_ESP32P4)
if(CONFIG_ESP32P4_SELECTS_REV_LESS_V2)
list(APPEND includes "${target_folder}/register/hw_ver1")
if(DEFINED COMPONENTS AND "esp_hw_support" IN_LIST COMPONENTS)
if(CONFIG_ESP32P4_SELECTS_REV_LESS_V2)
list(APPEND includes "${target_folder}/register/hw_ver1")
else()
list(APPEND includes "${target_folder}/register/hw_ver2")
endif()
else()
list(APPEND includes "${target_folder}/register/hw_ver2")
list(APPEND includes "${target_folder}/register/hw_ver1")
endif()
else()
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/register")