vs esp32 esp 8266 xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory 不存在的问题
最直接就是重装esp
[Error] Verifying sketch 'grbl_controller_esp32.ino': Exit with code=1
[Starting] Verifying sketch 'grbl_controller_esp32.ino'
Please see the build logs in output path: d:\001\build
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
构建时出错:exit status 1
IntelliSense auto-configuration disabled.
[Error] Verifying sketch 'grbl_controller_esp32.ino': Exit with code=1
这4个直接删除
http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://dl.espressif.com/dl/package_esp32_index.json
重新下载,很快的,因为没有删除以前的包,只是解压了的文件。
以下改路径的方法,我的是没有解决问题,
原文链接:https://blog.csdn.net/qq_34659115/article/details/120018332ticle/details/120018332
找到hardware/espressif/esp32/下的plafrom.txt,将compiler.path={runtime.tools.xtensa-esp32-elf-gcc.path}/bin/)修改为
(1)绝对路径(使用绝对路径是最后一定要加“\”)
如《compiler.path=D:\Program Files (x86)\Arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\bin\》
(2)相对路径{runtime.platform.path}/tools/xtensa-esp32-elf/bin