Skip to content

Commit

Permalink
Flashing Makefile additions
Browse files Browse the repository at this point in the history
Signed-off-by: Szczepan Zalega <[email protected]>
  • Loading branch information
szszszsz committed Jun 18, 2019
1 parent 52625ec commit 79ac770
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Debug/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ all:
@grep "^[\.\w]*:" -P Makefile --color=yes

firmware.hex: USB_MASS.elf
ls -l $<
avr-objcopy -R .eeprom -O ihex $< $@
cp $@ storage-firmware-`git describe --long`.hex
ls -l $@ storage-firmware-`git describe --long`.hex
Expand All @@ -16,4 +17,5 @@ flash: firmware.hex
-sudo dfu-programmer at32uc3a3256s launch
sleep 1
lsusb | grep 20a0:
date

0 comments on commit 79ac770

Please sign in to comment.