无法使用VScode的IDF插件的监视器

JinDing
Posts: 2
Joined: Sat Jul 13, 2024 12:44 pm

无法使用VScode的IDF插件的监视器

Postby JinDing » Thu Aug 01, 2024 2:30 pm

我在Vscode中默认终端是使用MSYS2的,打开工程后添加vscode配置文件,编译下载都没有问题,但是点击底部的监视器按钮会出错,想请教一下是什么问题?
IDF版本:4.4.5
终端输出如下:

Code: Select all

74759@LAPTOP-8EUDJHTE  /d/SaiSiYun/01Work/01Demo/01ESP32S3_Demo/blink
$ & set IDF_PATH='d:\Program\Espressif\IDF445\v4.4.5\esp-idf'
bash: syntax error near unexpected token `&'

74759@LAPTOP-8EUDJHTE  /d/SaiSiYun/01Work/01Demo/01ESP32S3_Demo/blink
$ & 'd:\Program\Espressif\445\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'd:\Program\Espressif\IDF445\v4.4.5\esp-idf\tools\idf_monitor.py' -p COM4 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 'd:\SaiSiYun\01Work\01Demo\01ESP32S3_Demo\blink\build\blink.elf'    
bash: syntax error near unexpected token `&'

74759@LAPTOP-8EUDJHTE  /d/SaiSiYun/01Work/01Demo/01ESP32S3_Demo/blink
$
在使用MSYS2自带的终端时
求教如何解决?感激不尽 :)

Who is online

Users browsing this forum: No registered users and 60 guests