Skip to content

fix: rename ManufacturingStatus bit 15 CAL_TEST to CAL_EN - #92

Open
amandeavor wants to merge 1 commit into
OpenDevicePartnership:mainfrom
amandeavor:fix/manufacturing-status-cal-en
Open

amandeavor wants to merge 1 commit into
OpenDevicePartnership:mainfrom
amandeavor:fix/manufacturing-status-cal-en

Conversation

@amandeavor

Copy link
Copy Markdown

Summary

Fixes #84.

From R3 onwards TI names ManufacturingStatus bit 15 CAL_EN ("CALIBRATION mode"). The manifest still exposed it as CAL_TEST, so anyone following the TRM calibration procedure could not find cal_en() in the driver.

Pure rename on device_r{3,4,5}.yaml (r1 keeps CAL_TEST). Regenerated gen_r{3,4,5}.rs.

Breaking: public accessor cal_test() → cal_en() on r3/r4/r5.

Test plan

  • cargo test --locked --features r5 (21 passed)
  • CI pregen / test / check

From R3 onwards the TRM calls bit 15 CAL_EN (calibration mode).
The manifest still used the older CAL_TEST name. Pure identifier
rename on r3/r4/r5; regenerated device-driver pregen sources.

Fixes OpenDevicePartnership#84
Copilot AI lite review requested due to automatic review settings September 25, 2026 07:50
@amandeavor
amandeavor requested a review from a team as a code owner September 25, 2026 07:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

ManufacturingStatus bit 15 named CAL_TEST; R3 onwards call it CAL_EN

2 participants