mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-02-06 04:15:24 +00:00
36 lines
672 B
ArmAsm
36 lines
672 B
ArmAsm
|
/*
|
||
|
* Script for GNU linker.
|
||
|
* Describes layout of sections, location of stack.
|
||
|
*
|
||
|
* In this case vectors are at location 0 (reset @ 0x08)
|
||
|
*
|
||
|
* +------------+ 0x00400000
|
||
|
* data |
|
||
|
* end
|
||
|
* |(heap) |
|
||
|
* . .
|
||
|
* . .
|
||
|
* |(heap limit)|
|
||
|
*
|
||
|
* |- - - - - - |
|
||
|
* stack bottom 256k
|
||
|
* +------------+
|
||
|
*
|
||
|
* +------------+ 0x0000000
|
||
|
* |vectors |
|
||
|
* | |
|
||
|
* |------------+
|
||
|
* |text |
|
||
|
* |data |
|
||
|
* | | 1024k
|
||
|
* +------------+
|
||
|
*/
|
||
|
|
||
|
|
||
|
/* Split memory into area for vectors and ram */
|
||
|
MEMORY
|
||
|
{
|
||
|
flash (rx) : ORIGIN = 0x00000000, LENGTH = 2M
|
||
|
ram (rwx): ORIGIN = 0x00400020, LENGTH = 256k - 32
|
||
|
}
|