summaryrefslogtreecommitdiff
path: root/nuttx/examples/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-01 00:33:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-01 00:33:58 +0000
commitfd4663810300c67fc2294fa9b0868516e39bf75d (patch)
treef81e2af0ac647fef019f0dc0653b86293aa72f11 /nuttx/examples/README.txt
parent3945cfc8fefbbf42d19d08a4d55009b17ac0aab7 (diff)
downloadpx4-nuttx-fd4663810300c67fc2294fa9b0868516e39bf75d.tar.gz
px4-nuttx-fd4663810300c67fc2294fa9b0868516e39bf75d.tar.bz2
px4-nuttx-fd4663810300c67fc2294fa9b0868516e39bf75d.zip
Add examples/usbstorage setup info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2293 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/README.txt')
-rw-r--r--nuttx/examples/README.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/nuttx/examples/README.txt b/nuttx/examples/README.txt
index 20e64b47b..fb3091ebe 100644
--- a/nuttx/examples/README.txt
+++ b/nuttx/examples/README.txt
@@ -404,7 +404,18 @@ examples/usbstorage
^^^^^^^^^^^^^^^^^^^
This example registers a block device driver, then exports the block
- the device using the USB storage class driver. Configuration options:
+ the device using the USB storage class driver. In order to use this
+ example, your board-specific logic must provide the function:
+
+ void usbstrg_archinitialize(void);
+
+ This function will be called by the example/usbstorage in order to
+ do the actual registration of the block device drivers. For examples
+ of the implementation of usbstrg_archinitialize() see
+ configs/mcu123-lpc124x/src/up_usbstrg.c or
+ configs/stm3210e-eval/src/usbstrg.c
+
+ Configuration options:
CONFIG_EXAMPLES_USBSTRG_NLUNS
Defines the number of logical units (LUNs) exported by the USB storage