arduino / arduino/ArduinoCore-API
Add 9bit support to HardwareSerial
- 主要言語
- C++
- スター
- 306
- フォーク
- 150
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I stumbled over a few different implementations / tweaks how Arduino could read 9bit data using Serial objects; the core library does not support 9bit, while the standard UART HW does ...
I am aware of issues arduino/Arduino#2292 and arduino/Arduino#2291 - however I'd like to take a differen timplementation path: use guard macro to conditionally enable the extra code (and twice as long buffer). This way, normal user will not see any performance/size penalty, but developer who needs 9bit support could enable it at the documented cost.
Diffs will be attached shortly as PR...
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず ArduinoCore-API コード内で HardwareSerial API とそのバッファ処理の場所を確認し、次に過去のアプローチについて arduino/Arduino#2292 と arduino/Arduino#2291 の issue を確認してください。提案されているガード付き 9-bit パスを実装して文書化し、通常のユーザーのパフォーマンスとサイズを維持したうえで、影響を受ける Serial の動作を検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- embedded-iot
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100