Skip to content

Commit 5017e03

Browse files
committed
added -DDEBUG_OUTPUT=Serial for workaround not defined in Library
esp8266/Arduino#2279
1 parent 08a4889 commit 5017e03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ HWTYPE = esp8266
1616
ESPTOOL = $(ARDUINO15_PATH)/packages/$(HWTYPE)/tools/esptool/0.4.9/esptool
1717
CTAGS = $(ARDUINO_PATH)/tools-builder/ctags/5.8-arduino10
1818

19-
CXX_FLAGS := -DDEBUG
19+
CXX_FLAGS := -DDEBUG -DDEBUG_OUTPUT=Serial
2020
PREFS = --prefs=build.debug_level="$(CXX_FLAGS)" --prefs=tools.ctags.path="$(CTAGS)"
2121

2222
SKETCHES = $(find $(CURDIR) -name *.ino)
@@ -62,4 +62,4 @@ monitor:
6262
# stty -F $(SERIAL_PORT) ispeed $(SERIAL_BAUD) ospeed $(SERIAL_BAUD) cs8 -cstopb parenb
6363
# stty -F $(SERIAL_PORT) ispeed $(SERIAL_BAUD) ospeed $(SERIAL_BAUD)
6464
stty <$(SERIAL_PORT)
65-
screen $(SERIAL_PORT) $(SERIAL_BAUD),cs8,-ixon,-ixoff,-istrip
65+
screen $(SERIAL_PORT) $(SERIAL_BAUD),cs8,-ixon,-ixoff,-istrip

0 commit comments

Comments
 (0)