Page 1 of 1

Linker Script for STM32F407xE

Posted: Thu May 12, 2016 10:49 am
by neums
Hi,
is it possible to add the linker script file of the STM32F407xE? This controller has just a 512kByte flash instead of 1MByte.
Short proposal:

Code: Select all

/*
 * STM32F407xE memory setup.
 * Note: Use of ram1 and ram2 is mutually exclusive with use of ram0.
 */
MEMORY
{
    flash : org = 0x08000000, len = 512k
    ram0  : org = 0x20000000, len = 128k    /* SRAM1 + SRAM2 */
    ram1  : org = 0x20000000, len = 112k    /* SRAM1 */
    ram2  : org = 0x2001C000, len = 16k     /* SRAM2 */
    ram3  : org = 0x00000000, len = 0
    ram4  : org = 0x10000000, len = 64k     /* CCM SRAM */
    ram5  : org = 0x40024000, len = 4k      /* BCKP SRAM */
    ram6  : org = 0x00000000, len = 0
    ram7  : org = 0x00000000, len = 0
}

Re: Linker Script for STM32F407xE

Posted: Fri May 13, 2016 12:59 pm
by RoccoMarco
Added on trunk.
Ciao,
RM