nxp_crypto_hal: els_pkc: use CMSIS 6 core headers #856
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
iuliana-prodan
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.