summaryrefslogtreecommitdiff
path: root/src/micropeak-v2.0
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2017-12-21 19:07:13 -0700
committerBdale Garbee <bdale@gag.com>2017-12-21 19:07:13 -0700
commit456c27a7ed26e4edde02aa0a0b8ef4f46f1ea464 (patch)
tree7c259a612e315ac439c2d6ac87e08f6c67b68485 /src/micropeak-v2.0
parentfe2fe0f4b8382d7e0a5eceaeccced28ef004dab8 (diff)
parent16a9d8617b2d2092d166a85ada4349601afb0dce (diff)
Merge branch 'branch-1.8' into debian
Diffstat (limited to 'src/micropeak-v2.0')
-rw-r--r--src/micropeak-v2.0/micropeak.ld10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/micropeak-v2.0/micropeak.ld b/src/micropeak-v2.0/micropeak.ld
index 77717e16..baeae5b8 100644
--- a/src/micropeak-v2.0/micropeak.ld
+++ b/src/micropeak-v2.0/micropeak.ld
@@ -19,8 +19,8 @@
MEMORY {
rom (rx) : ORIGIN = 0x08001000, LENGTH = 20K
flash(rx) : ORIGIN = 0x08006000, LENGTH = 8K
- ram (!w) : ORIGIN = 0x20000000, LENGTH = 6k - 128
- stack (!w) : ORIGIN = 0x20000000 + 6k - 128, LENGTH = 128
+ ram (!w) : ORIGIN = 0x20000000, LENGTH = 6k - 512
+ stack (!w) : ORIGIN = 0x20000000 + 6k - 512, LENGTH = 512
}
INCLUDE registers.ld
@@ -94,11 +94,11 @@ SECTIONS {
*(.ramtext)
} >ram AT>rom
- /* Data -- relocated to RAM, but written to ROM
+ /* Data -- relocated to RAM, but written to ROM,
+ * also aligned to 8 bytes to agree with textram
*/
- .data : {
+ .data BLOCK(8): {
*(.data) /* initialized data */
- . = ALIGN(4);
__data_end__ = .;
} >ram AT>rom