File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -1687,6 +1687,28 @@ reset_stty:
16871687 (sleep 0.1 2> /dev/null || sleep 1) ; \
16881688 $$ STTYF $(call get_monitor_port) -hupcl
16891689
1690+ stty_params :
1691+ stty -F $(call get_monitor_port) \
1692+ cs8 \
1693+ $(MONITOR_BAUDRATE ) \
1694+ ignbrk \
1695+ -brkint \
1696+ -icrnl \
1697+ -imaxbel \
1698+ -opost \
1699+ -onlcr \
1700+ -isig \
1701+ -icanon \
1702+ -iexten \
1703+ -echo \
1704+ -echoe \
1705+ -echok \
1706+ -echoctl \
1707+ -echoke \
1708+ noflsh \
1709+ -ixon \
1710+ -crtscts
1711+
16901712ispload : $(TARGET_EEP ) $(TARGET_HEX ) verify_size
16911713 $(AVRDUDE ) $(AVRDUDE_COM_OPTS ) $(AVRDUDE_ISP_OPTS ) -e \
16921714 $(AVRDUDE_ISPLOAD_OPTS )
@@ -1730,8 +1752,8 @@ show_boards:
17301752show_submenu :
17311753 @$(CAT ) $(BOARDS_TXT ) | grep -E ' [a-zA-Z0-9_\-]+.menu.(cpu|chip).[a-zA-Z0-9_\-]+=' | sort -uf | sed ' s/.menu.\(cpu\|chip\)./:/' | sed ' s/=/:/' | column -s: -t
17321754
1733- monitor :
1734- ifeq ($(notdir $( MONITOR_CMD )) , putty)
1755+ monitor : stty_params
1756+ ifeq ($(MONITOR_CMD ) , ' putty' )
17351757 ifneq ($(strip $(MONITOR_PARAMS)),)
17361758 $(MONITOR_CMD) -serial -sercfg $(MONITOR_BAUDRATE),$(MONITOR_PARAMS) $(call get_monitor_port)
17371759 else
You can’t perform that action at this time.
0 commit comments