From e6dd4685fb079378c0010f02e403389cc3ecd39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Quentin?= Date: Mon, 6 Jan 2025 10:53:10 +0100 Subject: [PATCH] Link to esp-idf docs --- esp-hal/src/soc/esp32s3/psram.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esp-hal/src/soc/esp32s3/psram.rs b/esp-hal/src/soc/esp32s3/psram.rs index 5729a44d5..a00dfc7db 100644 --- a/esp-hal/src/soc/esp32s3/psram.rs +++ b/esp-hal/src/soc/esp32s3/psram.rs @@ -172,6 +172,9 @@ pub(crate) fn init_psram(config: PsramConfig) { // the linker scripts can produce a gap between mapped IROM and DROM segments // bigger than a flash page - i.e. we will see an unmapped memory slot // start from the end and find the last mapped flash page + // + // More general information about the MMU can be found here: + // https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-reference/system/mm.html#introduction let mmu_table_ptr = DR_REG_MMU_TABLE as *const u32; let mut mapped_pages = 0; for i in (0..FLASH_MMU_TABLE_SIZE).rev() {