Generate and merge compile_commands.json fo ULP subprojects in the build system (IDFGH-10664) #11894
Labels
Resolution: NA
Issue resolution is unavailable
Status: Done
Issue is done internally
Type: Feature Request
Feature request for IDF
Is your feature request related to a problem?
I would like to generate
compile_commands.json
for all ULP-RISC-V binaries to use auto-completion and code navigation (with clang or vscode intellisense LSPs).Describe the solution you'd like.
esp-idf version: release/v5.1
-DCMAKE_EXPORT_COMPILE_COMMANDS
to the subproject created in the${IDF_PATH}/components/ulp/project_include.cmake
.compile_commands.json
into a single file to the topmost level of cmake's workspace.Currently, I've only done step.1 and merge all
compile_commands.json
s tobuild/compile_commands.json
in alaunch.json
task.Describe alternatives you've considered.
No response
Additional context.
No response
The text was updated successfully, but these errors were encountered: