Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
b53e8edb
Commit
b53e8edb
authored
Jun 14, 2019
by
schneider
Browse files
fix(bootloader): Special linker script for the bootloader
parent
c25454e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
bootloader/Makefile
View file @
b53e8edb
...
...
@@ -102,7 +102,7 @@ PROJ_CFLAGS+=-DMXC_ASSERT_ENABLE
#MXC_OPTIMIZE_CFLAGS=-Og
# Point this variable to a linker file to override the default file
#
LINKERFILE=$(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source/GCC/$(TARGET_LC).ld
LINKERFILE
=
$(CMSIS_ROOT)
/Device/Maxim/
$(TARGET_UC)
/Source/GCC/
$(TARGET_LC)
_boot
.ld
################################################################################
# Include external library makefiles here
...
...
lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_
app
.ld
→
lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_
boot
.ld
View file @
b53e8edb
...
...
@@ -38,7 +38,7 @@
/* If used, they should be adjusted for the external Flash/RAM size */
MEMORY {
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
FLASH (rx) : ORIGIN = 0x100
1
0000, LENGTH =
960
k
FLASH (rx) : ORIGIN = 0x100
0
0000, LENGTH =
64
k
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 512k
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment