Skip to content

Commit

Permalink
Makefile: Allow ARDUINO_PORT to be overwritten
Browse files Browse the repository at this point in the history
Allow users to change serial device for firmware upload when calling Make, e.g.

    $ make ARDUINO_PORT=/dev/ttyACM1 upload
  • Loading branch information
lynix committed Jan 9, 2020
1 parent c654e2a commit d7e888b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# the MIT License, see file 'LICENSE'.

BOARD_TAG = leonardo
ARDUINO_PORT = /dev/ttyACM0
ARDUINO_PORT ?= /dev/ttyACM0
MONITOR_BAUDRATE = 57600

ARDUINO_QUIET = 1
Expand Down

0 comments on commit d7e888b

Please sign in to comment.