Files
Olaf Flebbe 9f6783670f sdcard: support thingplus-rp2040
The instances of SPI interfaces SPI0, SPI1, ... are
pointers to SPI types on rp2040 machines, rather plain
values like other machines.

This needs restructuring the sdcard API to take a pointer
to the SPI interface rather the SPI type itself.

Removed waitserial() since it needs modem control lines
not available on most boards
2022-05-24 19:16:34 +02:00
..
2021-05-31 17:26:21 +02:00
2022-05-24 19:16:34 +02:00
2021-05-31 17:26:21 +02:00

SPI sdcard/mmc driver

This package provides the driver for sdcard/mmc with SPI connection.
examples/sdcard/console shows a low-level access example.
examples/sdcard/tinyfs shows an example of using fatfs to read FAT32.

If you use this package, you need to set default-stack-size in targets/*.json.
For example, targets/wioterminal.json has the following configuration.

{
    "inherits": ["atsamd51p19a"],
    "build-tags": ["wioterminal"],
    "flash-1200-bps-reset": "true",
    "flash-method": "msd",
    "msd-volume-name": "Arduino",
    "msd-firmware-name": "firmware.uf2",
    "default-stack-size": 2048
}