1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-12-21 23:08:53 -05:00

Move scripts to scripts/

This commit is contained in:
Raphael Assenat 2015-12-06 23:13:29 -05:00
parent 099127c512
commit 728aef1e5f
4 changed files with 7 additions and 6 deletions

View File

@ -35,11 +35,11 @@ $(PROGNAME).hex: $(PROGNAME).elf
fuse: fuse:
flash: $(HEXFILE) flash: $(HEXFILE)
./enter_bootloader.sh - ./scripts/enter_bootloader.sh
./wait_then_flash.sh $(CPU) $(HEXFILE) ./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
justflash: $(HEXFILE) justflash: $(HEXFILE)
./wait_then_flash.sh $(CPU) $(HEXFILE) ./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
chip_erase: chip_erase:
dfu-programmer atmega32u2 erase dfu-programmer atmega32u2 erase

View File

@ -39,11 +39,11 @@ clean:
fuse: fuse:
flash: $(HEXFILE) flash: $(HEXFILE)
./enter_bootloader.sh - ./scripts/enter_bootloader.sh
./wait_then_flash.sh $(CPU) $(HEXFILE) ./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
justflash: $(HEXFILE) justflash: $(HEXFILE)
./wait_then_flash.sh $(CPU) $(HEXFILE) ./scripts/wait_then_flash.sh $(CPU) $(HEXFILE)
chip_erase: chip_erase:
dfu-programmer atmega32u2 erase dfu-programmer atmega32u2 erase

View File

@ -4,6 +4,7 @@ TOOL=./tool/gcn64ctl
if [ -x $TOOL ]; then if [ -x $TOOL ]; then
$TOOL -f --bootloader $TOOL -f --bootloader
exit 0 # The tool fails, but we should continue
else else
echo $TOOL not found. Please compile it to enter bootloader automatically. echo $TOOL not found. Please compile it to enter bootloader automatically.
fi fi