All projects return "Build not configured correctly"

jesper
Posts: 25
Joined: Thu Nov 09, 2017 4:38 pm

All projects return "Build not configured correctly"

Postby jesper » Tue Jan 23, 2024 10:17 am

After an issues with Eclipse (2022 something) and the ESP-IDF plugin, I switched to the Espressif-IDE 2.12.0
I'm on a Mac Studio M1, btw.

Any project I try to build in my old workspace, gives the error "Build not configured correctly".
I've tried all the "clean" variants, to no avail.
The sdkconfig also doesn't open anymore.

I'm aware of the usual "excuse" that this is because they're not Espressif IDF projects.
But, they all were, last week. So something must have changed.

Creating a new workspace and a new Espressif IDF Project works fine.

I now have about 80+ "dead" projects that I cannot build.
What would be the cause of this?
I'm sure there must be a simple setting somewhere or a fix to "restore" the projects to working state.
MagicMicros Co., Ltd. - Rayong, Thailand
Electronics design, PCB layout & programming.

jesper
Posts: 25
Joined: Thu Nov 09, 2017 4:38 pm

Re: All projects return "Build not configured correctly"

Postby jesper » Tue Jan 23, 2024 10:54 am

FYI:
Building from command line with idf.py build works fine.
So it's something related to the IDE not understanding that this IS in fact an Espress IDF project.

But there were issues with permissions after installing ESP-IDF (5.1.2) via Espressif-IDE.
install.sh was not executable, fixing that with chmod made it run.
Then after running . ./export.sh run, I got "env: idf.py: Permission denied"
And trying just idf.py returned "zsh: permission denied: idf.py"

All this used to work fine, so something has been changed that make the installation "fail" (or at least get the wrong permissions).
MagicMicros Co., Ltd. - Rayong, Thailand
Electronics design, PCB layout & programming.

jesper
Posts: 25
Joined: Thu Nov 09, 2017 4:38 pm

Re: All projects return "Build not configured correctly"

Postby jesper » Tue Jan 23, 2024 10:58 am

UPDATE:
Found a solution to this.
Changing the target from esp32 to esp32c3 made it build.
So, after switching back to esp32, I had a working build.
This is great that there is a workaround, it's not great that this is suddenly needed on all my projects.
MagicMicros Co., Ltd. - Rayong, Thailand
Electronics design, PCB layout & programming.

jesper
Posts: 25
Joined: Thu Nov 09, 2017 4:38 pm

Re: All projects return "Build not configured correctly"

Postby jesper » Tue Jan 23, 2024 11:02 am

UPDATE 2:
This is where it gets interesting.
The target switch was only needed on ONE project.
After doing that, that project as well as ALL OTHERS build normally. :shock: :?: :?: :?:
MagicMicros Co., Ltd. - Rayong, Thailand
Electronics design, PCB layout & programming.

Who is online

Users browsing this forum: No registered users and 52 guests