aboutsummaryrefslogtreecommitdiff
path: root/system-clock/linker/linker_script.ld
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2018-01-15 14:46:12 -0700
committerJosh Rahm <joshuarahm@gmail.com>2018-01-15 14:46:12 -0700
commit8e20f53dd3b33058508ff51bd19e49df19b06fb7 (patch)
tree9c8fa042aa57ebc94ad7e31519b243c3f00ff001 /system-clock/linker/linker_script.ld
parent178921510fb527ef294b29b690ec2ac1ac696d8e (diff)
downloadstm32l4-8e20f53dd3b33058508ff51bd19e49df19b06fb7.tar.gz
stm32l4-8e20f53dd3b33058508ff51bd19e49df19b06fb7.tar.bz2
stm32l4-8e20f53dd3b33058508ff51bd19e49df19b06fb7.zip
reorganize sources into src and include directories.
Diffstat (limited to 'system-clock/linker/linker_script.ld')
-rw-r--r--system-clock/linker/linker_script.ld14
1 files changed, 14 insertions, 0 deletions
diff --git a/system-clock/linker/linker_script.ld b/system-clock/linker/linker_script.ld
new file mode 100644
index 0000000..fe0c14b
--- /dev/null
+++ b/system-clock/linker/linker_script.ld
@@ -0,0 +1,14 @@
+MEMORY
+{
+ flash : org = 0x08000000, len = 256k
+}
+
+SECTIONS
+{
+ /* This is where the code goes. */
+ . = ORIGIN(flash);
+ .text : {
+ *(.vectors); /* All .vector sections go here. */
+ *(.text); /* All .text sections go here. */
+ } >flash
+}