diff --git a/targets/stm32l432/linker/bootloader_stm32l4xx.ld b/targets/stm32l432/linker/bootloader_stm32l4xx.ld index 58bad83..cccd9c6 100644 --- a/targets/stm32l432/linker/bootloader_stm32l4xx.ld +++ b/targets/stm32l432/linker/bootloader_stm32l4xx.ld @@ -15,7 +15,7 @@ _MIN_STACK_SIZE = 0x400; MEMORY { flash (rx) : ORIGIN = 0x08000000, LENGTH = 20K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K + ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K sram2 (rw) : ORIGIN = 0x10000000, LENGTH = 16K } diff --git a/targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld b/targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld index 09cbf68..3e1efd7 100644 --- a/targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld +++ b/targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld @@ -15,7 +15,7 @@ _MIN_STACK_SIZE = 0x400; MEMORY { flash (rx) : ORIGIN = 0x08000000, LENGTH = 32K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K + ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K sram2 (rw) : ORIGIN = 0x10000000, LENGTH = 16K } diff --git a/targets/stm32l432/linker/stm32l4xx.ld b/targets/stm32l432/linker/stm32l4xx.ld index 5601d6c..9b010ed 100644 --- a/targets/stm32l432/linker/stm32l4xx.ld +++ b/targets/stm32l432/linker/stm32l4xx.ld @@ -15,7 +15,7 @@ _MIN_STACK_SIZE = 0x400; MEMORY { flash (rx) : ORIGIN = 0x08005000, LENGTH = 190K - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K + ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K sram2 (rw) : ORIGIN = 0x10000000, LENGTH = 16K } diff --git a/targets/stm32l432/linker/stm32l4xx_extra.ld b/targets/stm32l432/linker/stm32l4xx_extra.ld index b96409f..e58b1c8 100644 --- a/targets/stm32l432/linker/stm32l4xx_extra.ld +++ b/targets/stm32l432/linker/stm32l4xx_extra.ld @@ -14,8 +14,8 @@ _MIN_STACK_SIZE = 0x400; MEMORY { - flash (rx) : ORIGIN = 0x08008000, LENGTH = 186K-8 /* Leave out 38 Kb at end for data */ - ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K + flash (rx) : ORIGIN = 0x08008000, LENGTH = 178K + ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K sram2 (rw) : ORIGIN = 0x10000000, LENGTH = 16K }