From 6609dfb516f67ca72fd20b57c3679af006cea035 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Thu, 18 Jun 2020 09:56:59 +0800 Subject: [PATCH] [stm32] fix linkscript issue in stm32f411-atk-nano --- bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds b/bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds index ca8c2db948..a2dc692d06 100644 --- a/bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds +++ b/bsp/stm32/stm32f411-atk-nano/board/linker_scripts/link.lds @@ -6,8 +6,8 @@ /* Program Entry, set to mark it as "used" and avoid gc */ MEMORY { - ROM (rx) : ORIGIN = 0x08000000, LENGTH = 256 /* 256KB flash */ - RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 128K sram */ + ROM (rx) : ORIGIN = 0x08000000, LENGTH = 256k /* 256KB flash */ + RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 128K sram */ } ENTRY(Reset_Handler) _system_stack_size = 0x200;