← Back to Pull requests

hal: microchip: pic32cm_sg_gc: Add mapping file for RTC #86

Open
TheArkadiuszGrzelka opened this pull request with 28 lines diff across 2 files
View on GitHub
TheArkadiuszGrzelka TheArkadiuszGrzelka commented on Sep 28, 2026 08:57 UTC
Author

Adds rtc_pic32cm_sg_gc.h, mapping the MODE2_ALARM[] registers to the flat RTC_ALARM0/1 and RTC_MASK0/1 names the Zephyr RTC G1 driver uses, the same way rtc_pic32cz_ca.h does for PIC32CZ CA. Without it the driver does not build for PIC32CM SG/GC with CONFIG_RTC_ALARM=y.

Needed by zephyrproject-rtos/zephyr#118724, which enables the RTC on the PIC32CM GC00 Curiosity Pro.

Diff: 28 lines (+28 / -0) across 2 files Reviewer: Madhan-Kurukondar Review duration: 39637m
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.25) × (1 − Review Confidence (0.50)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.25 · 28 lines diff across 2 files
0.25
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
0.00
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
50%
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
Shallow Review Depth shallow_review_depth
0.350
Diff Size diff_size
0.201
Real PR Conversation Timeline
3 items
Madhan-Kurukondar Madhan-Kurukondar approved these changes on Oct 05, 2026 13:38 UTC
Approved Reviewer

Approved these changes.

Farsin-Nasar-Microchip Farsin-Nasar-Microchip approved these changes on Oct 23, 2026 12:33 UTC
Approved Reviewer

Approved these changes.

Assignees
TheArkadiuszGrzelka TheArkadiuszGrzelka
Labels
risk: low confidence: 50% 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: 24.6% (LOW) · Higher = larger blast radius
24.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: 50% · Lower = rushed or shallow review
50%
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: 12.3% · Safe to merge
12.3%