Skip to content
Snippets Groups Projects

change(epicardium): Increase size to 576 kb

Merged schneider requested to merge schneider/576kb-epicardium into master
4 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -6,12 +6,12 @@ BIN1="$2"
BIN2="$3"
BINOUT="$4"
if [ "$(stat -c "%s" "${BIN1}")" -gt 458752 ]; then
if [ "$(stat -c "%s" "${BIN1}")" -gt 589824 ]; then
echo "$0: ${BIN1} is too big to fit!" >&2
exit 1
fi
objcopy -I binary -O binary --pad-to=458752 --gap-fill=255 "${BIN1}" "$BINOUT"
objcopy -I binary -O binary --pad-to=589824 --gap-fill=255 "${BIN1}" "$BINOUT"
cat "$BIN2" >>"$BINOUT"
"$PYTHON" "$(dirname "$0")/crc_patch.py" "$BINOUT"
Loading