File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -180,9 +180,13 @@ generate_flags () {
180
180
OPENAMP_SECTION=" .openamp_section (NOLOAD) : {\n \
181
181
. = ABSOLUTE(0x38000000);\n \
182
182
*(.resource_table)\n \
183
- } >RAM_D3 AT > FLASH"
183
+ } >RAM_D3 AT > FLASH\n \
184
+ .pdm_section (NOLOAD) : {\n \
185
+ . = ABSOLUTE(0x3800FC00);\n \
186
+ *(.pdm_buffer)\n \
187
+ } > RAM_D3"
184
188
sed -i " s?.heap (COPY):?${OPENAMP_SECTION} \n .heap (COPY):?g" $ARDUINOVARIANT /linker_script.ld
185
- OPENAMP_REGIONS=" __OPENAMP_region_start__ = 0x38000400;\n__OPENAMP_region_end__ = 0x38000400 + LENGTH(RAM_D3);"
189
+ OPENAMP_REGIONS=" __OPENAMP_region_start__ = 0x38000400;\n__OPENAMP_region_end__ = 0x38000400 + LENGTH(RAM_D3) - 1K ;"
186
190
sed -i " s?ENTRY(Reset_Handler)?${OPENAMP_REGIONS} \nENTRY(Reset_Handler)?g" $ARDUINOVARIANT /linker_script.ld
187
191
fi
188
192
fi
You can’t perform that action at this time.
0 commit comments