Skip to content

Commit

Permalink
add TERMINAL_EXTRA_FLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
jscrane committed May 23, 2023
1 parent 454a51c commit 9f11de3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build-targets.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ OBJECTS := $(foreach s,$(SOURCES), $s.o) $(SKETCH).cpp.o
DEPS := $(foreach s,$(OBJECTS), $(s:.o=.d))

TERMINAL ?= minicom
TERMINAL_FLAGS ?= -D $(SERIAL_PORT) -b $(TERMINAL_SPEED)
TERMINAL_FLAGS ?= -D $(SERIAL_PORT) -b $(TERMINAL_SPEED) $(TERMINAL_EXTRA_FLAGS)
CPPFLAGS += -DTERMINAL_SPEED=$(TERMINAL_SPEED)

SKETCHBOOK ?= $(HOME)/Arduino
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ A colon separates the name of the variable from its default value. Parentheses i
- SKETCHBOOK: `~/Arduino`
- TERMINAL: `minicom`
- TERMINAL_FLAGS: `-D $(SERIAL_PORT) -b $(TERMINAL_SPEED)`
- TERMINAL_EXTRA_FLAGS
- LOCAL_LIBRARY_PATH
- LIBRARIES
- COMPILER_WARNINGS: `default`
Expand Down

0 comments on commit 9f11de3

Please sign in to comment.