Code: Select all
/home/user/.espressif/python_env/idf5.1_py3.9_env/bin/python /home/user/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyUSB0 -b 115200 --toolchain-prefix --target esp32c6 /home/user/esp/blink/build/blink.elf
usage: idf_monitor - a serial output monitor for esp-idf [-h] [--port PORT] [--no-reset] [--disable-address-decoding] [--baud BAUD] [--make MAKE] [--encrypted]
[--toolchain-prefix TOOLCHAIN_PREFIX] [--eol {CR,LF,CRLF}] [--print_filter PRINT_FILTER] [--decode-coredumps {info,disable}]
[--decode-panic {backtrace,disable}] [--target TARGET] [--revision REVISION] [--ws WS] [--timestamps]
[--timestamp-format TIMESTAMP_FORMAT] [--force-color]
[elf_file]
idf_monitor - a serial output monitor for esp-idf: error: argument --toolchain-prefix: expected one argument
It also woks, If I use the following command in the shell:
idf.py -p /dev/ttyUSB0 monitor
The parameter than is set to:
"--toolchain-prefix riscv32-esp-elf-"
By the way, compiling and flashing from the Espressif-IDE VSCode Extension works without problems.