Add the Raspberry Pi Pico 2 board (RP2350A, LED on GPIO25)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 84/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cmake, python, raspberry-pi, yaml
- Lĩnh vực
- build-system, embedded-iot
Hướng nghiên cứu
Bắt đầu với boards/rpi/pico2_w/board.yaml, sau đó đọc các phần “A second board on the same SoC” và “A numbered GPIO bank: the RP2350” trong docs/engineering/hwgen.md; dùng boards/pico2.h của pico-sdk và datasheet Pico 2 để lấy thông tin về board. Thêm boards/rpi/pico2/board.yaml và tạo các tệp bằng lệnh python3 -I hw/gen/emb-hwgen.py generate --board boards/rpi/pico2. Chạy kiểm tra generator và bản build CMake đã nêu; hoàn tất khi kiểm tra thành công và board build được.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Support the Raspberry Pi Pico 2 (the one without wireless). The Pico 2 W is supported and tested on hardware. The Pico 2 is the same RP2350A, but its user LED is on GPIO25, driven directly by the chip (the W's LED sits behind the wireless chip, so the W has none).
A board here is a description, not code: this should need one YAML file and no C.
What exists
boards/rpi/pico2_w/board.yaml: start from it.- docs/engineering/hwgen.md, "A second board on the same SoC", shows how the NUCLEO-F446ZE was added this way. "A numbered GPIO bank: the RP2350" shows how its pins are named.
- Boards with an LED declare it as
leds: [ { name: user, gpio: ..., active: high, doc: ... } ](see the NUCLEO-F446RE's).
Steps
- Create
boards/rpi/pico2/board.yamlfrom the Pico 2 W's: namepico2, the LED on GPIO25, and the text indoc:updated. Take facts from pico-sdk'sboards/pico2.hand the Pico 2 datasheet, and say so in the header comment. python3 -I hw/gen/emb-hwgen.py generate --board boards/rpi/pico2, thenpython3 -I hw/gen/emb-hwgen.py check.- Build it:
cmake --preset cm33-pico2w -B build/pico2 -DEMB_BOARD=pico2 && cmake --build build/pico2. - If the generator or board support refuses the LED, describe what it said in the issue. That is a useful finding in itself.
- If you have a Pico 2: copy a test image's UF2 to it and tell us what the console printed (UART0 on GPIO0/GPIO1, 115200 baud).
Done when
boards/rpi/pico2/holdsboard.yamland thegenerated/the tool wrote, and nothing else.emb-hwgen.py checkpasses, and the board builds.
- Ngôn ngữ chính
- C
- Star
- 1
- Fork
- 1
- Merge trung bình
- 14 giờ 21 phút
- Pull request đã merge (30 ngày)
- 125
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của EmbLinkOs/EmbLinkRTOS
-
documentation good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
EmbLinkOs/EmbLinkRTOS#116 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
EmbLinkOs/EmbLinkRTOS#115 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
EmbLinkOs/EmbLinkRTOS#114 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 83/100
EmbLinkOs/EmbLinkRTOS#113 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 34/100
EmbLinkOs/EmbLinkRTOS#112 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của EmbLinkOs/EmbLinkRTOS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: test kind: bug preview-effort: small priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
libsdl-org/SDL#16684 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Issue-Bug Needs-Triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày