Wire library has no timeout functionality (meaning it is blocking).
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- embedded-iot
調査の方向性
まず、リンクされている ArduinoCore-avr の pull request を読み、その Wire 実装を ArduinoCore-megaavr と比較します。Issue で指定されている Wire.endTransmission() と、setWireTimeout()、getWireTimeoutFlag()、clearWireTimeoutFlag() の各関数に重点を置いてください。megaavr の Wire ライブラリが同等のタイムアウト動作を提供し、送信中に無期限にブロックしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In trying to solve some I2C issues I've been having, I came across this thread (and a great many others), which indicate the Wire libraries don't have any timeout capabilities, particularly making Wire .endTransmission () blocking. This has since been solved and merged into ArduinoCore-avr and has appeared in my libraries locally. To the best of my knowledge (and my own experience), the ArduinoCore-megaavr Wire library is also blocking. I haven't been able to find this fix in the ArduinoCore-megaavr version of Wire, and I haven't found any other issues relating to this, so I'm raising one now.
I'm not aware of the development relationship between the two cores, so if this already on its way, that's great. If not (and it's appropriate to do so), I'd like to see the functionality added to ArduinoCore-avr added here too. Particularly, I'd like to see functionality added that's similar to that provided by the new functions setWireTimeout(), getWireTimeoutFlag(), clearWireTimeoutFlag().
- 主要言語
- C++
- スター
- 112
- フォーク
- 66
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
arduino/ArduinoCore-megaavr のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
arduino/ArduinoCore-megaavr#152 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
arduino/ArduinoCore-megaavr#149 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
arduino/ArduinoCore-megaavr#148 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
arduino/ArduinoCore-megaavr#147 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
arduino/ArduinoCore-megaavr#145 ·
arduino/ArduinoCore-megaavr の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
-
area:qmc bug
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 3 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
ASGC-Game-Jam/asgc-gamejam-2026#563 ·
メンテナーはふだん 1 日以内に返信
-
area/ysql kind/bug priority/medium status/awaiting-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
yugabyte/yugabyte-db#37523 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100