From 22293f82f27193e84c1e792c4183309e52554693 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 24 Aug 2019 08:13:30 +0200 Subject: [PATCH] Rename flash2 -> flash_cfg --- targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld b/targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld index 105abd2..fbb96da 100644 --- a/targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld +++ b/targets/stm32l432/linker/bootloader_stm32l4xx_extra.ld @@ -13,8 +13,8 @@ _estack = 0x2000c000; _MIN_STACK_SIZE = 0x400; /* -flash2 is for storing bootloader data, like last used firmware version. -bootloader_configuration should be equal to (APPLICATION_END_PAGE) page address, from targets/stm32l432/src/memory_layout.h:30; and equal to flash2 origin +flash_cfg is for storing bootloader data, like last used firmware version. +bootloader_configuration should be equal to (APPLICATION_END_PAGE) page address, from targets/stm32l432/src/memory_layout.h:30; and equal to flash_cfg origin */ bootloader_configuration = 0x08000000 + 216*1024+8; @@ -22,7 +22,7 @@ bootloader_configuration = 0x08000000 + 216*1024+8; MEMORY { flash (rx) : ORIGIN = 0x08000000, LENGTH = 32K - flash2 (rx) : ORIGIN = 0x08000000 + 216*1024+8, LENGTH = 2K-8 + flash_cfg (rx) : ORIGIN = 0x08000000 + 216*1024+8, LENGTH = 2K-8 ram (xrw) : ORIGIN = 0x20000000, LENGTH = 48K sram2 (rw) : ORIGIN = 0x10000000, LENGTH = 16K } @@ -50,7 +50,7 @@ SECTIONS .flag2 bootloader_configuration : { KEEP(*(.flag2)) ; - } > flash2 + } > flash_cfg _sidata = LOADADDR(.data);