Espressif won't Compile Example Project in VSCode
Posted: Sat Mar 06, 2021 8:41 am
Hello,
I checked out my new ESP32-WROOM yesterday and it didn't go smooth.
I installed VSCode Espressif IDF extension and properly set it up with ESP-IDF V4.2, Python 3.9, git, cmake. but things didn't work for me out of the box since I got the compilation error:
I believed it's something with my environment, so I went to this forum and checked out the posts.
I tried walking through the video someone posted in this forum: https://www.youtube.com/watch?v=5IuZ-E8 ... nnel=YuriR, it worked when using ESP-IDF command prompt, the "blink" example project compiled properly. However, when I created the "blink" project from "ESP-IDF: Show Example Projects" and creating a new "blink" project through it, when compiling, I still get the same error I got at the first place in VSCode: which caused the build to fail.
Do you have any idea what went wrong with VSCode?
Thank you,
Matan
I checked out my new ESP32-WROOM yesterday and it didn't go smooth.
I installed VSCode Espressif IDF extension and properly set it up with ESP-IDF V4.2, Python 3.9, git, cmake. but things didn't work for me out of the box since I got the compilation error:
Code: Select all
xtensa-esp32-elf-gcc.exe: error: <my_project_path>/blink/build/bootloader/bootloader.map: No such file or directory
I tried walking through the video someone posted in this forum: https://www.youtube.com/watch?v=5IuZ-E8 ... nnel=YuriR, it worked when using ESP-IDF command prompt, the "blink" example project compiled properly. However, when I created the "blink" project from "ESP-IDF: Show Example Projects" and creating a new "blink" project through it, when compiling, I still get the same error I got at the first place in VSCode:
Code: Select all
xtensa-esp32-elf-gcc.exe: error: Drive/Hobbies/Embedded/ESP32/blink/build/bootloader/bootloader.map: No such file or directory
ninja: build stopped: subcommand failed.
Do you have any idea what went wrong with VSCode?
Thank you,
Matan