Skip to content

Commit 9c95d36

Browse files
committed
IDF release/v4.4 60b90c5144
1 parent 7eee40b commit 9c95d36

File tree

273 files changed

+762
-385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

273 files changed

+762
-385
lines changed

platform.txt

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

tools/platformio-build-esp32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
"UNITY_INCLUDE_CONFIG_H",
330330
"WITH_POSIX",
331331
"_GNU_SOURCE",
332-
("IDF_VER", '\\"v4.4.4-148-g4c2afac355\\"'),
332+
("IDF_VER", '\\"v4.4.4-207-g60b90c5144\\"'),
333333
"ESP_PLATFORM",
334334
"_POSIX_READER_WRITER_LOCKS",
335335
"ARDUINO_ARCH_ESP32",

tools/platformio-build-esp32c3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
"UNITY_INCLUDE_CONFIG_H",
325325
"WITH_POSIX",
326326
"_GNU_SOURCE",
327-
("IDF_VER", '\\"v4.4.4-148-g4c2afac355\\"'),
327+
("IDF_VER", '\\"v4.4.4-207-g60b90c5144\\"'),
328328
"ESP_PLATFORM",
329329
"_POSIX_READER_WRITER_LOCKS",
330330
"ARDUINO_ARCH_ESP32",

tools/platformio-build-esp32s2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
"UNITY_INCLUDE_CONFIG_H",
311311
"WITH_POSIX",
312312
"_GNU_SOURCE",
313-
("IDF_VER", '\\"v4.4.4-148-g4c2afac355\\"'),
313+
("IDF_VER", '\\"v4.4.4-207-g60b90c5144\\"'),
314314
"ESP_PLATFORM",
315315
"_POSIX_READER_WRITER_LOCKS",
316316
"ARDUINO_ARCH_ESP32",

tools/platformio-build-esp32s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
"UNITY_INCLUDE_CONFIG_H",
329329
"WITH_POSIX",
330330
"_GNU_SOURCE",
331-
("IDF_VER", '\\"v4.4.4-148-g4c2afac355\\"'),
331+
("IDF_VER", '\\"v4.4.4-207-g60b90c5144\\"'),
332332
"ESP_PLATFORM",
333333
"_POSIX_READER_WRITER_LOCKS",
334334
"ARDUINO_ARCH_ESP32",

tools/sdk/esp32/dio_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,5 +820,5 @@
820820
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
821821
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
822822
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
823-
#define CONFIG_ARDUINO_IDF_COMMIT "4c2afac355"
823+
#define CONFIG_ARDUINO_IDF_COMMIT "60b90c5144"
824824
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
4.82 KB
Binary file not shown.

tools/sdk/esp32/dout_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,5 +820,5 @@
820820
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
821821
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
822822
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
823-
#define CONFIG_ARDUINO_IDF_COMMIT "4c2afac355"
823+
#define CONFIG_ARDUINO_IDF_COMMIT "60b90c5144"
824824
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
4.82 KB
Binary file not shown.

tools/sdk/esp32/include/bt/host/bluedroid/api/include/api/esp_gattc_api.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ typedef union {
212212
uint8_t link_role; /*!< Link role : master role = 0 ; slave role = 1*/
213213
esp_bd_addr_t remote_bda; /*!< Remote bluetooth device address */
214214
esp_gatt_conn_params_t conn_params; /*!< current connection parameters */
215+
esp_ble_addr_type_t ble_addr_type; /*!< Remote BLE device address type */
216+
uint16_t conn_handle; /*!< HCI connection handle */
215217
} connect; /*!< Gatt client callback param of ESP_GATTC_CONNECT_EVT */
216218

