Open ammaree opened 7 months ago
Hi @ammaree
Thank you for reporting this issue.
Lastly, the following warning/error occurs consistently:
this error could happen after switching to a different esp-idf without cleaning a project. To verify this scenario, you can check the project_description.json in the build folder and compare the "idf_path" property with the IDF_PATH environment variable (located in Preferences -> C/C++ -> Build -> Environment). If they are not the same, you can try to run full clean (right-click on project ESP-IDF: Project Full Clean) and build the project again.
Hi @ammaree Eclipse 2023-12 is not supported by the idf-eclipse-plugin yet. Please continue to use IEP plugin with the Eclipse CDT 2023-09.
I would also suggest switch to clangd indexer and editor features as eclipse cdt indexer is not maintained anymore and not compatible with the latest C/C++ 20 lang features. In future releases, we will automate these configuration steps.
Hi @ammaree
Thank you for reporting this issue.
Lastly, the following warning/error occurs consistently:
this error could happen after switching to a different esp-idf without cleaning a project. To verify this scenario, you can check the project_description.json in the build folder and compare the "idf_path" property with the IDF_PATH environment variable (located in Preferences -> C/C++ -> Build -> Environment). If they are not the same, you can try to run full clean (right-click on project ESP-IDF: Project Full Clean) and build the project again.
I went far further that just a full clean, I deleted the './build' and './managed_components' directories as well as the 'dependencies.lock' and 'sdkconfig' files.
Hi @ammaree Thank you for reporting this issue.
Lastly, the following warning/error occurs consistently:
this error could happen after switching to a different esp-idf without cleaning a project. To verify this scenario, you can check the project_description.json in the build folder and compare the "idf_path" property with the IDF_PATH environment variable (located in Preferences -> C/C++ -> Build -> Environment). If they are not the same, you can try to run full clean (right-click on project ESP-IDF: Project Full Clean) and build the project again.
I went far further that just a full clean, I deleted the './build' and './managed_components' directories as well as the 'dependencies.lock' and 'sdkconfig' files.
Hi @ammaree,
do you still have a "Parsing Job..." exception after this?
Yes I do, normally error comes up twice with exact same details
Hi @ammaree,
one more question to clarify the root of the problem: after the build, did you compare the "idf_path" property from project_description.json with the IDF_PATH environment variable?
Unable to answer your question. Recall that by the time I had received your message I had already cleaned out complete install to prove point on 2023-09.
See next post on events since then…
On 23/12/07, 12:28, "Denys Almazov" @.**@.>> wrote:
Hi @ammareehttps://github.com/ammaree,
one more question to clarify the root of the problem: after the build, did you compare the "idf_path" property from project_description.json with the IDF_PATH environment variable?
— Reply to this email directly, view it on GitHubhttps://github.com/espressif/idf-eclipse-plugin/issues/862#issuecomment-1845084162, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYT7GCUKLGS3DVTIDR6QWTYIGK5JAVCNFSM6AAAAABAJMDJRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVGA4DIMJWGI. You are receiving this because you were mentioned.Message ID: @.***>
I think your latest changes, last couple of hours, has completely disabled ANY install of the Plugin. I have completely cleaned out all traces of Eclipse and the plugin, even the Eclipse project directories and related files in my project directory and 4 (four) times tried to install Eclipse: 2x cpp-2023-09 2x cpp-2023-03 Every time from a complete clean base. Every time used the same 'Stable" link for the Plugin and gone through the complete process, no errors. Every time after the install there is NO SIGN of the plugin on the menu.
List of software to be installed and proof of the Eclipse version:
Updated info showing "modified" request:
After install and restart, installation details:
No sign of the plugin:
What now?
Hi @ammaree,
we were able to find the root of the problem that caused this installation issue. The problem is that while updating/installing the plugin some dependencies are fetching from the latest plugins Eclipse 2023-12 and that is causing version incompatibility with the UI plugin. While we are working on a fix, I recommend you use Espressif-IDE which comes with Eclipse 2023-09+ IEP v2.11.1: https://dl.espressif.com/dl/idf-eclipse-plugin/ide/Espressif-IDE-2.11.1-win32.win32.x86_64.zip
Reasonably aware of what caused the problem, believe it was your rushed commit this morning to restrict the plugin installation on Eclipse 2023-12. It was done immediately after I raised my problem in spite of the fact that I made it clear I had tested my problem on 2023-03 and 2023-09, and only installed 2023-12 after all the tests.
I guess you did not look very carefully else you would have noticed that I use macOS not Windows so the link of no use.
@sigmaaa @kolipakakondal
And by the way, when I download using (https://dl.espressif.com/dl/idf-eclipse-plugin/ide/Espressif-IDE-macosx-cocoa-x86_64/latest) it also does not work....
@sigmaaa @kolipakakondal
And by the way, when I download using (https://dl.espressif.com/dl/idf-eclipse-plugin/ide/Espressif-IDE-macosx-cocoa-x86_64/latest) it also does not work....
@ammaree
it looks like you are using Java 14 on Mac, but Java 17 or higher is required
Using the Eclipse Installer the correct version of Java (17) is automatically installed. The problem, from what I can remember is that Eclipse does not recognise openjdk when installed with HomeBrew, and not aware of a fix for that. So without a solution installing Java 17 together with your Espressif-IDE for macOS it will remain a problem.
@igrr I have personally lost at least 3 full days of work trying to get this going, probably ~2 weeks lost in total over last 2 months with all the hassles. Maybe it's time to invest the next 3 days into VSCode, just hope the Espressif plugin there is better. But I guess it is very unlikely (impossible?) to be worse than the Eclipse Plugin fiasco...
Against our policy I installed Oracle Java 17.0.9 with the macOS Espressif-IDE, first build of a 100% clean project....
Using the Eclipse Installer the correct version of Java (17) is automatically installed. The problem, from what I can remember is that Eclipse does not recognise openjdk when installed with HomeBrew, and not aware of a fix for that. So without a solution installing Java 17 together with your Espressif-IDE for macOS it will remain a problem.
@igrr I have personally lost at least 3 full days of work trying to get this going, probably ~2 weeks lost in total over last 2 months with all the hassles. Maybe it's time to invest the next 3 days into VSCode, just hope the Espressif plugin there is better. But I guess it is very unlikely (impossible?) to be worse than the Eclipse Plugin fiasco...
it's possible to provide any version of Java to Eclipse/Espressif-IDE. To do this you need to edit -vm option and specify the path to bin folder in eclipse.ini (or espressif-ide.ini respectively). Here is instruction https://wiki.eclipse.org/Eclipse.ini. We probably need to add this to our documentation as well.
Against our policy I installed Oracle Java 17.0.9 with the macOS Espressif-IDE, first build of a 100% clean project....
is it an imported project or a new one? Can you please check idf_path in project_description.json and IDF_PATH environment variable?
The project is imported but before being imported all Eclipse related files/directories were removed.
No “project_description.json” file exists other than historic copies in the bin.
TERM_PROGRAM=Apple_Terminal
SHELL=/bin/zsh
TERM=xterm-256color
TMPDIR=/var/folders/l7/2mnysjf14w11tv45mh1q_lpr0000gn/T/
TERM_PROGRAM_VERSION=452
TERM_SESSION_ID=F9BFAA7E-0A07-4481-ACC2-BD04863FB2F4
USER=andremaree
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.YQh1b8uXGp/Listeners
PATH=/Users/andremaree/DevSpace/z-sdk/esp-idf/components/espcoredump:/Users/andremaree/DevSpace/z-sdk/esp-idf/components/partition_table:/Users/andremaree/DevSpace/z-sdk/esp-idf/components/app_update:/Users/andremaree/.espressif/tools/xtensa-esp-elf-gdb/12.1_20231023/xtensa-esp-elf-gdb/bin:/Users/andremaree/.espressif/tools/riscv32-esp-elf-gdb/12.1_20231023/riscv32-esp-elf-gdb/bin:/Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/Users/andremaree/.espressif/tools/esp-clang/16.0.1-fe4f10a809/esp-clang/bin:/Users/andremaree/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/Users/andremaree/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/Users/andremaree/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin:/Users/andremaree/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/Users/andremaree/.espressif/python_env/idf5.3_py3.9_env/bin:/Users/andremaree/DevSpace/z-sdk/esp-idf/tools:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/VMware Fusion.app/Contents/Public
__CFBundleIdentifier=com.apple.Terminal
PWD=/Users/andremaree/DevSpace/z-projects/irmacs
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/andremaree
LOGNAME=andremaree
OLDPWD=/Users/andremaree/DevSpace/z-projects/irmacs
CLICOLOR=1
LSCOLORS=GxFxCxDxBxegedabagaced
IDF_PATH=/Users/andremaree/DevSpace/z-sdk/esp-idf
OPENOCD_SCRIPTS=/Users/andremaree/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts
ESP_ROM_ELF_DIR=/Users/andremaree/.espressif/tools/esp-rom-elfs/20230320/
IDF_PYTHON_ENV_PATH=/Users/andremaree/.espressif/python_env/idf5.3_py3.9_env
ESP_IDF_VERSION=5.3
IDF_DEACTIVATE_FILE_PATH=/var/folders/l7/2mnysjf14w11tv45mh1q_lpr0000gn/T/tmpot97z8_aidf_46337
IDF_TOOLS_EXPORT_CMD=/Users/andremaree/DevSpace/z-sdk/esp-idf/export.sh
IDF_TOOLS_INSTALL_CMD=/Users/andremaree/DevSpace/z-sdk/esp-idf/install.sh
LC_CTYPE=UTF-8
_=/usr/bin/printenv
On 23/12/07, 21:19, "Denys Almazov" @.**@.>> wrote:
Against our policy I installed Oracle Java 17.0.9 with the macOS Espressif-IDE, first build of a 100% clean project....
is it an imported project or a new one? Can you please check idf_path in project_description.json and IDF_PATH environment variable?
— Reply to this email directly, view it on GitHubhttps://github.com/espressif/idf-eclipse-plugin/issues/862#issuecomment-1845963901, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYT7GAUBSTDY5774TK3SS3YIIJFRAVCNFSM6AAAAABAJMDJRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBVHE3DGOJQGE. You are receiving this because you were mentioned.Message ID: @.***>
No “project_description.json” file exists other than historic copies in the bin.
Do I understand correctly, that after you click the build button you are getting a "Parsing Job" exception, and at this point, the build folder remains empty? If yes, then it's weird, because The "Parse Compile Commands File" task that throws the exception should only start after the build is complete. Then it parses the compile_commands.json file, which should exist in the build folder.
Btw, we already fixed the "Parse Compile Commands File" exception on master, but the root of the problem was switching versions of esp-idf. For example, after switching the version without cleaning the project the compile_commands.json was pointing to the files located in the wrong esp-idf folder, causing this exception. Here is a build with Espressif-IDE with this fix espressif-ide-macosx-cocoa-x86_64 and we will release it in version 2.12.0 soon. Even if the root of the problem is different, the provided build must fix this exception but I will investigate further to understand what could cause this issue in your case anyway. Thanks
Reasonably aware of what caused the problem, believe it was your rushed commit this morning to restrict the plugin installation on Eclipse 2023-12. It was done immediately after I raised my problem in spite of the fact that I made it clear I had tested my problem on 2023-03 and 2023-09, and only installed 2023-12 after all the tests.
To give you context, the IEP plugin stable update site is pointing to some of the latest CDT plugins (OpenOCD and GDB plugins) during installation. As a result, it was fetching the latest Eclipse CDT plugins (version 11.4), which has a API breaking change. Since we currently do not support Eclipse 2023-12, we have made changes to the CI build process to ensure that our plugins are built strictly with Eclipse 2023-09.
Here is what you can do -
I think above two steps should sort out the problem what is caused by the eclipse update.
Apologies for the inconvenience. We will keep you informed once we have added support for the latest Eclipse version.
We have released IEP v2.12.0 which has a support for Eclipse 2023-12. Please check the release here https://github.com/espressif/idf-eclipse-plugin/releases/tag/v2.12.0
Please update to the latest and let us know if you see any issues.
Have a complete reinstall from scratch, steps as follows:
Deleted ~/.eclipse
~/.espressif ~/.p2
as well as the workspace ~/DevSpace/osx/.metadata
directories
Installed Eclipse 2023-12 to ~/eclipse/2023-12
directory
Started Eclipse, checked for updates, think a single module was updated, restarted
Installed ESP-IDF Plugin using https://dl.espressif.com/dl/idf-eclipse-plugin/updates/latest/, restarted
Using the Plugin menu, started install using existing SDK v5.2.0, completed with errors, see log attached.
Eclipse install log Installing tools... This can take a while. Please be patient. Executing /usr/bin/python3 /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/idf_tools.py install all Updating /Users/andremaree/.espressif/idf-env.json Selected targets are: esp32h2, esp32, esp32s2, esp32s3, esp32c3, esp32c6, esp32p4, esp32c2 Current system platform: macos Installing tools: xtensa-esp-elf-gdb, riscv32-esp-elf-gdb, xtensa-esp-elf, esp-clang, riscv32-esp-elf, esp32ulp-elf, cmake, openocd-esp32, ninja, esp-rom-elfs, qemu-xtensa, qemu-riscv32 Installing xtensa-esp-elf-gdb@12.1_20221002 Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/xtensa-esp-elf-gdb-12.1_20221002-x86_64-apple-darwin14.tar.gz Destination: /Users/andremaree/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-apple-darwin14.tar.gz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/xtensa-esp-elf-gdb-12.1_20221002-x86_64-apple-darwin14.tar.gz to /Users/andremaree/.espressif/tools/xtensa-esp-elf-gdb/12.1_20221002 Installing riscv32-esp-elf-gdb@12.1_20221002 Downloading https://github.com/espressif/binutils-gdb/releases/download/esp-gdb-v12.1_20221002/riscv32-esp-elf-gdb-12.1_20221002-x86_64-apple-darwin14.tar.gz Destination: /Users/andremaree/.espressif/dist/riscv32-esp-elf-gdb-12.1_20221002-x86_64-apple-darwin14.tar.gz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/riscv32-esp-elf-gdb-12.1_20221002-x86_64-apple-darwin14.tar.gz to /Users/andremaree/.espressif/tools/riscv32-esp-elf-gdb/12.1_20221002 Installing xtensa-esp-elf@esp-13.2.0_20230928 Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-13.2.0_20230928/xtensa-esp-elf-13.2.0_20230928-x86_64-apple-darwin.tar.xz Destination: /Users/andremaree/.espressif/dist/xtensa-esp-elf-13.2.0_20230928-x86_64-apple-darwin.tar.xz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/xtensa-esp-elf-13.2.0_20230928-x86_64-apple-darwin.tar.xz to /Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928 Installing esp-clang@16.0.1-fe4f10a809 Downloading https://github.com/espressif/llvm-project/releases/download/esp-16.0.0-20230516/llvm-esp-16.0.0-20230516-macos.tar.xz Destination: /Users/andremaree/.espressif/dist/llvm-esp-16.0.0-20230516-macos.tar.xz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/llvm-esp-16.0.0-20230516-macos.tar.xz to /Users/andremaree/.espressif/tools/esp-clang/16.0.1-fe4f10a809 Installing riscv32-esp-elf@esp-13.2.0_20230928 Downloading https://github.com/espressif/crosstool-NG/releases/download/esp-13.2.0_20230928/riscv32-esp-elf-13.2.0_20230928-x86_64-apple-darwin.tar.xz Destination: /Users/andremaree/.espressif/dist/riscv32-esp-elf-13.2.0_20230928-x86_64-apple-darwin.tar.xz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/riscv32-esp-elf-13.2.0_20230928-x86_64-apple-darwin.tar.xz to /Users/andremaree/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928 Installing esp32ulp-elf@2.35_20220830 Downloading https://github.com/espressif/binutils-gdb/releases/download/esp32ulp-elf-v2.35_20220830/esp32ulp-elf-2.35_20220830-macos.tar.gz Destination: /Users/andremaree/.espressif/dist/esp32ulp-elf-2.35_20220830-macos.tar.gz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/esp32ulp-elf-2.35_20220830-macos.tar.gz to /Users/andremaree/.espressif/tools/esp32ulp-elf/2.35_20220830 Installing cmake@3.24.0 Downloading https://github.com/Kitware/CMake/releases/download/v3.24.0/cmake-3.24.0-macos-universal.tar.gz Destination: /Users/andremaree/.espressif/dist/cmake-3.24.0-macos-universal.tar.gz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/cmake-3.24.0-macos-universal.tar.gz to /Users/andremaree/.espressif/tools/cmake/3.24.0 Installing openocd-esp32@v0.12.0-esp32-20230921 Downloading https://github.com/espressif/openocd-esp32/releases/download/v0.12.0-esp32-20230921/openocd-esp32-macos-0.12.0-esp32-20230921.tar.gz Destination: /Users/andremaree/.espressif/dist/openocd-esp32-macos-0.12.0-esp32-20230921.tar.gz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/openocd-esp32-macos-0.12.0-esp32-20230921.tar.gz to /Users/andremaree/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921 Installing ninja@1.11.1 Downloading https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-mac.zip Destination: /Users/andremaree/.espressif/dist/ninja-mac-v1.11.1.zip.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/ninja-mac-v1.11.1.zip to /Users/andremaree/.espressif/tools/ninja/1.11.1 Installing esp-rom-elfs@20230320 Downloading https://github.com/espressif/esp-rom-elfs/releases/download/20230320/esp-rom-elfs-20230320.tar.gz Destination: /Users/andremaree/.espressif/dist/esp-rom-elfs-20230320.tar.gz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/esp-rom-elfs-20230320.tar.gz to /Users/andremaree/.espressif/tools/esp-rom-elfs/20230320 Installing qemu-xtensa@esp_develop_8.1.3_20231206 Downloading https://github.com/espressif/qemu/releases/download/esp-develop-8.1.3-20231206/qemu-xtensa-softmmu-esp_develop_8.1.3_20231206-x86_64-apple-darwin.tar.xz Destination: /Users/andremaree/.espressif/dist/qemu-xtensa-softmmu-esp_develop_8.1.3_20231206-x86_64-apple-darwin.tar.xz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/qemu-xtensa-softmmu-esp_develop_8.1.3_20231206-x86_64-apple-darwin.tar.xz to /Users/andremaree/.espressif/tools/qemu-xtensa/esp_develop_8.1.3_20231206 Installing qemu-riscv32@esp_develop_8.1.3_20231206 Downloading https://github.com/espressif/qemu/releases/download/esp-develop-8.1.3-20231206/qemu-riscv32-softmmu-esp_develop_8.1.3_20231206-x86_64-apple-darwin.tar.xz Destination: /Users/andremaree/.espressif/dist/qemu-riscv32-softmmu-esp_develop_8.1.3_20231206-x86_64-apple-darwin.tar.xz.tmp [==================================================] 100%Done Extracting /Users/andremaree/.espressif/dist/qemu-riscv32-softmmu-esp_develop_8.1.3_20231206-x86_64-apple-darwin.tar.xz to /Users/andremaree/.espressif/tools/qemu-riscv32/esp_develop_8.1.3_20231206 OK Executing /usr/bin/python3 /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/idf_tools.py install-python-env Creating a new Python environment in /Users/andremaree/.espressif/python_env/idf5.2_py3.9_env Requirement already satisfied: pip in /Users/andremaree/.espressif/python_env/idf5.2_py3.9_env/lib/python3.9/site-packages (21.2.4) Collecting pip Downloading pip-23.3.2-py3-none-any.whl (2.1 MB) Requirement already satisfied: setuptools in /Users/andremaree/.espressif/python_env/idf5.2_py3.9_env/lib/python3.9/site-packages (58.0.4) Collecting setuptools Downloading setuptools-69.0.3-py3-none-any.whl (819 kB) Installing collected packages: setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 58.0.4 Uninstalling setuptools-58.0.4: Successfully uninstalled setuptools-58.0.4 Attempting uninstall: pip Found existing installation: pip 21.2.4 Uninstalling pip-21.2.4: Successfully uninstalled pip-21.2.4 Successfully installed pip-23.3.2 setuptools-69.0.3 Downloading https://dl.espressif.com/dl/esp-idf/espidf.constraints.v5.2.txt Destination: /Users/andremaree/.espressif/espidf.constraints.v5.2.txt.tmp [==================================================] 100%Done Installing Python packages Constraint file: /Users/andremaree/.espressif/espidf.constraints.v5.2.txt Requirement files:
- /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt Looking in indexes: https://pypi.org/simple, https://dl.espressif.com/pypi Ignoring importlib_metadata: markers 'python_version < "3.8"' don't match your environment Requirement already satisfied: setuptools in /Users/andremaree/.espressif/python_env/idf5.2_py3.9_env/lib/python3.9/site-packages (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 3)) (69.0.3) Collecting packaging (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 4)) Using cached https://dl.espressif.com/pypi/packaging/packaging-23.2-py3-none-any.whl (53 kB) Collecting click (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 7)) Using cached https://dl.espressif.com/pypi/click/click-8.1.7-py3-none-any.whl (97 kB) Collecting pyserial (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 8)) Using cached https://dl.espressif.com/pypi/pyserial/pyserial-3.5-py2.py3-none-any.whl (90 kB) Collecting cryptography (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 9)) Using cached https://dl.espressif.com/pypi/cryptography/cryptography-41.0.7-cp37-abi3-macosx_10_12_x86_64.whl (2.9 MB) Collecting pyparsing (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 10)) Using cached https://dl.espressif.com/pypi/pyparsing/pyparsing-3.1.1-py3-none-any.whl (103 kB) Collecting pyelftools (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 11)) Using cached https://dl.espressif.com/pypi/pyelftools/pyelftools-0.30-py2.py3-none-any.whl (177 kB) Collecting idf-component-manager (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/idf-component-manager/idf_component_manager-1.4.1-py3-none-any.whl (140 kB) Collecting esp-coredump (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 13)) Downloading https://dl.espressif.com/pypi/esp-coredump/esp_coredump-1.9.0-py3-none-any.whl (39 kB) Collecting esptool (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 14)) Downloading https://dl.espressif.com/pypi/esptool/esptool-4.7.0-py3-none-any.whl (370 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 370.2/370.2 kB 6.0 MB/s eta 0:00:00 Collecting esp-idf-kconfig (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 15)) Using cached https://dl.espressif.com/pypi/esp-idf-kconfig/esp_idf_kconfig-1.4.1-py3-none-any.whl (43 kB) Collecting esp-idf-monitor (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 16)) Using cached https://dl.espressif.com/pypi/esp-idf-monitor/esp_idf_monitor-1.3.4-py3-none-any.whl (46 kB) Collecting esp-idf-size (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 17)) Downloading https://dl.espressif.com/pypi/esp-idf-size/esp_idf_size-1.0.2-py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.5/44.5 kB 1.2 MB/s eta 0:00:00 Collecting esp-idf-panic-decoder (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 18)) Using cached https://dl.espressif.com/pypi/esp-idf-panic-decoder/esp_idf_panic_decoder-1.0.1-py3-none-any.whl (18 kB) Collecting pyclang (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 19)) Using cached https://dl.espressif.com/pypi/pyclang/pyclang-0.4.2-py3-none-any.whl (12 kB) Collecting construct (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 20)) Using cached https://dl.espressif.com/pypi/construct/construct-2.10.69-py3-none-any.whl (62 kB) Collecting freertos_gdb (from -r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 23)) Using cached https://dl.espressif.com/pypi/freertos-gdb/freertos_gdb-1.0.2-py3-none-any.whl (14 kB) Collecting cffi>=1.12 (from cryptography->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 9)) Using cached https://dl.espressif.com/pypi/cffi/cffi-1.16.0-cp39-cp39-macosx_10_9_x86_64.whl (182 kB) Collecting cachecontrol[filecache] (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/cachecontrol/cachecontrol-0.13.1-py3-none-any.whl (22 kB) Collecting colorama (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/colorama/colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting pyyaml (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/pyyaml/PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl (197 kB) Collecting requests (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/requests/requests-2.31.0-py3-none-any.whl (62 kB) Collecting requests-file (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/requests-file/requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB) Collecting requests-toolbelt (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/requests-toolbelt/requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB) Collecting schema (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/schema/schema-0.7.5-py2.py3-none-any.whl (17 kB) Collecting six (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/six/six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting tqdm (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/tqdm/tqdm-4.66.1-py3-none-any.whl (78 kB) Collecting urllib3<2 (from idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/urllib3/urllib3-1.26.18-py2.py3-none-any.whl (143 kB) Collecting pygdbmi>=0.9.0.2 (from esp-coredump->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 13)) Using cached https://dl.espressif.com/pypi/pygdbmi/pygdbmi-0.9.0.2-py3-none-any.whl (16 kB) Collecting bitstring>=3.1.6 (from esptool->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 14)) Using cached https://dl.espressif.com/pypi/bitstring/bitstring-4.1.4-py3-none-any.whl (60 kB) Collecting ecdsa>=0.16.0 (from esptool->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 14)) Using cached https://dl.espressif.com/pypi/ecdsa/ecdsa-0.18.0-py2.py3-none-any.whl (142 kB) Collecting reedsolo<1.8,>=1.5.3 (from esptool->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 14)) Using cached https://dl.espressif.com/pypi/reedsolo/reedsolo-1.7.0-py3-none-any.whl (32 kB) Collecting intelhex (from esptool->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 14)) Using cached https://dl.espressif.com/pypi/intelhex/intelhex-2.3.0-py2.py3-none-any.whl (50 kB) Collecting kconfiglib>=13.7.1 (from esp-idf-kconfig->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 15)) Using cached https://dl.espressif.com/pypi/kconfiglib/kconfiglib-14.1.0-py2.py3-none-any.whl (145 kB) Collecting rich (from esp-idf-size->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 17)) Using cached https://dl.espressif.com/pypi/rich/rich-13.7.0-py3-none-any.whl (240 kB) Collecting bitarray<3.0.0,>=2.8.0 (from bitstring>=3.1.6->esptool->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 14)) Downloading https://dl.espressif.com/pypi/bitarray/bitarray-2.9.1-cp39-cp39-macosx_10_9_x86_64.whl (127 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.7/127.7 kB 212.2 kB/s eta 0:00:00 Collecting pycparser (from cffi>=1.12->cryptography->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 9)) Using cached https://dl.espressif.com/pypi/pycparser/pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting msgpack>=0.5.2 (from cachecontrol[filecache]->idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/msgpack/msgpack-1.0.7-cp39-cp39-macosx_10_9_x86_64.whl (234 kB) Collecting filelock>=3.8.0 (from cachecontrol[filecache]->idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/filelock/filelock-3.13.1-py3-none-any.whl (11 kB) Collecting charset-normalizer<4,>=2 (from requests->idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/charset-normalizer/charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl (122 kB) Collecting idna<4,>=2.5 (from requests->idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/idna/idna-3.6-py3-none-any.whl (61 kB) Collecting certifi>=2017.4.17 (from requests->idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/certifi/certifi-2023.11.17-py3-none-any.whl (162 kB) Collecting markdown-it-py>=2.2.0 (from rich->esp-idf-size->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 17)) Using cached https://dl.espressif.com/pypi/markdown-it-py/markdown_it_py-3.0.0-py3-none-any.whl (87 kB) Collecting pygments<3.0.0,>=2.13.0 (from rich->esp-idf-size->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 17)) Using cached https://dl.espressif.com/pypi/pygments/pygments-2.17.2-py3-none-any.whl (1.2 MB) Collecting contextlib2>=0.5.5 (from schema->idf-component-manager->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 12)) Using cached https://dl.espressif.com/pypi/contextlib2/contextlib2-21.6.0-py2.py3-none-any.whl (13 kB) Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->esp-idf-size->-r /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/requirements/requirements.core.txt (line 17)) Using cached https://dl.espressif.com/pypi/mdurl/mdurl-0.1.2-py3-none-any.whl (10.0 kB) Installing collected packages: reedsolo, pyserial, pygdbmi, pyelftools, intelhex, bitarray, urllib3, tqdm, six, pyyaml, pyparsing, pygments, pycparser, pyclang, packaging, msgpack, mdurl, kconfiglib, idna, freertos_gdb, filelock, esp-idf-panic-decoder, contextlib2, construct, colorama, click, charset-normalizer, certifi, bitstring, schema, requests, markdown-it-py, esp-idf-kconfig, ecdsa, cffi, rich, requests-toolbelt, requests-file, cryptography, cachecontrol, esptool, esp-idf-size, idf-component-manager, esp-coredump, esp-idf-monitor Successfully installed bitarray-2.9.1 bitstring-4.1.4 cachecontrol-0.13.1 certifi-2023.11.17 cffi-1.16.0 charset-normalizer-3.3.2 click-8.1.7 colorama-0.4.6 construct-2.10.69 contextlib2-21.6.0 cryptography-41.0.7 ecdsa-0.18.0 esp-coredump-1.9.0 esp-idf-kconfig-1.4.1 esp-idf-monitor-1.3.4 esp-idf-panic-decoder-1.0.1 esp-idf-size-1.0.2 esptool-4.7.0 filelock-3.13.1 freertos_gdb-1.0.2 idf-component-manager-1.4.1 idna-3.6 intelhex-2.3.0 kconfiglib-14.1.0 markdown-it-py-3.0.0 mdurl-0.1.2 msgpack-1.0.7 packaging-23.2 pyclang-0.4.2 pycparser-2.21 pyelftools-0.30 pygdbmi-0.9.0.2 pygments-2.17.2 pyparsing-3.1.1 pyserial-3.5 pyyaml-6.0.1 reedsolo-1.7.0 requests-2.31.0 requests-file-1.5.1 requests-toolbelt-1.0.0 rich-13.7.0 schema-0.7.5 six-1.16.0 tqdm-4.66.1 urllib3-1.26.18 OK Executing /usr/bin/python3 /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/idf_tools.py export --format=key-value Not using an unsupported version of tool esp-clang found in PATH: unknown. To use it, run '/Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools/idf_tools.py export --prefer-system' WARNING: tool qemu-xtensa version esp_develop_8.1.3_20231206 is installed, but returned non-zero exit code (-6) with error message: dyld[18378]: Library not loaded: /usr/local/opt/pixman/lib/libpixman-1.0.dylib Referenced from: <1CA1A7EF-8C88-3640-8B36-1D5B4FE1613F> /Users/andremaree/.espressif/tools/qemu-xtensa/esp_develop_8.1.3_20231206/qemu/bin/qemu-system-xtensa Reason: tried: '/usr/local/opt/pixman/lib/libpixman-1.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/pixman/lib/libpixman-1.0.dylib' (no such file), '/usr/local/opt/pixman/lib/libpixman-1.0.dylib' (no such file), '/usr/local/lib/libpixman-1.0.dylib' (no such file), '/usr/lib/libpixman-1.0.dylib' (no such file, not in dyld cache) WARNING: tool qemu-riscv32 version esp_develop_8.1.3_20231206 is installed, but returned non-zero exit code (-6) with error message: dyld[18380]: Library not loaded: /usr/local/opt/pixman/lib/libpixman-1.0.dylib Referenced from: <35E55329-B9A7-3941-8C2C-888F24D6F53A> /Users/andremaree/.espressif/tools/qemu-riscv32/esp_develop_8.1.3_20231206/qemu/bin/qemu-system-riscv32 Reason: tried: '/usr/local/opt/pixman/lib/libpixman-1.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/pixman/lib/libpixman-1.0.dylib' (no such file), '/usr/local/opt/pixman/lib/libpixman-1.0.dylib' (no such file), '/usr/local/lib/libpixman-1.0.dylib' (no such file), '/usr/lib/libpixman-1.0.dylib' (no such file, not in dyld cache) OPENOCD_SCRIPTS=/Users/andremaree/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts ESP_ROM_ELF_DIR=/Users/andremaree/.espressif/tools/esp-rom-elfs/20230320/ IDF_PYTHON_ENV_PATH=/Users/andremaree/.espressif/python_env/idf5.2_py3.9_env ESP_IDF_VERSION=5.2 PATH=/Users/andremaree/.espressif/tools/xtensa-esp-elf-gdb/12.1_20221002/xtensa-esp-elf-gdb/bin:/Users/andremaree/.espressif/tools/riscv32-esp-elf-gdb/12.1_20221002/riscv32-esp-elf-gdb/bin:/Users/andremaree/.espressif/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin:/Users/andremaree/.espressif/tools/esp-clang/16.0.1-fe4f10a809/esp-clang/bin:/Users/andremaree/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20230928/riscv32-esp-elf/bin:/Users/andremaree/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/Users/andremaree/.espressif/tools/cmake/3.24.0/CMake.app/Contents/bin:/Users/andremaree/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/Users/andremaree/.espressif/tools/ninja/1.11.1/:/Users/andremaree/.espressif/python_env/idf5.2_py3.9_env/bin:/Users/andremaree/DevSpace/z-sdk/esp-idf.v5x/tools:$PATH IDF_DEACTIVATE_FILE_PATH=/var/folders/l7/2mnysjf14w11tv45mh1q_lpr0000gn/T/tmp0uv220tvidf_18199 Configured CDT Build Environment variables. You can check Preferences > C/C++ > Build > Environment
Guess my only option is to invest the time required for VS Code....
Hi @ammaree Installation seems to be went fine and configured required paths. Please ignore the warnings reported related to esp-lang.
Installation did not work at all, “Build not configured correctly” message.
No launch targets defined, nothing configured for IDF_COMPONENT_MANAGER, IDF_PYTHON_ENV_PATH, OPENOCD_SCRIPTS nor PATH
On 23/12/27, 05:44, "Kondal Kolipaka" @.**@.>> wrote:
Hi @ammareehttps://github.com/ammaree Installation seems to be went fine and configured required paths. Please ignore the warnings reported related to esp-lang.
— Reply to this email directly, view it on GitHubhttps://github.com/espressif/idf-eclipse-plugin/issues/862#issuecomment-1869920316, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYT7GGLCD6HWL6BFOB2ISTYLOKRVAVCNFSM6AAAAABAJMDJRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZHEZDAMZRGY. You are receiving this because you were mentioned.Message ID: @.***>
I have been having hassles with the plugin over the last 4 months, most of which I have simply ignored or tried to work around, but it is now getting worse. Starting with Eclipse 2023-03/06/09 and with each version of the plugin, religiously updated, I am consistently getting incorrect resolution of definitions.
All my source code starts with the exact same
#include "hal_config.h"
to ensure the hardware and software platforms are completely defined. Within this header a specific hardware platform and firmware configuration is definedAfter upgrading today to Eclipse 2023-12 and Plugin 2.11.1.202310270725 I am nog getting additional problems. If I do a text search for![Screenshot 2023-12-06 at 14 54 31](https://github.com/espressif/idf-eclipse-plugin/assets/3227544/67c85884-def1-4d49-b74c-38002535a057)
#define appUSE_ACTUATORS
Eclipse finds 11 occurrences but only lists 7 below for selection.If I use F3 (Find Declarations) it finds 10 and not 11 with the important one (hal_dk41.h) missing:
To make things worse, the process of resolving headers either does not accurately parse the headers or symbols defined and/or does not assign the correct values. Following the chain from 1) the source code to 2) the top level header and then 3) the 2nd level header... 1: Source code:
2: Selection of the correct HW platform header
3: Definitions in the HW platform header
I have COMPLETELY removed all traces of Eclipse and the IDF plugin (including all my project configuration files) multiple times, reinstalled Eclipse according to the web site, symptoms remained the same. The code compiles correctly and functions as expected so I am 100% sure that cMake and the preprocessor/compiler finds the correct headers, definitions and values.
Lastly, the following warning/error occurs consistently:
Any suggestions?