diff --git a/configs/sam4e-ek/README.txt b/configs/sam4e-ek/README.txt index c69f2766ac..720566adf6 100644 --- a/configs/sam4e-ek/README.txt +++ b/configs/sam4e-ek/README.txt @@ -758,17 +758,28 @@ HSMCI Device Drivers -> MMC/SD Driver Support CONFIG_MMCSD=y : Enable MMC/SD support - CONFIG_MMSCD_NSLOTS=1 : One slot per driver instance + CONFIG_MMCSD_NSLOTS=1 : One slot per driver instance CONFIG_MMCSD_HAVECARDDETECT=y : Supports card-detect PIOs CONFIG_MMCSD_SDIO=y : SDIO-based MMC/SD support + CONFIG_MMCSD_MULTIBLOCK_DISABLE=y : Probably works but is untested + CONFIG_SDIO_DMA=y : Use SDIO DMA CONFIG_SDIO_BLOCKSETUP=y : Needs to know block sizes Library Routines CONFIG_SCHED_WORKQUEUE=y : Driver needs work queue support + : Defaults for other settings okay Application Configuration -> NSH Library CONFIG_NSH_ARCHINIT=y : NSH board-initialization + CONFIG_NSH_MMCSDSLOTNO=0 : Only one slot, slot 0 + + After an SD card is successfully initialized, the block device /dev/mmcsd0 + will be available. To mount the SD card, use the following NSH command: + + nsh> mount -t vfat /dev/mmcsd0 /mnt/sdcard + + The SD card contents will then be available under /mnt/sdcard. Touchscreen =========== diff --git a/include/nuttx/sdio.h b/include/nuttx/sdio.h index 23b2bbec6a..5c823f3a15 100644 --- a/include/nuttx/sdio.h +++ b/include/nuttx/sdio.h @@ -444,7 +444,7 @@ * Name: SDIO_BLOCKLEN * * Description: - * Some hardward needs to be informed of the selected blocksize and the + * Some hardware needs to be informed of the selected blocksize and the * number of blocks. Others just work on the byte stream. * * Input Parameters: