File tree 2 files changed +11
-4
lines changed
targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI
TARGET_PORTENTA_H7_M4/TOOLCHAIN_GCC_ARM
TARGET_PORTENTA_H7_M7/TOOLCHAIN_GCC_ARM
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,12 @@ MEMORY
30
30
{
31
31
RAM (xrw) : ORIGIN = RAM_START + 0x298, LENGTH = RAM_SIZE - 0x298
32
32
OPENAMP_RSC_TAB (rwx) : ORIGIN = 0x38000000, LENGTH = 1K
33
- OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 63K
33
+ OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 62K
34
+ /*PDM_MEM (rwx) : ORIGIN = 0x3800FC00, LENGTH = 1K Reserved for PDM and M7 */
34
35
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
35
36
}
36
37
__OPENAMP_region_start__ = ORIGIN (OPEN_AMP_SHMEM);
37
- __OPENAMP_region_end__ = ORIGIN (OPEN_AMP_SHMEM) + LENGTH (OPEN_AMP_SHMEM);
38
+ __OPENAMP_region_end__ = ORIGIN (OPEN_AMP_SHMEM) + LENGTH (OPEN_AMP_SHMEM) - 1 ;
38
39
39
40
/* Linker script to place sections and symbol values. Should be used together
40
41
* with other linker script that defines memory regions FLASH and RAM.
Original file line number Diff line number Diff line change @@ -33,11 +33,12 @@ MEMORY
33
33
RAM (xrw) : ORIGIN = RAM_START + 0x298, LENGTH = RAM_SIZE - 0x298
34
34
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
35
35
OPENAMP_RSC_TAB (rwx) : ORIGIN = 0x38000000, LENGTH = 1K
36
- OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 63K
36
+ OPEN_AMP_SHMEM (rwx) : ORIGIN = 0x38000400, LENGTH = 62K
37
+ PDM_MEM (xrw) : ORIGIN = 0x3800FC00, LENGTH = 1k
37
38
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
38
39
}
39
40
__OPENAMP_region_start__ = ORIGIN (OPEN_AMP_SHMEM);
40
- __OPENAMP_region_end__ = ORIGIN (OPEN_AMP_SHMEM) + LENGTH (OPEN_AMP_SHMEM);
41
+ __OPENAMP_region_end__ = ORIGIN (OPEN_AMP_SHMEM) + LENGTH (OPEN_AMP_SHMEM) - 1 ;
41
42
42
43
_ConfigStart = 0x0801F000;
43
44
@@ -192,6 +193,11 @@ SECTIONS
192
193
*(.resource_table)
193
194
} >OPENAMP_RSC_TAB AT > FLASH
194
195
196
+ .pdm_section (NOLOAD) : {
197
+ . = ABSOLUTE (0x3800FC00);
198
+ *(.pdm_buffer)
199
+ } > PDM_MEM
200
+
195
201
/* .stack_dummy section doesn't contains any symbols. It is only
196
202
* used for linker to calculate size of stack sections, and assign
197
203
* values to stack symbols later */
You can’t perform that action at this time.
0 commit comments