File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -1530,6 +1530,28 @@ reset_stty:
1530
1530
(sleep 0.1 2> /dev/null || sleep 1) ; \
1531
1531
$$ STTYF $(call get_monitor_port) -hupcl
1532
1532
1533
+ stty_params :
1534
+ stty -F $(call get_monitor_port) \
1535
+ cs8 \
1536
+ $(MONITOR_BAUDRATE ) \
1537
+ ignbrk \
1538
+ -brkint \
1539
+ -icrnl \
1540
+ -imaxbel \
1541
+ -opost \
1542
+ -onlcr \
1543
+ -isig \
1544
+ -icanon \
1545
+ -iexten \
1546
+ -echo \
1547
+ -echoe \
1548
+ -echok \
1549
+ -echoctl \
1550
+ -echoke \
1551
+ noflsh \
1552
+ -ixon \
1553
+ -crtscts
1554
+
1533
1555
ispload : $(TARGET_EEP ) $(TARGET_HEX ) verify_size
1534
1556
$(AVRDUDE ) $(AVRDUDE_COM_OPTS ) $(AVRDUDE_ISP_OPTS ) \
1535
1557
$(AVRDUDE_ISPLOAD_OPTS )
@@ -1565,7 +1587,7 @@ show_boards:
1565
1587
show_submenu :
1566
1588
@$(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
1567
1589
1568
- monitor :
1590
+ monitor : stty_params
1569
1591
ifeq ($(MONITOR_CMD ) , 'putty')
1570
1592
ifneq ($(strip $(MONITOR_PARAMS)),)
1571
1593
$(MONITOR_CMD) -serial -sercfg $(MONITOR_BAUDRATE),$(MONITOR_PARAMS) $(call get_monitor_port)
You can’t perform that action at this time.
0 commit comments