217219
/**

tools/sdk/esp32/include/bt/host/bluedroid/api/include/api/esp_gatts_api.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ typedef union {
199199
uint8_t link_role; /*!< Link role : master role = 0 ; slave role = 1*/
200200
esp_bd_addr_t remote_bda; /*!< Remote bluetooth device address */
201201
esp_gatt_conn_params_t conn_params; /*!< current Connection parameters */
202+
esp_ble_addr_type_t ble_addr_type; /*!< Remote BLE device address type */
203+
uint16_t conn_handle; /*!< HCI connection handle */
202204
} connect; /*!< Gatt server callback param of ESP_GATTS_CONNECT_EVT */
203205

204206
/**

tools/sdk/esp32/include/esp_littlefs/include/esp_littlefs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
extern "C" {
99
#endif
1010

11-
#define ESP_LITTLEFS_VERSION_NUMBER "1.5.2"
11+
#define ESP_LITTLEFS_VERSION_NUMBER "1.5.3"
1212
#define ESP_LITTLEFS_VERSION_MAJOR 1
1313
#define ESP_LITTLEFS_VERSION_MINOR 5
14-
#define ESP_LITTLEFS_VERSION_PATCH 2
14+
#define ESP_LITTLEFS_VERSION_PATCH 3
1515

1616
/**
1717
*Configuration structure for esp_vfs_littlefs_register.

tools/sdk/esp32/include/nvs_flash/include/nvs_handle.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class NVSHandle {
224224
* - ESP_ERR_NVS_INVALID_NAME if namespace name doesn't satisfy constraints
225225
* - other error codes from the underlying storage driver
226226
*
227-
* @return shared pointer of an nvs handle on success, an empty shared pointer otherwise
227+
* @return unique pointer of an nvs handle on success, an empty unique pointer otherwise
228228
*/
229229
std::unique_ptr<NVSHandle> open_nvs_handle_from_partition(const char *partition_name,
230230
const char *ns_name,

tools/sdk/esp32/include/spi_flash/include/esp_flash.h

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ struct esp_flash_t {
100100
void *os_func_data; ///< Pointer to argument for os-specific hooks. Left NULL and will be initialized with ``os_func``.
101101

102102
esp_flash_io_mode_t read_mode; ///< Configured SPI flash read mode. Set before ``esp_flash_init`` is called.
103-
uint32_t size; ///< Size of SPI flash in bytes. If 0, size will be detected during initialisation.
103+
uint32_t size; ///< Size of SPI flash in bytes. If 0, size will be detected during initialisation. Note: this stands for the size in the binary image header. If you want to get the flash physical size, please call `esp_flash_get_physical_size`.
104104
uint32_t chip_id; ///< Detected chip id.
105105
uint32_t busy :1; ///< This flag is used to verify chip's status.
106106
uint32_t hpm_dummy_ena :1; ///< This flag is used to verify whether flash works under HPM status.
@@ -148,15 +148,29 @@ esp_err_t esp_flash_read_id(esp_flash_t *chip, uint32_t *out_id);
148148
/** @brief Detect flash size based on flash ID.
149149
*
150150
* @param chip Pointer to identify flash chip. Must have been successfully initialised via esp_flash_init()
151-
* @param[out] out_size Detected size in bytes.
151+
* @param[out] out_size Detected size in bytes, standing for the size in the binary image header.
152152
*
153-
* @note Most flash chips use a common format for flash ID, where the lower 4 bits specify the size as a power of 2. If
153+
* @note 1. Most flash chips use a common format for flash ID, where the lower 4 bits specify the size as a power of 2. If
154154
* the manufacturer doesn't follow this convention, the size may be incorrectly detected.
155+
* 2. The out_size returned only stands for The out_size stands for the size in the binary image header.
156+
* If you want to get the real size of the chip, please call `esp_flash_get_physical_size` instead.
155157
*
156158
* @return ESP_OK on success, or a flash error code if operation failed.
157159
*/
158160
esp_err_t esp_flash_get_size(esp_flash_t *chip, uint32_t *out_size);
159161

162+
/** @brief Detect flash size based on flash ID.
163+
*
164+
* @param chip Pointer to identify flash chip. Must have been successfully initialised via esp_flash_init()
165+
* @param[out] flash_size Detected size in bytes.
166+
*
167+
* @note Most flash chips use a common format for flash ID, where the lower 4 bits specify the size as a power of 2. If
168+
* the manufacturer doesn't follow this convention, the size may be incorrectly detected.
169+
*
170+
* @return ESP_OK on success, or a flash error code if operation failed.
171+
*/
172+
esp_err_t esp_flash_get_physical_size(esp_flash_t *chip, uint32_t *flash_size);
173+
160174
/** @brief Read flash unique ID via the common "RDUID" SPI flash command.
161175
*
162176
* @param chip Pointer to identify flash chip. Must have been successfully initialised via esp_flash_init().

tools/sdk/esp32/ld/libbtdm_app.a

1.25 KB
Binary file not shown.

tools/sdk/esp32/ld/libmfn.a

3.25 KB
Binary file not shown.

tools/sdk/esp32/ld/sections.ld

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

tools/sdk/esp32/lib/libapp_update.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libbt.a

-8.99 KB
Binary file not shown.

tools/sdk/esp32/lib/libcoexist.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libcore.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libdriver.a

132 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp32-camera.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_common.a

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_hid.a

380 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_insights.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_littlefs.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_phy.a

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libesp_system.a

96 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libespcoredump.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libespnow.a

0 Bytes
Binary file not shown.
492 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libfatfs.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libhal.a

1.16 KB
Binary file not shown.

tools/sdk/esp32/lib/libheap.a

1.23 KB
Binary file not shown.

tools/sdk/esp32/lib/libmesh.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libnet80211.a

728 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libnewlib.a

132 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libnvs_flash.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libpp.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libprotocomm.a

128 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/librtc_store.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libsmartconfig.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libspiffs.a

0 Bytes
Binary file not shown.

tools/sdk/esp32/lib/libwapi.a

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tools/sdk/esp32/qio_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,5 +820,5 @@
820820
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
821821
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
822822
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
823-
#define CONFIG_ARDUINO_IDF_COMMIT "4c2afac355"
823+
#define CONFIG_ARDUINO_IDF_COMMIT "60b90c5144"
824824
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
4.82 KB
Binary file not shown.

tools/sdk/esp32/qout_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,5 +820,5 @@
820820
#define CONFIG_ULP_COPROC_ENABLED CONFIG_ESP32_ULP_COPROC_ENABLED
821821
#define CONFIG_ULP_COPROC_RESERVE_MEM CONFIG_ESP32_ULP_COPROC_RESERVE_MEM
822822
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
823-
#define CONFIG_ARDUINO_IDF_COMMIT "4c2afac355"
823+
#define CONFIG_ARDUINO_IDF_COMMIT "60b90c5144"
824824
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
4.82 KB
Binary file not shown.

tools/sdk/esp32/sdkconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ CONFIG_TWAI_ERRATA_FIX_BUS_OFF_REC=y
580580
CONFIG_TWAI_ERRATA_FIX_TX_INTR_LOST=y
581581
CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID=y
582582
CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT=y
583+
# CONFIG_TWAI_ERRATA_FIX_LISTEN_ONLY_DOM is not set
583584
# end of TWAI configuration
584585

585586
#

tools/sdk/esp32c3/dio_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,5 +824,5 @@
824824
#define CONFIG_TOOLPREFIX CONFIG_SDK_TOOLPREFIX
825825
#define CONFIG_UDP_RECVMBOX_SIZE CONFIG_LWIP_UDP_RECVMBOX_SIZE
826826
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
827-
#define CONFIG_ARDUINO_IDF_COMMIT "4c2afac355"
827+
#define CONFIG_ARDUINO_IDF_COMMIT "60b90c5144"
828828
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
7.18 KB
Binary file not shown.

tools/sdk/esp32c3/dout_qspi/include/sdkconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,5 +824,5 @@
824824
#define CONFIG_TOOLPREFIX CONFIG_SDK_TOOLPREFIX
825825
#define CONFIG_UDP_RECVMBOX_SIZE CONFIG_LWIP_UDP_RECVMBOX_SIZE
826826
#define CONFIG_WARN_WRITE_STRINGS CONFIG_COMPILER_WARN_WRITE_STRINGS
827-
#define CONFIG_ARDUINO_IDF_COMMIT "4c2afac355"
827+
#define CONFIG_ARDUINO_IDF_COMMIT "60b90c5144"
828828
#define CONFIG_ARDUINO_IDF_BRANCH "release/v4.4"
7.18 KB
Binary file not shown.

tools/sdk/esp32c3/include/bt/host/bluedroid/api/include/api/esp_gattc_api.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ typedef union {
212212
uint8_t link_role; /*!< Link role : master role = 0 ; slave role = 1*/
213213
esp_bd_addr_t remote_bda; /*!< Remote bluetooth device address */
214214
esp_gatt_conn_params_t conn_params; /*!< current connection parameters */
215+
esp_ble_addr_type_t ble_addr_type; /*!< Remote BLE device address type */
216+
uint16_t conn_handle; /*!< HCI connection handle */
215217
} connect; /*!< Gatt client callback param of ESP_GATTC_CONNECT_EVT */
216218

217219
/**

tools/sdk/esp32c3/include/bt/host/bluedroid/api/include/api/esp_gatts_api.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ typedef union {
199199
uint8_t link_role; /*!< Link role : master role = 0 ; slave role = 1*/
200200
esp_bd_addr_t remote_bda; /*!< Remote bluetooth device address */
201201
esp_gatt_conn_params_t conn_params; /*!< current Connection parameters */
202+
esp_ble_addr_type_t ble_addr_type; /*!< Remote BLE device address type */
203+
uint16_t conn_handle; /*!< HCI connection handle */
202204
} connect; /*!< Gatt server callback param of ESP_GATTS_CONNECT_EVT */
203205

