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:
parent
ce8815f4d1
commit
52b0b183a3
4
boards/cc2538dk/dist/flash.sh
vendored
4
boards/cc2538dk/dist/flash.sh
vendored
@ -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
|
||||
|
4
boards/common/remote/dist/flash.sh
vendored
4
boards/common/remote/dist/flash.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user