mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 14:58:51 -05:00
Move scripts to scripts/
This commit is contained in:
parent
099127c512
commit
728aef1e5f
6
Makefile
6
Makefile
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user