@@ -13,11 +13,11 @@ MEMORY
1313 SRAM3 (xrw) : ORIGIN = 0x30040000 , LENGTH = 32K /* SRAM3 D2 */
1414 SRAM4 (xrw) : ORIGIN = 0x38000000 , LENGTH = 64K /* SRAM4 D3 */
1515 FLASH (rx) : ORIGIN = 0x08000000 , LENGTH = 2048K /* Total available flash */
16- FLASH_EXT (rx) : ORIGIN = 0x90000000 , LENGTH = 16384K /* 16MBs external QSPI flash */
1716 FLASH_BL (rx) : ORIGIN = 0x08000000 , LENGTH = 128K /* Arduino bootloader */
1817 FLASH_FS (r) : ORIGIN = 0x08020000 , LENGTH = 128K /* filesystem */
1918 FLASH_TEXT (rx) : ORIGIN = 0x08040000 , LENGTH = 1280K /* CM7 firmware */
2019 FLASH_CM4 (rx) : ORIGIN = 0x08180000 , LENGTH = 512K /* CM4 firmware */
20+ FLASH_ROMFS (rx) : ORIGIN = 0x90B00000 , LENGTH = 4096K /* romfs partition in QSPI flash */
2121}
2222
2323/* produce a link error if there is not this amount of RAM for these sections */
@@ -44,6 +44,10 @@ _micropy_hw_internal_flash_storage_ram_cache_end = ORIGIN(DTCM) + LENGTH(DTCM);
4444_micropy_hw_internal_flash_storage_start = ORIGIN (FLASH_FS);
4545_micropy_hw_internal_flash_storage_end = ORIGIN (FLASH_FS) + LENGTH (FLASH_FS);
4646
47+ /* Location of romfs filesystem */
48+ _micropy_hw_romfs_part0_start = ORIGIN (FLASH_ROMFS);
49+ _micropy_hw_romfs_part0_size = LENGTH (FLASH_ROMFS);
50+
4751/* OpenAMP shared memory region */
4852_openamp_shm_region_start = ORIGIN (SRAM4);
4953_openamp_shm_region_end = ORIGIN (SRAM4) + LENGTH (SRAM4);
0 commit comments