projects
/
gps-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee61ed4
)
bootloader: Put the binary at offset 0x8000 in flash.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Mon, 17 Jun 2019 19:45:34 +0000
(21:45 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 7 Jul 2019 07:58:43 +0000
(09:58 +0200)
This generates a binary that can be loaded as an application,
which allows for easy testing of the code.
src/bootloader/bootloader.ld
patch
|
blob
|
history
diff --git
a/src/bootloader/bootloader.ld
b/src/bootloader/bootloader.ld
index 8083a7e40a6c1014c24700ce5d280b8b9ddbae21..55b605750956013061153ecfbba244349ea1b358 100644
(file)
--- a/
src/bootloader/bootloader.ld
+++ b/
src/bootloader/bootloader.ld
@@
-7,7
+7,8
@@
/* Linker script to configure memory regions. */
MEMORY
{
- FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x40000 /* 256k */
+ FLASH (rx)
+ : ORIGIN = 0x00008000, LENGTH = 0x38000
RAM (rwx)
: ORIGIN = 0x1fffe000, LENGTH = 0x08000