Merge branch 'fix/esp_ptr_check_sign_compare_v4.4' into 'release/v4.4'

fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom`

See merge request espressif/esp-idf!27817
pull/13426/head
Mahavir Jain 2023-12-11 16:07:46 +08:00
commit 09089c3fdf
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -127,7 +127,7 @@ inline static bool IRAM_ATTR esp_ptr_in_iram(const void *p) {
} }
inline static bool IRAM_ATTR esp_ptr_in_drom(const void *p) { inline static bool IRAM_ATTR esp_ptr_in_drom(const void *p) {
uint32_t drom_start_addr = SOC_DROM_LOW; int32_t drom_start_addr = SOC_DROM_LOW;
#if CONFIG_ESP32S3_DATA_CACHE_16KB #if CONFIG_ESP32S3_DATA_CACHE_16KB
/* For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is /* For ESP32-S3, when the DCACHE size is set to 16 kB, the unused 48 kB is
* added to the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB * added to the heap in 2 blocks of 32 kB (from 0x3FCF0000) and 16 kB