mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-06 14:14:33 +02:00
p4: move hw ver1 registers
This commit is contained in:
committed by
Armando (Dou Yiwen)
parent
c6cc403060
commit
4ea2ea5f02
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include "esp_attr.h"
|
#include "esp_attr.h"
|
||||||
#include "hal/misc.h"
|
#include "hal/misc.h"
|
||||||
#include "hal/assert.h"
|
#include "hal/assert.h"
|
||||||
|
@@ -18,9 +18,17 @@ if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/include")
|
|||||||
list(APPEND includes "${target_folder}/include")
|
list(APPEND includes "${target_folder}/include")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/register")
|
# register headers that generated by script from CSV
|
||||||
# register headers that generated by script from CSV
|
if(CONFIG_IDF_TARGET_ESP32P4)
|
||||||
list(APPEND includes "${target_folder}/register")
|
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()
|
endif()
|
||||||
|
|
||||||
if(target STREQUAL "esp32")
|
if(target STREQUAL "esp32")
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user