Add the Raspberry Pi Pico 2 board (RP2350A, LED on GPIO25)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 84/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- cmake, python, raspberry-pi, yaml
調査の方向性
まず boards/rpi/pico2_w/board.yaml を確認し、次に docs/engineering/hwgen.md の「A second board on the same SoC」と「A numbered GPIO bank: the RP2350」の各セクションを読みます。ボードの仕様には、pico-sdk の boards/pico2.h と Pico 2 のデータシートを使用します。boards/rpi/pico2/board.yaml を追加し、python3 -I hw/gen/emb-hwgen.py generate --board boards/rpi/pico2 でファイルを生成します。ジェネレーターのチェックと指定された CMake ビルドを実行します。チェックが通り、ボードがビルドできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C
- スター
- 1
- フォーク
- 1
- 平均マージ
- 14時間 21分
- マージ済み PR(30日)
- 125
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
EmbLinkOs/EmbLinkRTOS のほかの issue
-
documentation good first issue help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
EmbLinkOs/EmbLinkRTOS#116 ·
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
EmbLinkOs/EmbLinkRTOS#115 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
EmbLinkOs/EmbLinkRTOS#114 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 83/100
EmbLinkOs/EmbLinkRTOS#113 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 34/100
EmbLinkOs/EmbLinkRTOS#112 ·
メンテナーはふだん 1 日以内に返信
EmbLinkOs/EmbLinkRTOS の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area: test kind: bug preview-effort: small priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
libsdl-org/SDL#16684 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
Issue-Bug Needs-Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信