aboutsummaryrefslogtreecommitdiff
path: root/system-clock/linker/linker_script.ld
diff options
context:
space:
mode:
Diffstat (limited to 'system-clock/linker/linker_script.ld')
-rw-r--r--system-clock/linker/linker_script.ld4
1 files changed, 4 insertions, 0 deletions
diff --git a/system-clock/linker/linker_script.ld b/system-clock/linker/linker_script.ld
index b9a8d4b..348d03b 100644
--- a/system-clock/linker/linker_script.ld
+++ b/system-clock/linker/linker_script.ld
@@ -22,11 +22,15 @@ SECTIONS
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 = .;
}