← Back to Pull requests

nxp_crypto_hal: els_pkc: use CMSIS 6 core headers #856

Closed
unknown closed this pull request without merging on Nov 19, 2026 07:22 UTC
View on GitHub
unknown unknown commented on Nov 16, 2026 09:57 UTC
Author

Zephyr's Cortex-M port takes CMSIS-Core from the cmsis_6 module, which exposes its path as ZEPHYR_CMSIS_6_MODULE_DIR. McuxElsPkc is a plain CMake library that does not link zephyr_interface, so it adds its own CMSIS include path, and that path named ZEPHYR_CMSIS_MODULE_DIR: the legacy cmsis module, which is only defined when that module happens to be in the workspace. Manifests that import only cmsis_6 fail with core_cm33.h: No such file or directory on every MCXN, RW61x and RT7xx build.

This points all three include paths at the cmsis_6 module instead. No fallback to cmsis is needed: Zephyr requires cmsis_6 for every Cortex-M build, so the variable is always defined when this file is processed.

Verified by building a Zephyr v4.5.0 application for mcxn947/cpu0 from a manifest whose name-allowlist contains cmsis_6 but not cmsis: without this change the build fails with core_cm33.h: No such file or directory in mcux_els.c; with it the build links. Not tested on hardware. The RW61x and RT7xx blocks receive the same one-token change and were not built.

Diff: 133 lines (+99 / -34) across 1 files Reviewer: iuliana-prodan Review duration: 4164m
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.55 · 133 lines diff across 1 files
0.55
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.293
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.055
Real PR Conversation Timeline
1 comments
"Review active on #856"
general weight: 0.35
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 55.5% (MEDIUM) · Higher = larger blast radius
55.5%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 21.9% · Safe to merge
21.9%