summaryrefslogtreecommitdiff
path: root/STM32H750ZBTX_FLASH.ld
diff options
context:
space:
mode:
Diffstat (limited to 'STM32H750ZBTX_FLASH.ld')
-rwxr-xr-xSTM32H750ZBTX_FLASH.ld11
1 files changed, 10 insertions, 1 deletions
diff --git a/STM32H750ZBTX_FLASH.ld b/STM32H750ZBTX_FLASH.ld
index 972ca74..a9622d8 100755
--- a/STM32H750ZBTX_FLASH.ld
+++ b/STM32H750ZBTX_FLASH.ld
@@ -44,6 +44,7 @@ _Min_Stack_Size = 0x400; /* required amount of stack */
MEMORY
{
FLASH (rx) : ORIGIN = 0x90000000, LENGTH = 16M
+ SDRAM (xrw) : ORIGIN = 0xC0000000, LENGTH = 32M
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
@@ -176,7 +177,7 @@ SECTIONS
.ARM.attributes 0 : { *(.ARM.attributes) }
- .audio_buffers (NOLOAD):
+ .audio_buffers (NOLOAD) :
{
. = ALIGN(32);
_saudio_buffers = .;
@@ -185,6 +186,14 @@ SECTIONS
. = ALIGN(32);
_eaudio_buffers = .;
} >RAM_D1
+
+ .sdram (NOLOAD) :
+ {
+ . = ALIGN(4);
+ *(.sdram)
+ *(.sdram*)
+ . = ALIGN(4);
+ } >SDRAM
}