FT32 linker script now parameterized for flash and RAM size.
2015-09-09 James Bowman <james.bowman@ftdichip.com> ld/ * scripttempl/ft32.sc: default linker script RAM and FLASH size symbols
This commit is contained in:
parent
7bdf96efee
commit
ea4a7f9986
@ -1,3 +1,8 @@
|
||||
2015-09-09 James Bowman <james.bowman@ftdichip.com>
|
||||
|
||||
* scripttempl/ft32.sc: default linker script RAM and
|
||||
FLASH size symbols
|
||||
|
||||
2015-09-09 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* po/zh_CN.po: Updated simplified Chinese translation.
|
||||
|
@ -14,10 +14,13 @@ OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
||||
OUTPUT_ARCH(${ARCH})
|
||||
${LIB_SEARCH_DIRS}
|
||||
|
||||
PROVIDE( __PMSIZE = 256K );
|
||||
PROVIDE( __RAMSIZE = 64K );
|
||||
|
||||
MEMORY
|
||||
{
|
||||
flash (rx) : ORIGIN = 0, LENGTH = 256K
|
||||
ram (rw!x) : ORIGIN = 0x800000, LENGTH = 64K
|
||||
flash (rx) : ORIGIN = 0, LENGTH = __PMSIZE
|
||||
ram (rw!x) : ORIGIN = 0x800000, LENGTH = __RAMSIZE
|
||||
}
|
||||
SECTIONS
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user