git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13566 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2020-04-25 08:01:03 +00:00
parent f66f3bae57
commit 231a07268d
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ else
LAUNCHNAME1="$3 ($ELFNAME)(OpenOCD, Flash and Run)"
LAUNCHNAME2="$3 ($ELFNAME)(OpenOCD, Just Run)"
mkdir -p $1/$DEBUGDIR
cat ./arm_flash-and-run.launch | sed -r "s|EEEEEEEE|$2|g" | sed -r "s|PPPPPPPP|$3|g" > "$1/$DEBUGDIR/$LAUNCHNAME1.launch"
cat ./arm_just-run.launch | sed -r "s|EEEEEEEE|$2|g" | sed -r "s|PPPPPPPP|$3|g" > "$1/$DEBUGDIR/$LAUNCHNAME2.launch"
cat ./arm_flash-and-run.launch.template | sed -r "s|EEEEEEEE|$2|g" | sed -r "s|PPPPPPPP|$3|g" > "$1/$DEBUGDIR/$LAUNCHNAME1.launch"
cat ./arm_just-run.launch.template | sed -r "s|EEEEEEEE|$2|g" | sed -r "s|PPPPPPPP|$3|g" > "$1/$DEBUGDIR/$LAUNCHNAME2.launch"
echo
echo "Done"
fi