Skip to content

chore(deps): update embedded-services - #57

Merged
tullom merged 1 commit into
OpenDevicePartnership:mainfrom
tullom:update-embedded-services-battery-and-time-alarm
Nov 10, 2026
Merged

tullom merged 1 commit into
OpenDevicePartnership:mainfrom
tullom:update-embedded-services-battery-and-time-alarm

Conversation

@tullom

@tullom tullom commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Update battery registration with power-policy routing.

Share TimeAlarm wake config and GPIO handling so other platforms can reuse the logic without depending on QEMU's HAL.

Update battery registration with power-policy routing.

Share TimeAlarm wake config and GPIO handling so other platforms
can reuse the logic without depending on QEMU's HAL.
@tullom tullom self-assigned this Nov 10, 2026
@tullom tullom added the enhancement New feature or request label Nov 10, 2026
@tullom
tullom requested a review from a team as a code owner November 10, 2026 21:43
@tullom
tullom requested review from RobertZ2011, dymk, felipebalbi, jerrysxie, kat-perez, kurtjd, maxperga-msft and rogurr and a balanced review from Copilot November 10, 2026 21:43
@tullom
tullom enabled auto-merge (squash) November 10, 2026 21:44

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.

🟢 Approval recommended

No active review issues remain for the dependency refresh and shared mock-service updates.

No open issues 🎉

What changed in this PR

Updates embedded-service dependencies and adapts the shared mock services to the new APIs, making TimeAlarm wake handling reusable beyond QEMU.

Changes:

  • Refresh dependency revisions across all six lockfiles.
  • Add default power-policy routing to mock battery registration.
  • Extract HAL-independent TimeAlarm configuration and GPIO helpers, and use them from QEMU.
File Description
platform/​platform-common/​src/​mock/​time_alarm.rs Adds shared wake configuration, output driving, and power-input monitoring.
platform/​platform-common/​src/​mock/​battery.rs Registers batteries with default power-policy routing.
platform/​platform-common/​Cargo.lock Updates shared-library service dependencies.
platform/​dev-qemu/​src/​main.rs Delegates TimeAlarm handling to shared helpers.
platform/​dev-qemu/​Cargo.lock Updates QEMU service dependencies.
platform/​dev-npcx/​Cargo.lock Updates NPCX service dependencies.
platform/​dev-mec/​Cargo.lock Updates MEC service dependencies.
platform/​dev-mcxa/​Cargo.lock Updates MCXA service dependencies.
platform/​dev-imxrt/​Cargo.lock Updates i.MXRT service dependencies.

Review effort: Balanced

@tullom
tullom merged commit 237a7b8 into OpenDevicePartnership:main Nov 10, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants