Code: Select all
MONITOR
--port /dev/ttyS7 --baud 115200 --toolchain-prefix xtensa-esp32-elf- --make make --print_filter
Namespace(baud=115200, elf_file=<_io.BufferedReader name='esp-idf-v3.3.1/examples/get-started/hello_world/build/hello-world.elf'>, eol='CR', make='make', port='/8
', print_filter='', toolchain_prefix='xtensa-esp32-elf-')
Serial<id=0xffc14bcc, open=False>(port='/8', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=
None, xonxoff=False, rtscts=False, dsrdtr=False)
--- idf_monitor on /8 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
Makefile.projbuild中的如下代码造成:
Code: Select all
ifeq ("$(OS)","Windows_NT")
# miniterm and idf_monitor both need a Windows Console PTY in order
# to correctly handle user input
MONITOR_PYTHON := winpty $(PYTHON)
endif
ifeq ("$(OS)","Windows_NT")
# miniterm and idf_monitor both need a Windows Console PTY in order
# to correctly handle user input
#MONITOR_PYTHON := winpty $(PYTHON)
#MONITOR_PYTHON := mintty $(PYTHON)
MONITOR_PYTHON := $(PYTHON)
endif