mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 12:44:33 +02:00
Merge branch 'feat/p4_eco5_soc_part1' into 'master'
p4: soc support (part 1, move hw ver1 registers to `hw_ver1` dir) See merge request espressif/esp-idf!40518
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include "esp_attr.h"
|
||||
#include "hal/misc.h"
|
||||
#include "hal/assert.h"
|
||||
|
@@ -18,10 +18,22 @@ 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
|
||||
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()
|
||||
list(APPEND includes "${target_folder}/register/hw_ver1")
|
||||
endif()
|
||||
else()
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/register")
|
||||
list(APPEND includes "${target_folder}/register")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(target STREQUAL "esp32")
|
||||
list(APPEND srcs "${target_folder}/dport_access.c")
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user