I use the VS-code (latest version) on a Windows 11 PC with the framework 5.3.1.
When I start a new project and set the target to ESP32-S3, I get a message saying the environment variable is set to ESP32. The message is:
Target 'esp32s3' specified on command line is not consistent with target 'esp32' in the environment.
I have set the target by the command idf.py set-target esp32s3
How do I change the environment setting from esp32 to esp32s3?
There are various suggestions coming up, when I search for a solution. I have tried several of them, but the error message is still there.
Regards,
Jorgen
Target in environment
-
- Posts: 1688
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Target in environment
The "other" target to set is the environment variable IDF_TARGET.
Not sure how to make VScode set this variable for the build process inside the IDE though.
Not sure how to make VScode set this variable for the build process inside the IDE though.
Re: Target in environment
Thanks MicroController.
The problem has been reported before and workarounds have been suggested. I have found one and it works for me, provided, I do the three steps right after creating a new project. I have not made any exhaustive investigation trying out several combinations.
I hope this is read by someone involved in the development/coding of the ESP-IDF. To that person, please change the ESP-IDF such that the command:
idf.py set-target esp32s3
really sets the target everywhere necessary including the environment variable ESP_TARGET and also on the bottom line in VS code.
Regards,
Jorgen
The problem has been reported before and workarounds have been suggested. I have found one and it works for me, provided, I do the three steps right after creating a new project. I have not made any exhaustive investigation trying out several combinations.
I hope this is read by someone involved in the development/coding of the ESP-IDF. To that person, please change the ESP-IDF such that the command:
idf.py set-target esp32s3
really sets the target everywhere necessary including the environment variable ESP_TARGET and also on the bottom line in VS code.
Regards,
Jorgen
Who is online
Users browsing this forum: No registered users and 116 guests