arduino / arduino/ArduinoCore-API

SD library API for use with SDIO port

オープン
#9 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
306
フォーク
150
PR マージ指標
30日以内にマージされた PR はありません

説明

All SD cards support 2 access methods, native SDIO mode and a simpler/slower SPI mode meant for microcontrollers. Some newer 32 bit microcontrollers are featuring native SDIO ports. I'm working with one right now....

Would like any input on how the SD library API should be extended to support these? So far, my main thought is to define a symbol like SDIO_PORT

```
SD.begin(4); // use SPI mode with pin 4 as chip select

SD.begin(SDIO_PORT); // use native SDIO port, which does not have a chip select line
```

Does this look reasonable? Or has anyone already made other plans or ideas for supporting chips with native SDIO?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず SD library API と、issue に示されている既存の SD.begin() の使用方法を確認します。現在の SPI-mode API と、提案されているネイティブな SDIO_PORT 形式を比較し、Arduino cores が SDIO ポートをどのように公開しているかを調査します。API 設計について合意に達し、必要な動作を文書化できれば完了です。issue にはファイル名やテストの指定はありません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
api, embedded-iot
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。