diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2015-04-20 14:17:40 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2015-04-20 14:17:40 +0900 |
commit | fc26cf08894e25f1ae1109c530b382d70babaf06 (patch) | |
tree | 23e9fdea71ac8c793c02621bf7d7935388ab4e01 /example-led/sample.ld | |
parent | 18b38533f7f16074e986483cc357c310cc533a0f (diff) | |
parent | 7c022432d19351dfc9553585ea6614b47fcd0c06 (diff) |
Version 0.05release/0.05
Merge branch 'cortex-m0-support'
Diffstat (limited to 'example-led/sample.ld')
-rw-r--r-- | example-led/sample.ld | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/example-led/sample.ld b/example-led/sample.ld index f98d789..07761e0 100644 --- a/example-led/sample.ld +++ b/example-led/sample.ld @@ -9,8 +9,12 @@ __process3_stack_size__ = 0x0100; /* third thread program */ MEMORY { +/* flash0 : org = 0x08000000, len = 4k flash : org = 0x08000000+0x1000, len = 60k +*/ + flash0 : org = 0x08000000, len = 1k + flash : org = 0x08000000+0x0400, len = 60k ram : org = 0x20000000, len = 20k } @@ -36,9 +40,11 @@ SECTIONS build/sys.o(.rodata) build/sys.o(.rodata.*) . = ALIGN(1024); +/* *(.sys.0) *(.sys.1) *(.sys.2) +*/ } > flash0 _text = .; @@ -78,6 +84,13 @@ SECTIONS _etext = .; _textdata = _etext; + .vectors_in_ram : + { + . = ALIGN(8); + __vector_ram_addr__ = .; + KEEP(*(.data.startup.*)) + } > ram + .process_stack : { . = ALIGN(8); |