Open bs-eng opened 4 months ago
Hi @bs-eng With Espressif-IDE 3.0.0, we've switched to a Clangd-based C/C++ editor. However, this is only supported for ESP-IDF version 5.1 or later. Unfortunately, I don't have an immediate solution for using it with earlier versions. I'll check into it further and get back to you.
In the meantime, could you please stick with the previous version, v2.12.1?
Hi! I would happily stick with a previous version if I would find any hint of how to install that. All install guides that I found so far give instructions for installing latest version only and no clue as to how to change the url that points to the corrected sources. So far my manual attempts at doing so failed. The downloadable zip file at the link you gave, contains lots of files, which are unclear to me what I need to to with them in order to get them installed in eclipse. If you could help me out on that, I would really appreciate it!
Do you happen to know when ESP32-ADF is scheduled to support IDFv5.1?
Cheers JR
Hi @bs-eng With Espressif-IDE 3.0.0, we've switched to a Clangd-based C/C++ editor. However, this is only supported for ESP-IDF version 5.1 or later. Unfortunately, I don't have an immediate solution for using it with earlier versions. I'll check into it further and get back to you.
In the meantime, could you please stick with the previous version, v2.12.1?
Here is what you could try without leaving 3.0.0 version:
clangd
path in the preferences as shown below and click on apply and close.
Now see if your're able use clangd editor features.
Hi! I would happily stick with a previous version if I would find any hint of how to install that. All install guides that I found so far give instructions for installing latest version only and no clue as to how to change the url that points to the corrected sources. So far my manual attempts at doing so failed. The downloadable zip file at the link you gave, contains lots of files, which are unclear to me what I need to to with them in order to get them installed in eclipse. If you could help me out on that, I would really appreciate it!
Do you happen to know when ESP32-ADF is scheduled to support IDFv5.1?
Cheers JR
Ok, two options:
https://dl.espressif.com/dl/idf-eclipse-plugin/ide/Espressif-IDE-2.12.1-win32.win32.x86_64.zip
or https://dl.espressif.com/dl/idf-eclipse-plugin/updates/com.espressif.idf.update-2.12.1.zip Here are the instructions for installation https://github.com/espressif/idf-eclipse-plugin?tab=readme-ov-file#installing-idf-eclipse-plugin-from-local-archive
Dear @kolipakakondal,
Here is what you could try without leaving 3.0.0 version:
- Download latest esp-clang toolchain from here https://github.com/espressif/llvm-project/releases/tag/esp-17.0.1_20240419
- Configure
clangd
path in the preferences as shown below and click on apply and close. Now see if your're able use clangd editor features.
I guessed I need to download both lib and clang itself from the linked location. I tried in different ways to 'install' this, but found no effective way of doing it. Tried the "install new software" in eclipse as well as just copying it to a folder and pointing to it. Neither worked.
So I am setting up my system anew using the downloadable 2.12.1 version. Thanks for the link to the old version! :-) JR
For those stumbling upon this, here is how I finally installed the previous version:
Opening projects afterwards: I deleted the projects in my workspace and simply imported them again, to make sure everything gets set properly in the .cproject file (which I deleted before importing)
That's how it worked for me at least. Cheers JR
Dear @kolipakakondal,
Here is what you could try without leaving 3.0.0 version:
- Download latest esp-clang toolchain from here https://github.com/espressif/llvm-project/releases/tag/esp-17.0.1_20240419
- Configure
clangd
path in the preferences as shown below and click on apply and close. Now see if your're able use clangd editor features.I guessed I need to download both lib and clang itself from the linked location. I tried in different ways to 'install' this, but found no effective way of doing it. Tried the "install new software" in eclipse as well as just copying it to a folder and pointing to it. Neither worked.
So I am setting up my system anew using the downloadable 2.12.1 version. Thanks for the link to the old version! :-) JR
Okay, here's what I did on my macOS (arm64) system, and it worked without any problems. If you'd like to try it out later, feel free to do so.
Downloaded my OS supported esp-clang (clang-esp-17.0.1_20240419-aarch64-apple-darwin.tar.xz) from here
Set the clangd path in the preferences from the file you've downloaded.
Compiled the blink example for esp32, no build issues reported.
https://github.com/user-attachments/assets/d7a1bfd3-37ef-4b57-b666-5f02176b3e51
Hello!
Describe the bug The eclipse environment is missing the following functionalities after installing IDF-Eclipse-PluginV3.0.0:
To Reproduce Steps to reproduce the behavior:
Expected behavior Above functionalities should work as before V3.x
Screenshots
Espressif-IDE Product Information: ESP32_tools.txt
Eclipse Error log: eclipse_error_log.log
Thanks for your help! Regards JR