Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
29ce7244
Commit
29ce7244
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Linker script for FC-Boot applications
parent
51a3e03c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
firmware/fcb-app.ld
+7
-7
7 additions, 7 deletions
firmware/fcb-app.ld
with
7 additions
and
7 deletions
firmware/fcb-app.ld
+
7
−
7
View file @
29ce7244
/* Teensyduino Core Library
/* Linker script for application firmware loaded by FC-Boot.
* Originally based on:
*
* Teensyduino Core Library
* http://www.pjrc.com/teensy/
* http://www.pjrc.com/teensy/
* Copyright (c) 2013 PJRC.COM, LLC.
* Copyright (c) 2013 PJRC.COM, LLC.
*
*
...
@@ -30,7 +33,7 @@
...
@@ -30,7 +33,7 @@
MEMORY
MEMORY
{
{
FLASH (rx) : ORIGIN = 0x0000
0
000, LENGTH = 12
8
K
FLASH (rx) : ORIGIN = 0x0000
1
000, LENGTH = 12
4
K
RAM (rwx) : ORIGIN = 0x1FFFE000, LENGTH = 16K
RAM (rwx) : ORIGIN = 0x1FFFE000, LENGTH = 16K
}
}
...
@@ -40,10 +43,6 @@ SECTIONS
...
@@ -40,10 +43,6 @@ SECTIONS
.text : {
.text : {
. = 0;
. = 0;
KEEP(*(.vectors))
KEEP(*(.vectors))
*(.startup*)
/* TODO: does linker detect startup overflow onto flashconfig? */
. = 0x400;
KEEP(*(.flashconfig*))
*(.text*)
*(.text*)
*(.rodata*)
*(.rodata*)
. = ALIGN(4);
. = ALIGN(4);
...
@@ -103,7 +102,8 @@ SECTIONS
...
@@ -103,7 +102,8 @@ SECTIONS
__bss_end = .;
__bss_end = .;
} > RAM
} > RAM
_estack = ORIGIN(RAM) + LENGTH(RAM);
_estack = ORIGIN(RAM) + LENGTH(RAM) - 4;
boot_token = _estack;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment