Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Niklas Roy
firmware
Commits
7955f13e
Commit
7955f13e
authored
Dec 19, 2020
by
Rahix
Browse files
Merge 'change(epicardium): Increase size to 576 kb'
See merge request
card10/firmware!431
parents
88fd915e
52d44b89
Changes
4
Hide whitespace changes
Inline
Side-by-side
bootloader/build_multi_image.sh
View file @
7955f13e
...
...
@@ -6,12 +6,12 @@ BIN1="$2"
BIN2
=
"
$3
"
BINOUT
=
"
$4
"
if
[
"
$(
stat
-c
"%s"
"
${
BIN1
}
"
)
"
-gt
4
58
752
]
;
then
if
[
"
$(
stat
-c
"%s"
"
${
BIN1
}
"
)
"
-gt
58
9824
]
;
then
echo
"
$0
:
${
BIN1
}
is too big to fit!"
>
&2
exit
1
fi
objcopy
-I
binary
-O
binary
--pad-to
=
4
58
752
--gap-fill
=
255
"
${
BIN1
}
"
"
$BINOUT
"
objcopy
-I
binary
-O
binary
--pad-to
=
58
9824
--gap-fill
=
255
"
${
BIN1
}
"
"
$BINOUT
"
cat
"
$BIN2
"
>>
"
$BINOUT
"
"
$PYTHON
"
"
$(
dirname
"
$0
"
)
/crc_patch.py"
"
$BINOUT
"
epicardium/modules/lifecycle.c
View file @
7955f13e
...
...
@@ -15,7 +15,7 @@
#include
<stdbool.h>
#include
<stdbool.h>
#define PYCARDIUM_IVT (void *)0x100
8
0000
#define PYCARDIUM_IVT (void *)0x100
a
0000
#define BLOCK_WAIT pdMS_TO_TICKS(1000)
/*
* Loading an empty filename into Pycardium will drop straight into the
...
...
lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_core0.ld
View file @
7955f13e
...
...
@@ -40,7 +40,7 @@ STACK_SIZE = 0x1000;
/* If used, they should be adjusted for the external Flash/RAM size */
MEMORY {
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
FLASH (rx) : ORIGIN = 0x10010000, LENGTH =
448
k
FLASH (rx) : ORIGIN = 0x10010000, LENGTH =
576
k
SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 256k
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
}
...
...
lib/sdk/Libraries/CMSIS/Device/Maxim/MAX32665/Source/GCC/max32665_core1.ld
View file @
7955f13e
...
...
@@ -40,7 +40,7 @@ STACK_SIZE = 0x2000;
/* If used, they should be adjusted for the external Flash/RAM size */
MEMORY {
SPIX (rx) : ORIGIN = 0x08000000, LENGTH = 128M
FLASH (rx) : ORIGIN = 0x100
8
0000, LENGTH =
512
k
FLASH (rx) : ORIGIN = 0x100
a
0000, LENGTH =
384
k
SRAM (rwx) : ORIGIN = 0x20040000, LENGTH = 256k
SPID (r) : ORIGIN = 0x80000000, LENGTH = 512M
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment