@@ -13,11 +13,11 @@ MEMORY
13
13
SRAM3 (xrw) : ORIGIN = 0x30040000, LENGTH = 32K /* SRAM3 D2 */
14
14
SRAM4 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K /* SRAM4 D3 */
15
15
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K /* Total available flash */
16
- FLASH_EXT (rx) : ORIGIN = 0x90000000, LENGTH = 16384K /* 16MBs external QSPI flash */
17
16
FLASH_BL (rx) : ORIGIN = 0x08000000, LENGTH = 128K /* Arduino bootloader */
18
17
FLASH_FS (r) : ORIGIN = 0x08020000, LENGTH = 128K /* filesystem */
19
18
FLASH_TEXT (rx) : ORIGIN = 0x08040000, LENGTH = 1280K /* CM7 firmware */
20
19
FLASH_CM4 (rx) : ORIGIN = 0x08180000, LENGTH = 512K /* CM4 firmware */
20
+ FLASH_ROMFS (rx) : ORIGIN = 0x90B00000, LENGTH = 4096K /* romfs partition in QSPI flash */
21
21
}
22
22
23
23
/* 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);
44
44
_micropy_hw_internal_flash_storage_start = ORIGIN (FLASH_FS);
45
45
_micropy_hw_internal_flash_storage_end = ORIGIN (FLASH_FS) + LENGTH (FLASH_FS);
46
46
47
+ /* Location of romfs filesystem */
48
+ _micropy_hw_romfs_part0_start = ORIGIN (FLASH_ROMFS);
49
+ _micropy_hw_romfs_part0_size = LENGTH (FLASH_ROMFS);
50
+
47
51
/* OpenAMP shared memory region */
48
52
_openamp_shm_region_start = ORIGIN (SRAM4);
49
53
_openamp_shm_region_end = ORIGIN (SRAM4) + LENGTH (SRAM4);
0 commit comments