Cannot set new target in VSCode Extension

import11
Posts: 2
Joined: Tue Sep 13, 2022 9:05 pm

Cannot set new target in VSCode Extension

Postby import11 » Tue Sep 13, 2022 9:15 pm

I'm trying to setup an example project using the ESP32-S3-Mini-1 devkit. I setup the ESP IDF Extension in VSCode on Mac.

When I run

Code: Select all

idf.py set-target esp32s3

I get this error

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
I have cleared the build directory and sdkconfig file and it still builds as ESP32. I can't find how to change the IDF_TARGET environment variable. In VSCode the bottom banner shows "ESP32" and when I click that it just sets it for the project. There's no way to change it.
Image

Any help to get this project up and running? What am I missing?

Who is online

Users browsing this forum: No registered users and 77 guests