Hi
I am using version 1.3.0 esp-idf extension for VSCODe and latest version of Vscode.
Every time I open a project I get a prompt to "[Scan for kits] Search for compilers on this computer".
Even though I do this, the next time I load the project it happens over.
Is there some setting to make sure it sets up the correct "kit"? I am using my own custom hardware with ESP32.
IDE keeps scanning for kits on project load
-
- Posts: 229
- Joined: Wed May 02, 2018 12:12 pm
Re: IDE keeps scanning for kits on project load
This is not done by the ESP-IDF VSCode extension but the Microsoft CMake extension.
You can define your own custom kit for CMake development basically specifying the xtensa toolchain compiler.
Something like this:
in a user local kits as described in here
You can define your own custom kit for CMake development basically specifying the xtensa toolchain compiler.
Something like this:
Code: Select all
{
"name": "ESP32 Kit",
"compilers": {
"CC": "$HOME/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc",
"CXX": "$HOME/.espressif/tools/xtensa-esp32-elf/esp-2021r2-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++"
}
}
Re: IDE keeps scanning for kits on project load
Thanks for that.
I removed the ms cmake extension and now this does not pop up any more.
I only use VSCODE for esp-idf coding so don't think the cmake is required (project seems to compile ok).
I removed the ms cmake extension and now this does not pop up any more.
I only use VSCODE for esp-idf coding so don't think the cmake is required (project seems to compile ok).
Who is online
Users browsing this forum: Baidu [Spider] and 11 guests