204206
/**

tools/sdk/esp32c3/include/esp_littlefs/include/esp_littlefs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
extern "C" {
99
#endif
1010

11-
#define ESP_LITTLEFS_VERSION_NUMBER "1.5.2"
11+
#define ESP_LITTLEFS_VERSION_NUMBER "1.5.3"
1212
#define ESP_LITTLEFS_VERSION_MAJOR 1
1313
#define ESP_LITTLEFS_VERSION_MINOR 5
14-
#define ESP_LITTLEFS_VERSION_PATCH 2
14+
#define ESP_LITTLEFS_VERSION_PATCH 3
1515

1616
/**
1717
*Configuration structure for esp_vfs_littlefs_register.

tools/sdk/esp32c3/include/hal/esp32c3/include/hal/memprot_ll.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ static inline uint32_t memprot_ll_iram0_get_monitor_status_fault_world(void)
300300
static inline intptr_t memprot_ll_iram0_get_monitor_status_fault_addr(void)
301301
{
302302
uint32_t addr = REG_GET_FIELD(SENSITIVE_CORE_0_IRAM0_PMS_MONITOR_2_REG, SENSITIVE_CORE_0_IRAM0_PMS_MONITOR_VIOLATE_STATUS_ADDR);
303-
return (intptr_t)(addr > 0 ? (addr << I_D_FAULT_ADDR_SHIFT) + IRAM0_ADDRESS_LOW : 0);
303+
return (intptr_t)(addr > 0 ? (addr << I_D_FAULT_ADDR_SHIFT) + IRAM0_VIOLATE_STATUS_ADDR_OFFSET : 0);
304304
}
305305

306306
static inline uint32_t memprot_ll_iram0_get_monitor_status_register(void)
@@ -815,7 +815,7 @@ static inline uint32_t memprot_ll_dram0_get_monitor_status_fault_world(void)
815815
static inline uint32_t memprot_ll_dram0_get_monitor_status_fault_addr(void)
816816
{
817817
uint32_t addr = REG_GET_FIELD(SENSITIVE_CORE_0_DRAM0_PMS_MONITOR_2_REG, SENSITIVE_CORE_0_DRAM0_PMS_MONITOR_VIOLATE_STATUS_ADDR);
818-
return addr > 0 ? (addr << I_D_FAULT_ADDR_SHIFT) + DRAM0_ADDRESS_LOW : 0;
818+
return addr > 0 ? (addr << I_D_FAULT_ADDR_SHIFT) + DRAM0_VIOLATE_STATUS_ADDR_OFFSET : 0;
819819
}
820820

821821
static inline uint32_t memprot_ll_dram0_get_monitor_status_fault_wr(void)

tools/sdk/esp32c3/include/nvs_flash/include/nvs_handle.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class NVSHandle {
224224
* - ESP_ERR_NVS_INVALID_NAME if namespace name doesn't satisfy constraints
225225
* - other error codes from the underlying storage driver
226226
*
227-
* @return shared pointer of an nvs handle on success, an empty shared pointer otherwise
227+
* @return unique pointer of an nvs handle on success, an empty unique pointer otherwise
228228
*/
229229
std::unique_ptr<NVSHandle> open_nvs_handle_from_partition(const char *partition_name,
230230
const char *ns_name,

tools/sdk/esp32c3/include/soc/esp32c3/include/soc/cache_memory.h

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,17 @@ extern "C" {
1919
#endif
2020

2121
/*IRAM0 is connected with Cache IBUS0*/
22-
#define IRAM0_ADDRESS_LOW 0x40000000
23-
#define IRAM0_ADDRESS_HIGH 0x44000000
22+
#define IRAM0_ADDRESS_LOW 0x4037C000
23+
#define IRAM0_ADDRESS_HIGH 0x403E0000
2424
#define IRAM0_CACHE_ADDRESS_LOW 0x42000000
2525
#define IRAM0_CACHE_ADDRESS_HIGH 0x42800000
2626

2727
/*DRAM0 is connected with Cache DBUS0*/
28-
#define DRAM0_ADDRESS_LOW 0x3C000000
29-
#define DRAM0_ADDRESS_HIGH 0x40000000
28+
#define DRAM0_ADDRESS_LOW 0x3FC80000
29+
#define DRAM0_ADDRESS_HIGH 0x3FCE0000
3030
#define DRAM0_CACHE_ADDRESS_LOW 0x3C000000
3131
#define DRAM0_CACHE_ADDRESS_HIGH 0x3C800000
3232
#define DRAM0_CACHE_OPERATION_HIGH DRAM0_CACHE_ADDRESS_HIGH
33-
#define ESP_CACHE_TEMP_ADDR 0x3C000000
3433

3534
#define BUS_SIZE(bus_name) (bus_name##_ADDRESS_HIGH - bus_name##_ADDRESS_LOW)
3635
#define ADDRESS_IN_BUS(bus_name, vaddr) ((vaddr) >= bus_name##_ADDRESS_LOW && (vaddr) < bus_name##_ADDRESS_HIGH)

tools/sdk/esp32c3/include/soc/esp32c3/include/soc/memprot_defs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ typedef union {
3535

3636
#define DRAM_SRAM_START 0x3FC7C000
3737

38+
#define IRAM0_VIOLATE_STATUS_ADDR_OFFSET 0x40000000
39+
#define DRAM0_VIOLATE_STATUS_ADDR_OFFSET 0x3C000000
40+
3841
#ifndef MAP_DRAM_TO_IRAM
3942
#define MAP_DRAM_TO_IRAM(addr) (addr - DRAM_SRAM_START + SOC_IRAM_LOW)
4043
#endif

0 commit comments

Comments
 (0)