Using:
Ubuntu 22.04.2 LTS
VS Code V1.91.1
ESP-IDF v5.4.0
The issue I get and I got this using Ubunto 24... as well.
When I open a esp-matter example for example "Light" then I can try anything but I do not get the compile_commands.json to be generated at all. Hence the entry in c_cpp_properties.json "compileCommands": "${config:idf.buildPath}/compile_commands.json", points to a missing file.
I get the following error message when building the example.
Cannot find "/home/<user>/Desktop/ESP_Light2/all_device_types_app/build/compile_commands.json"
Does anyone have an idea why I am getting this issue and how to fix it?
Ubuntu 22 - VSCode - ESP-IDF - esp-matter not generating compile_commands.json
-
- Posts: 1
- Joined: Wed Jul 31, 2024 6:58 am
-
- Posts: 18
- Joined: Thu Mar 09, 2023 8:30 am
Re: Ubuntu 22 - VSCode - ESP-IDF - esp-matter not generating compile_commands.json
Hi Marius,
Have you tried running the command "ESP-IDF: Run idf.py reconfigure task" from command palette? (CTRL+SHIFT+P), this command should generate the compile_commands.json
Have you tried running the command "ESP-IDF: Run idf.py reconfigure task" from command palette? (CTRL+SHIFT+P), this command should generate the compile_commands.json
Who is online
Users browsing this forum: No registered users and 8 guests