esp-idf/components/esp_system/ld
Armando 757f58c3ba fix(mm): correct mmap reserved irom and drom size
Prior to this commit, we don't consider the offset of the irom vaddr
start.

If the offset + size is bigger than the MMU page size, for example:
MMU page size: 0x10000
irom vaddr: 0x4200_0800, so offset = 0x800
irom size: 0xF900
offset + size = 0x10100

Under this condition, the 0x4200_0000 ~ 0x4202_0000, two MMU pages are
used.

With this commit, when reserving the irom and drom, we take the offset
into consideration as well.

Closes https://github.com/espressif/esp-idf/issues/2561
2023-07-07 10:45:26 +00:00
..
esp32 fix(mm): correct mmap reserved irom and drom size 2023-07-07 10:45:26 +00:00
esp32c2 fix(mm): correct mmap reserved irom and drom size 2023-07-07 10:45:26 +00:00
esp32c3 fix(mm): correct mmap reserved irom and drom size 2023-07-07 10:45:26 +00:00
esp32h2 fix(mm): correct mmap reserved irom and drom size 2023-07-07 10:45:26 +00:00
esp32s2 fix(mm): correct mmap reserved irom and drom size 2023-07-07 10:45:26 +00:00
esp32s3 fix(mm): correct mmap reserved irom and drom size 2023-07-07 10:45:26 +00:00
ld.cmake esp_system: create ld template to abstract few common settings 2021-09-02 16:13:17 +08:00
ld.common esp_system: move MEMPROT related configuration to soc capability header 2022-06-23 10:29:42 +05:30