From f3b591e570f550df52d6dd0f5472ea1412816987 Mon Sep 17 00:00:00 2001 From: Nicolas Stalder Date: Thu, 21 Mar 2019 21:03:49 -0400 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: conorpp --- targets/stm32l432/linker/bootloader_stm32l4xx.ld | 2 +- targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld | 2 +- targets/stm32l432/linker/stm32l4xx.ld | 2 +- targets/stm32l432/linker/stm32l4xx_extra.ld | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) 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 }