Is there an idf-eclipse-plugin branch that supports esp-idf 5.0 yet?

User avatar
gtjoseph
Posts: 92
Joined: Fri Oct 15, 2021 10:55 pm

Is there an idf-eclipse-plugin branch that supports esp-idf 5.0 yet?

Postby gtjoseph » Wed Jul 20, 2022 1:47 pm

I've been testing esp-idf 5.0 and adapting code to it but it looks like there's one small issue with the eclipse plugin. When building from eclipse just after running an idf.py menuconfig, I get...

Code: Select all

CMake Error at /usr/src/mcu/esp32/esp-idf/tools/cmake/build.cmake:525 (message):
  usage: __main__.py [-h] [--project_dir PROJECT_DIR]

                     {prepare_dependencies,inject_requirements,inject_requrements}
                     ...

  __main__.py: error: unrecognized arguments: --interface_version=1
Running idf.py reconfigure from a shell fixes the issue so builds can be done from eclipse so it's not a huge issue. Just wondering if there's an IEP branch for esp-idf 5.0 yet.

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Is there an idf-eclipse-plugin branch that supports esp-idf 5.0 yet?

Postby ESP_kondalkolipaka » Mon Jul 25, 2022 9:48 am

Hello,

I was able to build the hello-world example with esp-idf v5.0, IEP v2.5.0 with esp32s2 launch target.

Here is what I did:
1. git checkout release/v5.0
2. git submodule update --recursive
3. Go to eclipse run: Espressif > ESP-IDF Tools Manager > Install Tools
4. I was able to build the hello-world example
5. I was able to open the sdkconfig editor from the eclipse

Not sure why it's getting failed in your environment, would you like to check this post on a similar problem https://www.esp32.com/viewtopic.php?f=25&t=28866

User avatar
gtjoseph
Posts: 92
Joined: Fri Oct 15, 2021 10:55 pm

Re: Is there an idf-eclipse-plugin branch that supports esp-idf 5.0 yet?

Postby gtjoseph » Wed Jul 27, 2022 11:27 am

Nope, not working. Anytime I touch a "trigger" file (sdkconfig, any CMakeLists.txt, etc) I have to run idf.py reconfigure from the command line or I get that error. If you think it should work, I'll try and track it down. Since I've been trying different iIEP and esp-idf branches my environment might have just gotten confused.

Who is online

Users browsing this forum: No registered users and 29 guests