Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Monitor command gets input params in correct order

Replaced the generic monitor-rule with separate rules depending on
monitor command to use. Currently only supports screen and picocom.
  • Loading branch information...
commit bef313f5f755c43cb6afca8d114d49b66289a952 1 parent 3bbd22b
@Klurige authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 Makefile.arduino
View
10 Makefile.arduino
@@ -283,8 +283,14 @@ upload : all
- $(AVRDUDE) -V -C$(AVRDUDE_CONF) -p$(MCU) -c$(PROGRAMMER) \
-P$(PORT) -b$(UPLOAD_SPEED) -D -Uflash:w:$(IMAGE).hex:i
-monitor :
- $(MON_CMD) $(PORT) $(MON_SPEED)
+monitor : monitor_$(MON_CMD)
+
+monitor_screen :
+ screen $(PORT) $(MON_SPEED)
+
+monitor_picocom :
+ picocom --baud $(MON_SPEED) $(PORT)
+
# END:makemods
upload_monitor : upload monitor
Please sign in to comment.
Something went wrong with that request. Please try again.