dev-qemu: Move to merged TimeAlarm wake API

未关闭
#54 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@dymk 已经在做这个了。

开始于 2026年11月10日。

  • #55 来自 @dymk —— 未关闭

评估

这个 Issue 还没有评估数据。

描述

enhancement

Parent

Follow-up to https://github.com/OpenDevicePartnership/embedded-services/issues/979, implemented by https://github.com/OpenDevicePartnership/embedded-services/pull/968.

What to build

platform/dev-qemu still builds against the pre-merge #968 commit baf1a15, which is not on embedded-services main. Move it to the merged commit and its final TimeAlarmService API.

Acceptance criteria

  • platform/dev-qemu/Cargo.lock pins embedded-services 3ff41f5 (#968 merge) or later; no other platform lockfile changes.
  • dev-qemu selects the power source through TimeAlarmService::set_power_source and drives GPIO1 from a wake_requested_receiver().
  • Default, time-alarm-wake, and time-alarm-power-input builds pass Clippy, fmt, and cargo vet.
  • odp-platform-qemu-arm-virt retention (AC/DC connected/disconnected), source-switch (AC/DC), and relay runs pass with this EC.
主要语言
Rust
星标
3
派生
8
平均合并
7 小时 51 分钟
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OpenDevicePartnership/odp-embedded-controller 的其他 Issue

查看 OpenDevicePartnership/odp-embedded-controller 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。