Skip to content

build: Let the i2c and usart IPC crates build for any kernel target - #746

Draft
wrouwet wants to merge 1 commit into
OpenPRoT:mainfrom
wrouwet:build-decouple-ipc
Draft

wrouwet wants to merge 1 commit into
OpenPRoT:mainfrom
wrouwet:build-decouple-ipc

Conversation

@wrouwet

@wrouwet wrouwet commented Nov 18, 2026

Copy link
Copy Markdown

services/i2c/{client-ipc,server-runtime} and drivers/usart/{client,server} took their target_compatible_with from //target/ast10x0:defs.bzl, so they could only build for the AST10x0, although none of them depends on AST code. This switches them to the shared KERNEL_TARGET_COMPATIBLE_WITH from //target:defs.bzl.

No behaviour change for the AST10x0. This came out of bringing up pw_kernel on an NXP MCX A5 (FRDM-MCXA577), where these crates are reused as-is.

Opened as a draft while I complete the CHIPS CLA.

🤖 Generated with Claude Code

services/i2c/{client-ipc,server-runtime} and drivers/usart/{client,server}
took their compatibility from //target/ast10x0:defs.bzl, so they could only
build for the AST10x0 although none of them depends on AST code. Use the
shared KERNEL_TARGET_COMPATIBLE_WITH from //target:defs.bzl instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

This branch has not been deployed

No deployments
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.

1 participant