diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-29 21:53:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-29 21:53:28 +0000 |
commit | 5faa1bd9cefb4e7a2319faaa5b36da9140aba16a (patch) | |
tree | 358673f55511cec814532fbf08a11847936c38cf /nuttx/configs/sure-pic32mx/README.txt | |
parent | 286b14b0c9d2dbad599e80cac9c269c9cd96b408 (diff) | |
download | px4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.tar.gz px4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.tar.bz2 px4-nuttx-5faa1bd9cefb4e7a2319faaa5b36da9140aba16a.zip |
A little more work (but not much progress) on the PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4440 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sure-pic32mx/README.txt')
-rw-r--r-- | nuttx/configs/sure-pic32mx/README.txt | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/nuttx/configs/sure-pic32mx/README.txt b/nuttx/configs/sure-pic32mx/README.txt index 0c91f3289..dabdd541d 100644 --- a/nuttx/configs/sure-pic32mx/README.txt +++ b/nuttx/configs/sure-pic32mx/README.txt @@ -459,8 +459,32 @@ Where <subdir> is one of the following: Configures the NuttShell (nsh) located at apps/examples/nsh. The Configuration enables only the serial NSH interface. - The examples/usbterm program can be included as an NSH built-in - function by defined the following in your .config file: + Several USB device configurations can be enabled and included + as NSH built-in built in functions. All require the following + basic setup in your .config to enable USB device support: + + CONFIG_USBEV=y : Enable basic USB device support + CONFIG_PIC32MX_USBDEV=y : Enable PIC32 USB device support - CONFIG_USBEV=y : Enable basic USB device support - CONFIG_PIC32MX_USBDEV=y : Enable PIC32 USB device support + examples/usbterm - This option can be enabled by uncommenting + the following line in the appconfig file: + + CONFIGURED_APPS += examples/usbterm + + And by enabling one of the USB serial devices: + + CONFIG_PL2303=y : Enable the Prolifics PL2303 emulation + CONFIG_CDCACM=y : or the CDC/ACM serial driver (not both) + + examples/cdcacm - The examples/cdcacm program can be included as an + function by uncommenting the following line in the appconfig file: + + CONFIGURED_APPS += examples/cdcacm + + and defining the following in your .config file: + + CONFIG_CDCACM=y : Enable the CDCACM device + + examples/usbstorage - There are some hooks in the appconfig file + to enable the USB mass storage device. However, this device cannot + work until support for the SD card is also incorporated. |