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

Support SDIO cards as a second USB mass-storage LUN

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

维护者通常 1 天内回复

@ladyada 已经在做这个了。

开始于 2026年10月12日。

评估

这个 Issue 还没有评估数据。

描述

rp2 sdcardio storage supervisor usb

Requested behavior

Allow a microSD card used through sdioio.SDCard to be exposed as a second USB mass-storage LUN alongside CIRCUITPY.

Floppsy RP2350B has a built-in TFT on SPI0 (GPIO6/7) and a separate SD socket on GPIO34-39. Those SD pins also map to SPI0 in SPI mode. Current automatic SD-over-SPI mounting claims SPI0 before the TFT starts, causing ValueError: SPI peripheral in use during board initialization and preventing USB startup with a card inserted. The board fix removes the automatic SPI SD configuration and leaves the SDIO pin aliases available to Python.

Todo

  • Support an SDIO-backed USB MSC card LUN without constructing an SPI bus.
  • Retain CIRCUITPY as the first LUN and the SD card as the second.
  • Handle card detection/removal and coordinate host-versus-Python filesystem ownership to avoid concurrent writes.
  • Verify cold boot, inserted/absent cards, reconnects, and simultaneous TFT use on Floppsy.

Requested by Limor while bringing up Floppsy. Related board PR: https://github.com/adafruit/circuitpython/pull/11555. This is a follow-up feature request; no SDIO-backed MSC implementation is included in that PR.

主要语言
C
星标
4.6k
派生
1.4k
平均合并
1 天 2 小时
30 天内合并 PR
174

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

adafruit/circuitpython 的其他 Issue

查看 adafruit/circuitpython 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

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