Trying to install the IDE and can't load the tool set.v1

Teh2024
Posts: 5
Joined: Fri Nov 22, 2024 3:03 pm

Trying to install the IDE and can't load the tool set.v1

Postby Teh2024 » Sat Nov 23, 2024 8:28 am

Have now uninstalled the IDF and reinstalled it, to the same affect

when you start it says that there is an old and new path to the IDF. old is blank and new points to the idf?

Same error message encountered while trying to ass ESP-IDF

Traceback (most recent call last):
File "C:\Espressif\frameworks\esp-idf-v5.3.1\tools\idf_tools.py", line 3239, in <module>
main(sys.argv[1:])
File "C:\Espressif\frameworks\esp-idf-v5.3.1\tools\idf_tools.py", line 3231, in main
action_func(args)
File "C:\Espressif\frameworks\esp-idf-v5.3.1\tools\idf_tools.py", line 2154, in action_export
tools_info = load_tools_info()
^^^^^^^^^^^^^^^^^
File "C:\Espressif\frameworks\esp-idf-v5.3.1\tools\idf_tools.py", line 1610, in load_tools_info
return parse_tools_info_json(tools_info) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Espressif\frameworks\esp-idf-v5.3.1\tools\idf_tools.py", line 1625, in parse_tools_info_json
tool = IDFTool.from_json(tool_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Espressif\frameworks\esp-idf-v5.3.1\tools\idf_tools.py", line 1239, in from_json
raise RuntimeError(f'supported_targets for tool {tool_name} is not a list of strings')
RuntimeError: supported_targets for tool xtensa-lx106-elf is not a list of strings

Where do i go from here, looks like i'll have to stay with the command line. :-(

Teh2024
Posts: 5
Joined: Fri Nov 22, 2024 3:03 pm

Re: Trying to install the IDE and can't load the tool set.v1

Postby Teh2024 » Sat Nov 23, 2024 3:01 pm

Just to add some other information i think there is some issue with the fact that I have already installed the ESP2866 IDF about a year ago.
Looks like there may be some problems with each wanting the IDF_PATH to themselves.

User avatar
ESPBoards
Posts: 7
Joined: Wed Jan 17, 2024 9:05 pm

Re: Trying to install the IDE and can't load the tool set.v1

Postby ESPBoards » Sat Nov 23, 2024 4:53 pm

Something looks corrupted, like tools.json file... Did you try removing the C:\Users\<YourUsername>\.espressif folder?
ESPBoards.dev - Everything about ESP32 and ESP8266 Development Boards - https://www.espboards.dev

Teh2024
Posts: 5
Joined: Fri Nov 22, 2024 3:03 pm

Re: Trying to install the IDE and can't load the tool set.v1

Postby Teh2024 » Sun Nov 24, 2024 4:17 pm

Well removing the workspace and creating a new one.
Removing the IDF_PATH bit that I (Need for ESP8266 IDE) seems to have loaded the IDF in to the IDF manager

Now I'm getting

Configuring in: C:\Users\<username\espressif\workspace\spi_lcd_touch\managed_components\lvgl__lvgl\tests\build\default
cmake -G MinGW Makefiles -DCMAKE_EXPORT_COMPILE_COMMANDS=ON C:\Users\UserName>\espressif\workspace\spi_lcd_touch\managed_components\lvgl__lvgl\tests
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also
"C:/Users/<userName>/espressif/workspace/spi_lcd_touch/managed_components/lvgl__lvgl/tests/build/default/CMakeFiles/CMakeOutput.log".
Building in: C:\Users\<username>\espressif\workspace\spi_lcd_touch\managed_components\lvgl__lvgl\tests\build\default
cmake --build . --target all
The parameter is incorrect
CMake Error: Generator: execution of make failed. Make command was: -f Makefile all &&
Build complete (0 errors, 0 warnings):
C:\Users\<username>\espressif\workspace\spi_lcd_touch\managed_components\lvgl__lvgl\tests\build\default

Slowly moving forward.
But in the end I will need the IDF_PATH to be used for both the 8266 & 32 IDF's

Teh2024
Posts: 5
Joined: Fri Nov 22, 2024 3:03 pm

Re: Trying to install the IDE and can't load the tool set.v1

Postby Teh2024 » Sun Nov 24, 2024 6:16 pm

Well i can say that after a few hrs and trying so man things that i've no clue how I got to this place
I have
1: imported the blink project
2: got the target set to the right chip
3: complied and downloaded in to chip
4: now got blinkon led :-)

So happy me, now I can go on to the hard bit of getting the two IDF's to live in a happy place together.

Who is online

Users browsing this forum: No registered users and 51 guests