diff options
| author | hathach <[email protected]> | 2019-03-19 16:41:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-03-19 16:41:00 +0700 |
| commit | 0fcd263df32eb4901512430f659ee1bf35b6624b (patch) | |
| tree | 9ab121001cd6b74d42627fb694b1b125f453b53d /hw/bsp | |
| parent | 11eed2f0260c8f71ae14c01403f49bcf2bcf47bd (diff) | |
stm32f place startup*.o first in linking order due to gcc flto bug
ref: https://bugs.launchpad.net/gcc-arm-embedded/+bug/1747966
Diffstat (limited to 'hw/bsp')
| -rw-r--r-- | hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld b/hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld index 4f8a997dc..c41602720 100644 --- a/hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld +++ b/hw/bsp/stm32f407g_disc1/STM32F407VGTx_FLASH.ld @@ -41,9 +41,9 @@ _Min_Stack_Size = 0x4000; /* required amount of stack */ /* Specify the memory areas */ MEMORY { -RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K -CCMRAM (rw) : ORIGIN = 0x10000000, LENGTH = 64K -FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 1024K + RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K + CCMRAM (rw) : ORIGIN = 0x10000000, LENGTH = 64K + FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 1024K } /* Define output sections */ |
