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
64a460e8
Commit
64a460e8
authored
Jun 25, 2019
by
schneider
Browse files
hack(bootloader): Adapt scripts to allow compilation for old bootloader
parent
81fce4c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
bootloader/build_multi_image.sh
View file @
64a460e8
...
@@ -6,7 +6,7 @@ BIN1="$2"
...
@@ -6,7 +6,7 @@ BIN1="$2"
BIN2
=
"
$3
"
BIN2
=
"
$3
"
BINOUT
=
"
$4
"
BINOUT
=
"
$4
"
dd
if
=
/dev/zero
ibs
=
1k
count
=
448
2>/dev/null |
tr
"
\0
00"
"
\3
77"
>
"
$BINOUT
"
dd
if
=
/dev/zero
ibs
=
1k
count
=
192
2>/dev/null |
tr
"
\0
00"
"
\3
77"
>
"
$BINOUT
"
dd
if
=
"
$BIN1
"
of
=
"
$BINOUT
"
conv
=
notrunc 2>/dev/null
dd
if
=
"
$BIN1
"
of
=
"
$BINOUT
"
conv
=
notrunc 2>/dev/null
dd
if
=
"
$BIN2
"
of
=
"
$BINOUT
"
conv
=
notrunc
oflag
=
append 2>/dev/null
dd
if
=
"
$BIN2
"
of
=
"
$BINOUT
"
conv
=
notrunc
oflag
=
append 2>/dev/null
...
...
lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_core0.ld
View file @
64a460e8
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
/* If used, they should be adjusted for the external Flash/RAM size */
/* If used, they should be adjusted for the external Flash/RAM size */
MEMORY {
MEMORY {
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
FLASH (rx) : ORIGIN = 0x10010000, LENGTH =
448
k
FLASH (rx) : ORIGIN = 0x10010000, LENGTH =
192
k
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 256k
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 256k
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
}
}
...
...
lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_core1.ld
View file @
64a460e8
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
/* If used, they should be adjusted for the external Flash/RAM size */
/* If used, they should be adjusted for the external Flash/RAM size */
MEMORY {
MEMORY {
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
FLASH (rx) : ORIGIN = 0x100
8
0000, LENGTH = 512k
FLASH (rx) : ORIGIN = 0x100
4
0000, LENGTH = 512k
SRAM (rwx) : ORIGIN = 0x20040000, LENGTH = 256k
SRAM (rwx) : ORIGIN = 0x20040000, LENGTH = 256k
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
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