Change IDF_TARGET in VSCode
Posted: Tue Sep 13, 2022 10:00 pm
I'm trying to setup an example project in VSCode using the ESP-IDF Extension and am having issues with the target chip
When I run:
I get this error:
I tried the deleting the build folder and sdkconfig file, but it always builds as ESP32.
When I run: I get back:
The bottom banner of VSCode shows ESP32 as the target and if I click that it just sets to the directory, but I don't have an option to change it.
Where can I actually modify the IDF_TARGET? Please help me get this project up and running.
When I run:
Code: Select all
idf.py set-target esp32s3
Code: Select all
IDF_TARGET in CMake cache does not match IDF_TARGET environment variable.
To change the target, clear the build directory and sdkconfig file,
and build the project again
When I run:
Code: Select all
echo $IDF_TARGET
Code: Select all
esp32
Where can I actually modify the IDF_TARGET? Please help me get this project up and running.