Skip to content

Commit

Permalink
fix(esp_hw_support): Fix different signed comparison in `esp_ptr_in_d…
Browse files Browse the repository at this point in the history
…rom`

- Closes #11653
- Closes #11865
  • Loading branch information
laukik-hase committed Jul 14, 2023
1 parent fabe338 commit 8abdb33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_hw_support/include/esp_memory_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ bool esp_ptr_external_ram(const void *p);
*/
__attribute__((always_inline))
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
/* 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
Expand Down

0 comments on commit 8abdb33

Please sign in to comment.