mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 02:20:57 +02:00
Merge branch 'feat/p4_eco5_soc_changes_v5.5' into 'release/v5.5'
feat(p4): p4 rev3 soc support (v5.5) See merge request espressif/esp-idf!42025
This commit is contained in:
@@ -120,7 +120,7 @@ static inline int usb_serial_jtag_ll_read_rxfifo(uint8_t *buf, uint32_t rd_len)
|
|||||||
int i;
|
int i;
|
||||||
for (i = 0; i < (int)rd_len; i++) {
|
for (i = 0; i < (int)rd_len; i++) {
|
||||||
if (!USB_SERIAL_JTAG.ep1_conf.serial_out_ep_data_avail) break;
|
if (!USB_SERIAL_JTAG.ep1_conf.serial_out_ep_data_avail) break;
|
||||||
buf[i] = USB_SERIAL_JTAG.ep1.rdwr_byte;
|
buf[i] = HAL_FORCE_READ_U32_REG_FIELD(USB_SERIAL_JTAG.ep1, rdwr_byte);
|
||||||
}
|
}
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
@@ -139,7 +139,7 @@ static inline int usb_serial_jtag_ll_write_txfifo(const uint8_t *buf, uint32_t w
|
|||||||
int i;
|
int i;
|
||||||
for (i = 0; i < (int)wr_len; i++) {
|
for (i = 0; i < (int)wr_len; i++) {
|
||||||
if (!USB_SERIAL_JTAG.ep1_conf.serial_in_ep_data_free) break;
|
if (!USB_SERIAL_JTAG.ep1_conf.serial_in_ep_data_free) break;
|
||||||
USB_SERIAL_JTAG.ep1.rdwr_byte = buf[i];
|
HAL_FORCE_MODIFY_U32_REG_FIELD(USB_SERIAL_JTAG.ep1, rdwr_byte, buf[i]);
|
||||||
}
|
}
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
@@ -18,10 +18,14 @@ 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/hw_ver1")
|
||||||
|
else()
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${target_folder}/register")
|
||||||
list(APPEND includes "${target_folder}/register")
|
list(APPEND includes "${target_folder}/register")
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if(target STREQUAL "esp32")
|
if(target STREQUAL "esp32")
|
||||||
list(APPEND srcs "${target_folder}/dport_access.c")
|
list(APPEND srcs "${target_folder}/dport_access.c")
|
||||||
|
@@ -224,6 +224,7 @@
|
|||||||
#define SOC_CPU_SUBSYSTEM_HIGH 0x30000000
|
#define SOC_CPU_SUBSYSTEM_HIGH 0x30000000
|
||||||
|
|
||||||
// Start (highest address) of ROM boot stack, only relevant during early boot
|
// Start (highest address) of ROM boot stack, only relevant during early boot
|
||||||
|
#define SOC_ROM_STACK_START_REV2 0x4ffbcfc0
|
||||||
#define SOC_ROM_STACK_START 0x4ff3cfc0
|
#define SOC_ROM_STACK_START 0x4ff3cfc0
|
||||||
#define SOC_ROM_STACK_SIZE 0x2000
|
#define SOC_ROM_STACK_SIZE 0x2000
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user