mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
p4: move hw ver1 registers
This commit is contained in:
committed by
Armando (Dou Yiwen)
parent
c6cc403060
commit
4ea2ea5f02
@@ -18,9 +18,17 @@ if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/include")
|
||||
list(APPEND includes "${target_folder}/include")
|
||||
endif()
|
||||
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/register")
|
||||
# register headers that generated by script from CSV
|
||||
list(APPEND includes "${target_folder}/register")
|
||||
# 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")
|
||||
else()
|
||||
list(APPEND includes "${target_folder}/register/hw_ver2")
|
||||
endif()
|
||||
else()
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/register")
|
||||
list(APPEND includes "${target_folder}/register")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(target STREQUAL "esp32")
|
||||
|
||||
Reference in New Issue
Block a user