https://github.com/mupq/pqm4
Revision 8110b02a789d7969145230a1d43a2b21c3c182b6 authored by Matthias J. Kannwischer on 27 July 2020, 02:15:28 UTC, committed by Matthias J. Kannwischer on 27 July 2020, 02:15:28 UTC
1 parent 3a94b91
Tip revision: 8110b02a789d7969145230a1d43a2b21c3c182b6 authored by Matthias J. Kannwischer on 27 July 2020, 02:15:28 UTC
instead of sending more markers; just add delay in hal_setup
instead of sending more markers; just add delay in hal_setup
Tip revision: 8110b02
flash.sh
#!/bin/sh
if [ $# -eq 0 ]
then
BINARY=efm32-test.bin
else
BINARY=$1
fi
ESCAPED_BINARY=$(printf '%s\n' "$BINARY" | sed -e 's/[\/&]/\\&/g')
sed "s/BINARY/${ESCAPED_BINARY}/" < flash.jlink > build/flash.jlink
JLinkExe -device EFM32GG11B820F2048GL192 -speed 4000 -if SWD -CommanderScript build/flash.jlink

Computing file changes ...