summaryrefslogtreecommitdiff
path: root/nuttx/configs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-07-29 16:36:15 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-07-29 16:36:15 -0600
commit1b0778ed3fd4c7f9de62becd2899378ecad34d76 (patch)
treece04a91bda262b37afd4cc7ac06ffcd568929e30 /nuttx/configs
parentf7cb40b81068b7be34c10eb15dc2fa8e019832d7 (diff)
downloadpx4-nuttx-1b0778ed3fd4c7f9de62becd2899378ecad34d76.tar.gz
px4-nuttx-1b0778ed3fd4c7f9de62becd2899378ecad34d76.tar.bz2
px4-nuttx-1b0778ed3fd4c7f9de62becd2899378ecad34d76.zip
The SAMA5D4-EK NSH and NxWM configurations now have the auto-mounter configured to automatically mount the FAT file system on HSMCI0 at /mnt/sdcard
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/sama5d4-ek/nsh/defconfig7
-rw-r--r--nuttx/configs/sama5d4-ek/nxwm/defconfig6
2 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/configs/sama5d4-ek/nsh/defconfig b/nuttx/configs/sama5d4-ek/nsh/defconfig
index bdd18e57e..0e503c67c 100644
--- a/nuttx/configs/sama5d4-ek/nsh/defconfig
+++ b/nuttx/configs/sama5d4-ek/nsh/defconfig
@@ -417,6 +417,12 @@ CONFIG_SAMA5D4_MB_REVC=y
# CONFIG_SAMA5D4EK_396MHZ is not set
CONFIG_SAMA5D4EK_528MHZ=y
CONFIG_SAMA5D4EK_DRAM_BOOT=y
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT=y
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_FSTYPE="vfat"
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_BLKDEV="/dev/mmcsd0"
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_MOUNTPOINT="/mnt/sdcard"
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_DDELAY=1000
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_UDELAY=2000
CONFIG_SAMA5D4EK_MXT_I2CFREQUENCY=400000
CONFIG_SAMA5D4EK_MXT_DEVMINOR=0
@@ -811,6 +817,7 @@ CONFIG_NET_ETHERNET=y
# File system configuration
#
# CONFIG_DISABLE_MOUNTPOINT is not set
+CONFIG_FS_AUTOMOUNTER=y
# CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set
CONFIG_FS_READABLE=y
CONFIG_FS_WRITABLE=y
diff --git a/nuttx/configs/sama5d4-ek/nxwm/defconfig b/nuttx/configs/sama5d4-ek/nxwm/defconfig
index 6de02f3a8..021ae2a29 100644
--- a/nuttx/configs/sama5d4-ek/nxwm/defconfig
+++ b/nuttx/configs/sama5d4-ek/nxwm/defconfig
@@ -411,6 +411,11 @@ CONFIG_NSH_MMCSDSLOTNO=0
# CONFIG_SAMA5D4EK_396MHZ is not set
CONFIG_SAMA5D4EK_528MHZ=y
CONFIG_SAMA5D4EK_DRAM_BOOT=y
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_FSTYPE="vfat"
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_BLKDEV="/dev/mmcsd0"
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_MOUNTPOINT="/mnt/sdcard"
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_DDELAY=1000
+CONFIG_SAMA5D4EK_HSMCI0_AUTOMOUNT_UDELAY=2000
CONFIG_SAMA5D4EK_MXT_I2CFREQUENCY=400000
CONFIG_SAMA5D4EK_MXT_DEVMINOR=0
@@ -807,6 +812,7 @@ CONFIG_NET_ETHERNET=y
# File system configuration
#
# CONFIG_DISABLE_MOUNTPOINT is not set
+CONFIG_FS_AUTOMOUNTER=y
# CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set
CONFIG_FS_READABLE=y
CONFIG_FS_WRITABLE=y