aboutsummaryrefslogtreecommitdiff
path: root/01-system-clock/linker/linker_script.ld
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-24 13:46:41 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-24 13:46:41 -0700
commit93b063fedfcf7409a67df035170ea5670cad22e1 (patch)
treea23321a7465d966b1ccf196ca00e65a70c9f9110 /01-system-clock/linker/linker_script.ld
parentb040195d31df6ad759f16ea3456471897f55daa1 (diff)
downloadstm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.tar.gz
stm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.tar.bz2
stm32l4-93b063fedfcf7409a67df035170ea5670cad22e1.zip
Moved action to top level.
Removed old iterations of the project and moved the files from 02-usart to the root directory since that's the sole place where the action is and that subproject has outgrown its initial title.
Diffstat (limited to '01-system-clock/linker/linker_script.ld')
-rw-r--r--01-system-clock/linker/linker_script.ld36
1 files changed, 0 insertions, 36 deletions
diff --git a/01-system-clock/linker/linker_script.ld b/01-system-clock/linker/linker_script.ld
deleted file mode 100644
index 348d03b..0000000
--- a/01-system-clock/linker/linker_script.ld
+++ /dev/null
@@ -1,36 +0,0 @@
-MEMORY
-{
- flash : org = 0x08000000, len = 256k
- sram1 : org = 0x20000000, len = 48k
- sram2 : org = 0x10000000, len = 16k
-}
-
-SECTIONS
-{
- /* This is where the code goes. */
- . = ORIGIN(flash);
- .text : {
- *(.vectors); /* All .vector sections go here. */
- *(.text); /* All .text sections go here. */
- } >flash
-
- .data : {
- /* Data segment as defined in the flash. */
- INIT_DATA_VALUES = LOADADDR(.data);
-
- /* Data segment where it will be in memory. */
- DATA_SEGMENT_START = .;
- *(.data);
- DATA_SEGMENT_STOP = .;
-
- /* Align by 4 so we can optimize the copier to use uint32's. */
- . = ALIGN(0x04);
- } >sram1 AT>flash
-
- BSS_START = .;
- .bss : {
- *(.bss);
- . = ALIGN(0x04);
- } > sram1
- BSS_END = .;
-}