From 141b1174c62f1284cdc8a086a8cd56b28490bf40 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 15 Aug 2017 16:47:55 +0800 Subject: [PATCH] idf_monitor: send CR when ENTER is pressed Other terminal emulators (screen, minicom) default to sending CR when ENTER is pressed on the keyboard. Make behavior of idf_monitor consistent with them. --- tools/idf_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/idf_monitor.py b/tools/idf_monitor.py index 7ddee831f..e91ec687b 100755 --- a/tools/idf_monitor.py +++ b/tools/idf_monitor.py @@ -458,7 +458,7 @@ def main(): choices=['CR', 'LF', 'CRLF'], type=lambda c: c.upper(), help="End of line to use when sending to the serial port", - default='CRLF') + default='CR') parser.add_argument( 'elf_file', help='ELF file of application',