usb2can-integration: Add compilation database helpers by andrewleech · Pull Request #67 · andrewleech/micropython · GitHub
Skip to content

usb2can-integration: Add compilation database helpers - #67

Merged
andrewleech merged 2 commits into
usb2can-integrationfrom
usb2can-integration_update
Sep 13, 2026
Merged

andrewleech merged 2 commits into
usb2can-integrationfrom
usb2can-integration_update

Conversation

@andrewleech

Copy link
Copy Markdown
Owner

Compose micropython/micropython#19698 into the USB2CAN integration branch.

The candidate merge retains the existing composed integration head as its first parent and adds only tools/gen_compile_commands.py and tools/check_compile_commands.py as its second-parent feature branch.

MBM records the upstream PR metadata in mpy-usb2can's mbm.toml; adoption of the resulting gitlink remains a separate target change after this integration review.

Add a verbose Make build parser and an object-backed completeness check. Together they produce and validate compile_commands.json without compiler interposition, so downstream static analysis receives the real per-translation-unit flags.

Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
tools: Add compilation database helpers

MBM-PR: 19698
MBM-URL: micropython#19698
MBM-Author: andrewleech
@andrewleech
andrewleech merged commit e214beb into usb2can-integration Sep 13, 2026
149 of 152 checks passed
@andrewleech
andrewleech deleted the usb2can-integration_update branch September 13, 2026 14:15
@codecov-commenter

codecov-commenter commented Sep 13, 2026

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants