mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-29 16:25:54 +08:00
eaef5bd133
This reverts commit 1a17e17c462bdd4e1d26d8742f8b7087273e04c2. PUBLISHED_FROM=80028de308c9a021955d1425d2bfee8feb85f193
94 lines
1.6 KiB
Plaintext
Executable File
94 lines
1.6 KiB
Plaintext
Executable File
/*
|
|
* Copyright (c) 2016 Cesanta Software Limited
|
|
* All rights reserved
|
|
* GCC linker script for stm32f429. Based on startup sctipt
|
|
* (startup_stm32f429xx.s - COPYRIGHT 2015 STMicroelectronics)
|
|
*/
|
|
ENTRY(Reset_Handler)
|
|
|
|
_estack = 0x2002FFFF; /* required by startup sctipt */
|
|
|
|
MEMORY
|
|
{
|
|
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 1024K
|
|
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 192K
|
|
CCMRAM (rw) : ORIGIN = 0x10000000, LENGTH = 64K
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.isr_vector :
|
|
{
|
|
. = ALIGN(4);
|
|
*(.isr_vector)
|
|
. = ALIGN(4);
|
|
} >FLASH
|
|
|
|
.text :
|
|
{
|
|
. = ALIGN(4);
|
|
*(.text)
|
|
*(.text*)
|
|
*(.glue_7t)
|
|
*(.eh_frame)
|
|
*(.init)
|
|
*(.fini)
|
|
. = ALIGN(4);
|
|
_etext = .;
|
|
} >FLASH
|
|
|
|
.rodata :
|
|
{
|
|
. = ALIGN(4);
|
|
*(.rodata)
|
|
*(.rodata*)
|
|
. = ALIGN(4);
|
|
} >FLASH
|
|
|
|
_sidata = LOADADDR(.data); /* required by startup sctipt */
|
|
|
|
.data :
|
|
{
|
|
. = ALIGN(4);
|
|
_sdata = .;
|
|
*(.data)
|
|
*(.data*)
|
|
. = ALIGN(4);
|
|
_edata = .;
|
|
} >RAM AT> FLASH
|
|
|
|
_siccmram = LOADADDR(.ccmram); /* required by startup sctipt */
|
|
|
|
.ccmram :
|
|
{
|
|
. = ALIGN(4);
|
|
_sccmram = .;
|
|
*(.ccmram)
|
|
*(.ccmram*)
|
|
|
|
. = ALIGN(4);
|
|
_eccmram = .;
|
|
} >CCMRAM AT> FLASH
|
|
|
|
. = ALIGN(4);
|
|
.bss :
|
|
{
|
|
_sbss = .;
|
|
__bss_start__ = _sbss;
|
|
*(.bss)
|
|
*(.bss*)
|
|
*(COMMON)
|
|
|
|
. = ALIGN(4);
|
|
_ebss = .;
|
|
__bss_end__ = _ebss;
|
|
} >RAM
|
|
|
|
._user_heap_stack :
|
|
{
|
|
. = ALIGN(4);
|
|
PROVIDE ( end = . );
|
|
. = ALIGN(4);
|
|
} >RAM
|
|
}
|