mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'fix/esp_ptr_check_sign_compare_v5.0' into 'release/v5.0'
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_drom` (v5.0) See merge request espressif/esp-idf!24799
This commit is contained in:
@ -273,7 +273,7 @@ bool esp_ptr_external_ram(const void *p);
|
|||||||
*/
|
*/
|
||||||
__attribute__((always_inline))
|
__attribute__((always_inline))
|
||||||
inline static bool esp_ptr_in_drom(const void *p) {
|
inline static bool 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
|
||||||
|
Reference in New Issue
Block a user