aboutsummaryrefslogtreecommitdiff
path: root/example-fs-bb48/sample.ld
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2016-05-30 14:06:18 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2016-05-30 14:06:18 +0900
commit8209f3875510d1990142a367c8bab6164c2f82cc (patch)
treeabe22e0d0816982ecfcf1223f52ee9ddbd490280 /example-fs-bb48/sample.ld
parent781ad1847c14a3e804a622d382626bad3d2530f3 (diff)
example-fs-bb48: Add flash ROM handling
Diffstat (limited to 'example-fs-bb48/sample.ld')
-rw-r--r--example-fs-bb48/sample.ld6
1 files changed, 5 insertions, 1 deletions
diff --git a/example-fs-bb48/sample.ld b/example-fs-bb48/sample.ld
index 43c6e4a..5a728a6 100644
--- a/example-fs-bb48/sample.ld
+++ b/example-fs-bb48/sample.ld
@@ -35,10 +35,14 @@ SECTIONS
build/sys.o(.rodata.*)
. = ALIGN(1024);
KEEP(*(.flash_config))
+ KEEP(*(.fixed_function.reset))
+ KEEP(*(.fixed_function.flash_do_internal))
+ KEEP(*(.fixed_function.flash_do))
+ KEEP(*(.fixed_function.flash_erase_page))
+ KEEP(*(.fixed_function.flash_program_word))
KEEP(*(.fixed_function.crc32_init))
KEEP(*(.fixed_function.crc32_u8))
KEEP(*(.fixed_function.crc32_u32))
- KEEP(*(.reset.entry))
/*
* Because of alignment requirement
* of startup.vectors, align to 256.