Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Driver] - Make Pi4io3 driver platform agnostic

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
停滞
技术栈
c
领域
embedded-iot

调研方向

先从 Pi4io3 驱动程序和链接的 Driver Generalization 指南开始,然后在 Shepherd 和 Cerberus 中查找对此驱动程序的所有引用。更新 embedded-base 子模块并构建 Shepherd 和 Cerberus,以确定剩余的集成失败;完成的标准是该驱动程序不再依赖 STM32 HAL 特定代码,并且两个项目都能使用新结构构建。

由索引模型根据 Issue 内容生成。

描述

enhancement
Current Features

this driver depends on stm32 HAL

Desired Additional Features

We want these to work with all potential hardware. This involves replacing HAL specific code with generalized code that utilized function pointers to use HAL functionality. The way in which we want to handle this is outlined in this doc under the "Driver Generalization" header.

Also a part of this ticket, find all references to this driver in Shepherd and Cerberus, and fix them to accommodate the new driver structure. A good way to check this is to update your embedded-base submodule to reflect the changes made to this driver, and then try building shepherd and cerberus. If they relied on this device, they will likely fail to build unless you make the appropriate changes

Screenshots (as needed)

No response

主要语言
C
星标
2
派生
2
PR 合并指标
30 天内没有已合并 PR

环境准备

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

从这里开始

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

Northeastern-Electric-Racing/Embedded-Base 的其他 Issue

查看 Northeastern-Electric-Racing/Embedded-Base 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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