diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-03-24 10:23:56 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-03-24 10:23:56 -0600 |
commit | c8d1573a56076bc91db22bb995ee0961e65a6760 (patch) | |
tree | 0680b3d9b275d62e33bca0a99fbfecd342d6d03c | |
parent | 9c43f66fc25286196f9ce520489b80c891e9199a (diff) | |
download | nuttx-c8d1573a56076bc91db22bb995ee0961e65a6760.tar.gz nuttx-c8d1573a56076bc91db22bb995ee0961e65a6760.tar.bz2 nuttx-c8d1573a56076bc91db22bb995ee0961e65a6760.zip |
Cosmetic updates to comments and README files
-rw-r--r-- | nuttx/configs/sam4e-ek/README.txt | 13 | ||||
-rw-r--r-- | nuttx/include/nuttx/sdio.h | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/nuttx/configs/sam4e-ek/README.txt b/nuttx/configs/sam4e-ek/README.txt index c69f2766a..720566adf 100644 --- a/nuttx/configs/sam4e-ek/README.txt +++ b/nuttx/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/nuttx/include/nuttx/sdio.h b/nuttx/include/nuttx/sdio.h index 23b2bbec6..5c823f3a1 100644 --- a/nuttx/include/nuttx/sdio.h +++ b/nuttx/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: |