aboutsummaryrefslogtreecommitdiff
path: root/system-clock/linker_script.ld
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2018-01-15 13:51:38 -0700
committerJosh Rahm <joshuarahm@gmail.com>2018-01-15 13:51:38 -0700
commitc861c7cd70959f9d6154d1b5541cc5cd57f030ba (patch)
treee26281e90e136e62e48b1206ef858f2db3430538 /system-clock/linker_script.ld
downloadstm32l4-c861c7cd70959f9d6154d1b5541cc5cd57f030ba.tar.gz
stm32l4-c861c7cd70959f9d6154d1b5541cc5cd57f030ba.tar.bz2
stm32l4-c861c7cd70959f9d6154d1b5541cc5cd57f030ba.zip
Added system-clock files including the genmake script.
Diffstat (limited to 'system-clock/linker_script.ld')
-rw-r--r--system-clock/linker_script.ld14
1 files changed, 14 insertions, 0 deletions
diff --git a/system-clock/linker_script.ld b/system-clock/linker_script.ld
new file mode 100644
index 0000000..fe0c14b
--- /dev/null
+++ b/system-clock/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
+}