p4: move hw ver1 registers

This commit is contained in:
armando
2025-07-11 14:31:11 +08:00
committed by Armando (Dou Yiwen)
parent c6cc403060
commit 4ea2ea5f02
192 changed files with 13 additions and 3 deletions

View File

@@ -10,6 +10,7 @@
#pragma once
#include <stdint.h>
#include "esp_attr.h"
#include "hal/misc.h"
#include "hal/assert.h"

View File

@@ -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")

Some files were not shown because too many files have changed in this diff Show More