Lines Matching +full:west +full:- +full:commands
3 # SPDX-License-Identifier: Apache-2.0
7 Espressif west extension for serial port monitor logging.'''
17 from west.commands import WestCommand
18 from west.configuration import config
19 from west import log
21 # This relies on this file being in hal_espressif/west/tools.py
32 ESP_IDF_REMOTE = "https://github.com/zephyrproject-rtos/hal_espressif"
54 log.die("No serial ports found. Connect a device, or use '-p PORT' "
69 guess = config.get('build', 'guess-dir', fallback='never')
104 log.wrn("no pre-configured runners in {}; "
128 # Keep this in sync with the string in west-commands.yml.
129 'Espressif tools for west framework.',
131 This interface allows having esp-idf monitor support.'''),
140 help='open serial port based on esp-idf monitor')
144 group.add_argument('-b', '--baud', default="115200", help='Serial port baud rate')
145 group.add_argument('-p', '--port', help='Serial port address')
146 group.add_argument('-e', '--elf', help='ELF file')
147 group.add_argument('-n', '--eol', default='CRLF', help='EOL to use')
184 cmd_exec(("python.exe", monitor_path, "-p", esp_port,
185 "-b", args.baud, elf_path, "--eol", args.eol), cwd=cmd_path)
187 cmd_exec((sys.executable, monitor_path, "-p", esp_port, "-b", args.baud,
188 elf_path, "--eol", args.eol), cwd=cmd_path)