summaryrefslogtreecommitdiff
path: root/src/lambdakey-v1.0/lambda.ld
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2017-12-21 19:05:46 -0700
committerBdale Garbee <bdale@gag.com>2017-12-21 19:05:46 -0700
commitdbb78c8222c45f4430601deee0194b0c9dc2e79a (patch)
tree6805b815727c58ad6c01f9163e42ab3177ee56d5 /src/lambdakey-v1.0/lambda.ld
parentfe38c22595b050435dbacd35f1baae064fb7de75 (diff)
parent87aab99521dc44d1d29fbb0b7f227f868f074836 (diff)
Merge branch 'master' into branch-1.8
Diffstat (limited to 'src/lambdakey-v1.0/lambda.ld')
-rw-r--r--src/lambdakey-v1.0/lambda.ld13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/lambdakey-v1.0/lambda.ld b/src/lambdakey-v1.0/lambda.ld
index 5de65eb5..b09fdb4a 100644
--- a/src/lambdakey-v1.0/lambda.ld
+++ b/src/lambdakey-v1.0/lambda.ld
@@ -17,10 +17,9 @@
*/
MEMORY {
- rom (rx) : ORIGIN = 0x08001000, LENGTH = 25K
- flash (r): ORIGIN = 0x08007400, LENGTH = 3k
- ram (!w) : ORIGIN = 0x20000000, LENGTH = 6k - 128
- stack (!w) : ORIGIN = 0x20000000 + 6k - 128, LENGTH = 128
+ rom (rx) : ORIGIN = 0x08001000, LENGTH = 28K
+ ram (!w) : ORIGIN = 0x20000000, LENGTH = 6k - 1k
+ stack (!w) : ORIGIN = 0x20000000 + 6k - 1k, LENGTH = 1k
}
INCLUDE registers.ld
@@ -93,9 +92,9 @@ SECTIONS {
/* Data -- relocated to RAM, but written to ROM
*/
- .data : {
+ .data BLOCK(8): {
*(.data) /* initialized data */
- . = ALIGN(4);
+ . = ALIGN(8);
__data_end__ = .;
} >ram AT>rom
@@ -110,8 +109,6 @@ SECTIONS {
PROVIDE(end = .);
PROVIDE(__stack__ = ORIGIN(stack) + LENGTH(stack));
-
- __flash__ = ORIGIN(flash);
}
ENTRY(start);