Ai-Thinker-Open_RTL8710BX_A.../Living_SDK/board/bk7231udevkitc/bk7231udevkitc.ld
2020-06-18 22:04:32 +08:00

35 lines
713 B
Text

/*
* 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 = 0x00010000, LENGTH = 2M - 64k
ram (rwx): ORIGIN = 0x00400020, LENGTH = 256k - 32
}