mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
feat(mmu): supported find paddr caps by any paddr offset
Closes https://github.com/espressif/esp-idf/issues/14988
This commit is contained in:
parent
4c281f8eee
commit
caca62543b
@ -351,7 +351,7 @@ IRAM_ATTR esp_err_t esp_mmu_paddr_find_caps(const esp_paddr_t paddr, mmu_mem_cap
|
||||
}
|
||||
|
||||
//now we are only traversing the actual dynamically allocated blocks, dummy_head and dummy_tail are excluded already
|
||||
if (mem_block->paddr_start == paddr) {
|
||||
if (paddr >= mem_block->paddr_start && paddr < mem_block->paddr_end) {
|
||||
found = true;
|
||||
found_block = mem_block;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user