Skip to content

Commit 1d80202

Browse files
committed
NUCLEO_L476RG: GCC_ARM ld file fix
Following Merge pull request #4063 from LMESTM/17q2_L4_bootloader the NUCLEO_L476RG binairies could not boot anymore. The change done in #4063 was derived from work on NUCLEO_L429ZI target which supports uvisor. The VECTORS defintiion is introduced as part of uvisor support and requires further changes in ld file which were missing. As uvisor is not considered yet, we remove VECTORS for now and will introduce only when needed.
1 parent 35999be commit 1d80202

File tree

1 file changed

+1
-2
lines changed
  • targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/device/TOOLCHAIN_GCC_ARM

1 file changed

+1
-2
lines changed

targets/TARGET_STM/TARGET_STM32L4/TARGET_STM32L476xG/device/TOOLCHAIN_GCC_ARM/STM32L476XX.ld

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
/* Linker script to configure memory regions. */
1010
MEMORY
1111
{
12-
VECTORS (rx) : ORIGIN = MBED_APP_START, LENGTH = 0x400
13-
FLASH (rx) : ORIGIN = MBED_APP_START + 0x400, LENGTH = MBED_APP_SIZE - 0x400
12+
FLASH (rx) : ORIGIN = MBED_APP_START, LENGTH = MBED_APP_SIZE
1413
SRAM2 (rwx) : ORIGIN = 0x10000188, LENGTH = 32k - 0x188
1514
SRAM1 (rwx) : ORIGIN = 0x20000000, LENGTH = 96k
1615
}

0 commit comments

Comments
 (0)