Move scripts to scripts/
parent
099127c512
commit
728aef1e5f
6
Makefile
6
Makefile
|
@ -35,11 +35,11 @@ $(PROGNAME).hex: $(PROGNAME).elf
|
|||
fuse:
|
||||
|
||||
flash: $(HEXFILE)
|
||||
./enter_bootloader.sh
|
||||
./wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
- ./scripts/enter_bootloader.sh
|
||||
./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
|
||||
justflash: $(HEXFILE)
|
||||
./wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
|
||||
chip_erase:
|
||||
dfu-programmer atmega32u2 erase
|
||||
|
|
|
@ -39,11 +39,11 @@ clean:
|
|||
fuse:
|
||||
|
||||
flash: $(HEXFILE)
|
||||
./enter_bootloader.sh
|
||||
./wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
- ./scripts/enter_bootloader.sh
|
||||
./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
|
||||
justflash: $(HEXFILE)
|
||||
./wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
|
||||
|
||||
chip_erase:
|
||||
dfu-programmer atmega32u2 erase
|
||||
|
|
|
@ -4,6 +4,7 @@ TOOL=./tool/gcn64ctl
|
|||
|
||||
if [ -x $TOOL ]; then
|
||||
$TOOL -f --bootloader
|
||||
exit 0 # The tool fails, but we should continue
|
||||
else
|
||||
echo $TOOL not found. Please compile it to enter bootloader automatically.
|
||||
fi
|
Loading…
Reference in New Issue