mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-25 09:42:35 +00:00
cmake: Automatically pull in winpty for menuconfig, monitor if needed
This commit is contained in:

committed by
Angus Gratton

parent
c42b791aaa
commit
c7307de63e
@@ -267,6 +267,8 @@ def monitor(action, args):
|
||||
monitor_args += [ "-p", args.port ]
|
||||
monitor_args += [ "-b", project_desc["monitor_baud"] ]
|
||||
monitor_args += [ elf_file ]
|
||||
if "MSYSTEM" is os.environ:
|
||||
monitor_args = [ "winpty" ] + monitor_args
|
||||
_run_tool("idf_monitor", monitor_args, args.build_dir)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user