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
ca40deba
"examples/processing/triangle16_wavefronts/OPC.pde" did not exist on "1c9e6b85396bf6879c467fb3b6de4b625cd6edc9"
Commit
ca40deba
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Simplify linker script for FC-Boot, no more RAM IVT
parent
29ce7244
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
bootloader/mk20dx128.ld
+10
-31
10 additions, 31 deletions
bootloader/mk20dx128.ld
with
10 additions
and
31 deletions
bootloader/mk20dx128.ld
+
10
−
31
View file @
ca40deba
...
...
@@ -30,15 +30,9 @@
MEMORY
{
/* Boot and application partitions in flash */
BOOT_FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 4K
APP_FLASH (rx) : ORIGIN = 0x00001000, LENGTH = 124K
/* Boot and application partitions in RAM */
BOOT_RAM (rwx) : ORIGIN = 0x1FFFE000, LENGTH = 256
APP_RAM (rwx) : ORIGIN = 0x1FFFE100, LENGTH = 16128
/* Special RAM used for programming flash */
RAM (rwx) : ORIGIN = 0x1FFFE000, LENGTH = 16K
FLEXRAM (rwx) : ORIGIN = 0x14000000, LENGTH = 2K
}
...
...
@@ -52,44 +46,28 @@ SECTIONS
KEEP(*(.flashconfig*))
*(.text*)
*(.rodata*)
. = ALIGN(4);
KEEP(*(.init))
. = ALIGN(4);
__preinit_array_start = .;
KEEP (*(.preinit_array))
__preinit_array_end = .;
__init_array_start = .;
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
__init_array_end = .;
} > BOOT_FLASH = 0xFF
_etext = .;
.apptext : {
. =
0
;
. =
ORIGIN(APP_FLASH)
;
*(.appvectors)
} > APP_FLASH = 0xFF
.bootram (NOLOAD) : {
. = 0;
*(.bootram)
} > BOOT_RAM
.usbdescriptortable (NOLOAD) : {
/* . = ORIGIN(RAM); */
. = ALIGN(512);
*(.usbdescriptortable*)
} >
APP_
RAM
} > RAM
.dmabuffers (NOLOAD) : {
. = ALIGN(4);
*(.dmabuffers*)
} >
APP_
RAM
} > RAM
.usbbuffers (NOLOAD) : {
. = ALIGN(4);
*(.usbbuffers*)
} >
APP_
RAM
} > RAM
.flexram (NOLOAD) : {
. = ALIGN(4);
...
...
@@ -102,11 +80,11 @@ SECTIONS
*(.data*)
. = ALIGN(4);
_edata = .;
} >
APP_
RAM
} > RAM
.noinit (NOLOAD) : {
*(.noinit*)
} >
APP_
RAM
} > RAM
.bss : {
. = ALIGN(4);
...
...
@@ -116,9 +94,10 @@ SECTIONS
. = ALIGN(4);
_ebss = .;
__bss_end = .;
} >
APP_
RAM
} > RAM
_estack = ORIGIN(APP_RAM) + LENGTH(APP_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