Browse Source

Move scripts to scripts/

pull/5/head
Raphael Assenat 6 years ago
parent
commit
728aef1e5f
4 changed files with 7 additions and 6 deletions
  1. +3
    -3
      Makefile
  2. +3
    -3
      Makefile.stk525
  3. +1
    -0
      scripts/enter_bootloader.sh
  4. +0
    -0
      scripts/wait_then_flash.sh

+ 3
- 3
Makefile View File

@ -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


+ 3
- 3
Makefile.stk525 View File

@ -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


enter_bootloader.sh → scripts/enter_bootloader.sh View File


wait_then_flash.sh → scripts/wait_then_flash.sh View File


Loading…
Cancel
Save