Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support SDIO cards as a second USB mass-storage LUN

Đang mở
#11,564 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@ladyada đang làm issue này rồi.

Từ ngày 12/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
C
Star
4.6k
Fork
1.4k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
174

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của adafruit/circuitpython

Tất cả issue của adafruit/circuitpython

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.