Skip to content

Commit f4418e2

Browse files
committed
Portenta M7: rebuild variant for linker script position
Based on arduino/mbed-os#13
1 parent 8e02ebb commit f4418e2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

variants/PORTENTA_H7_M7/linker_script.ld

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ MEMORY
77
RAM (xrw) : ORIGIN = 0x24000000 + 0x298, LENGTH = 512K - 0x298
88
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
99
OPENAMP_RSC_TAB (rwx) : ORIGIN = 0x38000000, LENGTH = 1K
10-
OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 63K
10+
OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 62K
11+
PDM_MEM (xrw) : ORIGIN = 0x3800FC00, LENGTH = 1k
1112
FLASH (rx) : ORIGIN = 0x8040000, LENGTH = 0xc0000
1213
}
1314
__OPENAMP_region_start__ = ORIGIN(OPEN_AMP_SHMEM);
@@ -110,6 +111,10 @@ SECTIONS
110111
. = ABSOLUTE(0x38000000);
111112
*(.resource_table)
112113
} >OPENAMP_RSC_TAB AT > FLASH
114+
.pdm_section (NOLOAD) : {
115+
. = ABSOLUTE(0x3800FC00);
116+
*(.pdm_buffer)
117+
} > PDM_MEM
113118
.stack_dummy (COPY):
114119
{
115120
*(.stack*)

0 commit comments

Comments
 (0)