mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 12:48:09 +00:00
Add an "sdcard" configuration that mounts an SD card over SPI0 with a FAT filesystem. The board provides the SPI chip-select glue (gd32_spi0select, gd32_spi0status and gd32_spi0register in a new gd32_spi.c) and gd32_bringup() binds the slot with mmcsd_spislotinitialize() and mounts /dev/mmcsd0 on /mnt/sd. The card is wired to the J1 header: SCK PA2, MISO PA1, MOSI PA0, and a software chip select on PA4. CONFIG_MMCSD_MMCSUPPORT is left off (its MMC CMD1 probe upsets SD cards). Signed-off-by: Jorge Guzman <jorge.gzm@gmail.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| ceva | ||
| hc | ||
| mips | ||
| misco | ||
| or1k | ||
| renesas | ||
| risc-v | ||
| sim | ||
| sparc | ||
| tricore | ||
| x86 | ||
| x86_64 | ||
| xtensa | ||
| z16 | ||
| z80 | ||
| index.rst | ||