summaryrefslogtreecommitdiff
path: root/nuttx/configs/lpc4330-xplorer/nsh/defconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-13 16:03:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-07-13 16:03:13 +0000
commit7ff1487aeaabd0db47028d3919c37863c1b94258 (patch)
tree26d3878d2b971cb3523134d71701d12867ad23d7 /nuttx/configs/lpc4330-xplorer/nsh/defconfig
parentf8af550c7d1f860440060e553b36da103c6b759c (diff)
downloadpx4-nuttx-7ff1487aeaabd0db47028d3919c37863c1b94258.tar.gz
px4-nuttx-7ff1487aeaabd0db47028d3919c37863c1b94258.tar.bz2
px4-nuttx-7ff1487aeaabd0db47028d3919c37863c1b94258.zip
Implement basic SPIFI block driver for the LPC43xx (doesn't work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4938 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer/nsh/defconfig')
-rw-r--r--nuttx/configs/lpc4330-xplorer/nsh/defconfig31
1 files changed, 31 insertions, 0 deletions
diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
index a14013152..4bb270bb8 100644
--- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
@@ -381,6 +381,7 @@ CONFIG_DEBUG=n
CONFIG_DEBUG_VERBOSE=n
CONFIG_DEBUG_SYMBOLS=n
CONFIG_DEBUG_SCHED=n
+CONFIG_DEBUG_FS=n
CONFIG_HAVE_CXX=n
CONFIG_HAVE_CXXINITIALIZE=n
@@ -657,6 +658,35 @@ CONFIG_MMCSD_MMCSUPPORT=n
CONFIG_MMCSD_HAVECARDDETECT=n
#
+# This configuration has some special options that can be used to
+# create a block device on the SPIFI FLASH:
+#
+# CONFIG_SPIFI_BLKDRVR - Enable to create a block driver on the SPFI
+# device.
+# CONFIG_SPIFI_DEVNO - SPIFI minor device number. The SPFI device will
+# be at /dev/rdN, where N is the value of CONFIG_SPIFI_DEVNO.
+# Default: 0.
+# CONFIG_SPIFI_RDONLY - Create a read only device on SPIFI.
+# CONFIG_SPIFI_OFFSET - Offset the beginning of the block driver this
+# many bytes into the device address space. Default 0.
+# CONFIG_SPIFI_BLKSIZE - The size of one block. SPIFI is not block
+# oriented, so most any size of the block used in the SPIFI block
+# device can be used. NOTE: FAT will support only sector sizes of 512,
+# 1024, 2048, or 4096. Default: 512
+# CONFIG_SPIFI_NBLOCKS - The number of blocks in the file system,
+# each of size CONFIG_SPIFI_BLKSIZE. The end of the file system
+# will be at device offset:
+# CONFIG_SPIFI_OFFSET + CONFIG_SPIFI_BLKSIZE*CONFIG_SPIFI_NBLOCKS
+# The must assure that this does offset does not go beyond the end
+# of the FLASH memory.
+#
+CONFIG_SPIFI_BLKDRVR=n
+CONFIG_SPIFI_DEVNO=0
+CONFIG_SPIFI_RDONLY=n
+CONFIG_SPIFI_OFFSET=0
+CONFIG_SPIFI_BLKSIZE=512
+CONFIG_SPIFI_NBLOCKS=(1024*1024/512)
+
# TCP/IP and UDP support via uIP
# CONFIG_NET - Enable or disable all network features
# CONFIG_NET_IPv6 - Build in support for IPv6
@@ -866,6 +896,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n
#
# Settings for examples/nettest
+#
CONFIG_EXAMPLE_NETTEST_SERVER=n
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
CONFIG_EXAMPLE_NETTEST_NOMAC=n