← Back to Pull requests

fix(CMSIS): MSDK-1456/1527-1531: Fix SVD peripheral baseAddress errors in five devices #1634

Closed
unknown closed this pull request without merging on Oct 12, 2026 11:13 UTC
View on GitHub
unknown unknown commented on Oct 06, 2026 14:41 UTC
Author

Description

Fixes six Jira-tracked SVD baseAddress bugs found by cross-checking
MXC_BASE_* macros in CMSIS device headers against SVD <baseAddress>
values.

max32662.svd (MSDK-1456)

  • Fix TMR3 (LPTMR) <baseAddress>: 0x40013000 → 0x40113000

  • (confirmed via MXC_BASE_TMR3 in max32662.h and UG Table 3-2)
  • Version bumped 1.0 → 1.1
  • max32520.svd (MSDK-1527)

  • Fix UART0 <baseAddress>: 0x40042000 → 0x40020000

  • (confirmed via MXC_BASE_UART0 in max32520.h and UG Table 3-2)
  • Version bumped 1.0 → 1.1
  • max32665.svd (MSDK-1528)

  • Fix ICC1 <baseAddress>: 0x4002AC000 (invalid 9-digit) → 0x4002A800

  • (confirmed via MXC_BASE_ICC1 in max32665.h and UG Table 3-3)
  • Correct ICC0 <addressBlock> size 0x1000 → 0x800

  • (UG: ICC0 0x4002A000–0x4002A7FF; ICC1 0x4002A800–0x4002ABFF)
  • Version bumped 1.0 → 1.1
  • max32670.svd (MSDK-1529)

  • Fix AESKEYS <baseAddress>: 0x40007800 → 0x40005000

  • (confirmed via MXC_BASE_AESKEYS in max32670.h and UG Table 3-2)
  • Version bumped 1.0 → 1.1
  • max32690.svd (MSDK-1530, MSDK-1531)

  • Fix PUF <baseAddress>: 0x40070000 → 0x40007000

  • (confirmed via MXC_BASE_PUF in max32690.h and UG Table 3-2)
  • Add missing FLC1 peripheral (derivedFrom=FLC) at <baseAddress>0x40029400</baseAddress>

  • (confirmed via MXC_BASE_FLC1 in max32690.h and UG Table 3-2;
    FLC1 was entirely absent from the SVD)
  • Correct FLC <addressBlock> size 0x1000 → 0x400

  • (UG: FLC0 0x40029000–0x400293FF; FLC1 0x40029400–0x400297FF)
  • Version bumped 1.1 → 1.2
  • SVDconv Results (--strict)

    | File | Errors | Warnings | vs. Baseline |
    |------|--------|----------|--------------|
    | max32662.svd | 0 | 19 | unchanged |
    | max32520.svd | 0 | 3 | unchanged |
    | max32665.svd | 36 | 6 | 36 errors pre-existing; -1 warning |
    | max32670.svd | 0 | 43 | unchanged |
    | max32690.svd | 38 | 148 | 38 errors pre-existing; -1 warning |

    No new errors or warnings introduced.

    Checklist Before Requesting Review

  • PR Title follows correct guidelines.

  • Description of changes and all other relevant information.

  • SVDconv run; no new errors or warnings introduced.
  • ---

    🤖 Generated with Claude Code

    Diff: 276 lines (+207 / -69) across 3 files Reviewer: ttmut Review duration: 8431m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 276 lines diff across 3 files
    0.40
    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.336
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1634"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    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: 39.6% (MEDIUM) · Higher = larger blast radius
    39.6%
    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: 15.6% · Safe to merge
    15.6%