I have described the procedure to enable Eclipse Compilation Database support (CDB, compile_commands.json) in NXP MCUXpresso v11.3 on my blog:
https://michael.stapelberg.ch/posts/2021-04-01-compilation-database-eclipse-mcuxpresso/
This will give you working Macro Expansion, Open Declaration, and other C/C++ tooling features when working with external Makefile projects.
Hello @michaelstapelbe,
Nice work! It works well.
Just a little problem that I'm experiencing. I have checked that if the project has assembly files (*.S), then with the "Exclude files not in the Compilation Database" option within "Compilation Database Parser", they are excluded even when they are used by the current project.
I could checked that the assembly files are listed correctly in the compile_commands.json file.
Do you know if there is an option where assembly files can be selected to NOT be excluded?
Thanks
excellent, thank you for sharing!