1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/flash.sh: rename HEXFILE to BINFILE

Flasher are doing 'loadbin' so use BINFILE name.
This commit is contained in:
cladmi 2018-10-11 17:43:26 +02:00 committed by Gaëtan Harter
parent ce8815f4d1
commit 52b0b183a3
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
2 changed files with 4 additions and 4 deletions

View File

@ -8,12 +8,12 @@
# @author Hauke Petersen <hauke.petersen@fu-berlin.de>
BINDIR=$1
HEXFILE=$2
BINFILE=$2
FLASHADDR=200000
# setup JLink command file
echo "speed 1000" > $BINDIR/burn.seg
echo "loadbin $HEXFILE $FLASHADDR" >> $BINDIR/burn.seg
echo "loadbin $BINFILE $FLASHADDR" >> $BINDIR/burn.seg
echo "r" >> $BINDIR/burn.seg
echo "g" >> $BINDIR/burn.seg
echo "exit" >> $BINDIR/burn.seg

View File

@ -8,12 +8,12 @@
# @author Hauke Petersen <hauke.petersen@fu-berlin.de>
BINDIR=$1
HEXFILE=$2
BINFILE=$2
FLASHADDR=200000
# setup JLink command file
echo "speed 1000" > $BINDIR/burn.seg
echo "loadbin $HEXFILE $FLASHADDR" >> $BINDIR/burn.seg
echo "loadbin $BINFILE $FLASHADDR" >> $BINDIR/burn.seg
echo "r" >> $BINDIR/burn.seg
echo "g" >> $BINDIR/burn.seg
echo "exit" >> $BINDIR/burn.seg