Skip to content

Commit

Permalink
Add zip target
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Dec 1, 2023
1 parent 920875e commit 32d3fc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/wch/ch32v307-make-baremetal-builtin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ flash: firmware.bin
wchisp flash $<
# @echo; echo "IMPORTANT: configure device to 96k RAM / 224k Flash"

zip:
zip -r ch32v307.modbus.firmware.`+%Y-%m-%d`.zip firmware.*

clean:
$(RM) firmware.* *.su
$(RM) firmware.* *.zip

0 comments on commit 32d3fc6

Please sign in to comment.