Feather RP2350: MAX3421E instead of PIO USB host, or a second build?

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

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

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

Từ ngày 31/10/2026.

Đánh giá

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

Mô tả

rp2 usb

Since #11695, the MAX3421E USB Host FeatherWing (5858) works on a Feather RP2350 that shares board.SPI() with a TFT and an SD card. I've been using it as the USB host in a standalone flasher for a USB-MIDI synth. Stock builds for the Feather RP2350 have CIRCUITPY_USB_HOST = 1 and CIRCUITPY_MAX3421E = 0, so the wing needs a custom build.

The two can't both be on: with both set, the link fails on duplicate hcd_* symbols (hcd_pio_usb.c and hcd_max3421.c). So enabling the wing means turning off usb_host.Port for this board, as adafruit_feather_rp2040_dvi does.

Would you take either of these as a PR?

  1. Switch the Feather RP2350 to CIRCUITPY_MAX3421E = 1, CIRCUITPY_USB_HOST = 0.
  2. Leave it as is. Wing users would keep a custom build, unless there's a better route (a separate board variant, or TinyUSB supporting two HCDs).

Separately: CFG_TUH_ENUMERATION_BUFSIZE defaults to 288 bytes, and some USB audio+MIDI devices have larger configuration descriptors (the M-VAVE FM-1's is 293 bytes, so it fails to enumerate). Fruit Jam raises it to 4096 on its board. Would raising the default, say to 512, be acceptable as a PR, or should it stay per board?

🤖 Generated with Claude Code

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

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.