mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 02:20:57 +02:00
Merge branch 'change/p4_soc_cmake' into 'master'
soc: simplify p4 soc cmake See merge request espressif/esp-idf!41161
This commit is contained in:
@@ -20,14 +20,10 @@ endif()
|
||||
|
||||
# register headers that generated by script from CSV
|
||||
if(CONFIG_IDF_TARGET_ESP32P4)
|
||||
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()
|
||||
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()
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/register")
|
||||
|
Reference in New Issue
Block a user