Add log target to makefile

This commit is contained in:
Manna Harbour 2021-01-30 21:49:13 +11:00
parent e1a2e5d476
commit c82ebcc438

View File

@ -37,6 +37,9 @@ planck_rev6: zmk-planck_rev6.uf2
$(ZMK_APP_DIR)/build/planck_rev6/zephyr/zmk.uf2: planck_rev6.keymap ../miryoku/ortho_4_12.h ../miryoku/miryoku.dtsi
.PHONY: log
log: minicom -D /dev/ttyACM0
zmk-%.uf2: $(ZMK_APP_DIR)/build/%/zephyr/zmk.uf2
cp -p $< $@