diff --git a/docs/memory.md b/docs/memory.md index 044eeda82..bc440a6fd 100644 --- a/docs/memory.md +++ b/docs/memory.md @@ -37,3 +37,4 @@ | CCM RAM | 0x10000000 - 0x1000FFFF | 64 KiB | Core Coupled Memory | SRAM1 | 0x20000000 - 0x2001BFFF | 112 KiB | General Purpose SRAM | SRAM2 | 0x2001C000 - 0x2001FFFF | 16 KiB | General Purpose SRAM +| SRAM3 | 0x20020000 - 0x2002FFFF | 64 KiB | General Purpose SRAM diff --git a/embed/boardloader/memory.ld b/embed/boardloader/memory.ld index 72c0f6192..962de6490 100644 --- a/embed/boardloader/memory.ld +++ b/embed/boardloader/memory.ld @@ -5,7 +5,7 @@ ENTRY(reset_handler) MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 48K CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K - SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 128K + SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 192K } main_stack_base = ORIGIN(CCMRAM) + LENGTH(CCMRAM); /* 8-byte aligned full descending stack */ diff --git a/embed/bootloader/memory.ld b/embed/bootloader/memory.ld index 017036058..72f263ce0 100644 --- a/embed/bootloader/memory.ld +++ b/embed/bootloader/memory.ld @@ -5,7 +5,7 @@ ENTRY(reset_handler) MEMORY { FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 128K CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K - SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 128K + SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 192K } main_stack_base = ORIGIN(CCMRAM) + LENGTH(CCMRAM); /* 8-byte aligned full descending stack */ diff --git a/embed/firmware/memory.ld b/embed/firmware/memory.ld index 1ea26a3f3..ddc3a8ee9 100644 --- a/embed/firmware/memory.ld +++ b/embed/firmware/memory.ld @@ -5,7 +5,7 @@ ENTRY(reset_handler) MEMORY { FLASH (rx) : ORIGIN = 0x08040000, LENGTH = 768K CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K - SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 128K + SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 192K } main_stack_base = ORIGIN(SRAM) + LENGTH(SRAM); /* 8-byte aligned full descending stack */