summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3220g-eval
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-29 14:13:04 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-29 14:13:04 +0000
commitf31bf9589ae92fde204cdb97e9e57b5a1f11d973 (patch)
tree6aaf796d9badf837309fab85bfcd77e79f3d12d1 /nuttx/configs/stm3220g-eval
parentec22796f1efef9a51fec0061cfdc3d9be81a9df0 (diff)
downloadpx4-nuttx-f31bf9589ae92fde204cdb97e9e57b5a1f11d973.tar.gz
px4-nuttx-f31bf9589ae92fde204cdb97e9e57b5a1f11d973.tar.bz2
px4-nuttx-f31bf9589ae92fde204cdb97e9e57b5a1f11d973.zip
Fix problem with ping that prevent ping from going outside local network (Darcy Gong)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5204 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm3220g-eval')
-rw-r--r--nuttx/configs/stm3220g-eval/README.txt29
-rw-r--r--nuttx/configs/stm3220g-eval/nxwm/defconfig14
2 files changed, 28 insertions, 15 deletions
diff --git a/nuttx/configs/stm3220g-eval/README.txt b/nuttx/configs/stm3220g-eval/README.txt
index b3b7fd476..89c6b9233 100644
--- a/nuttx/configs/stm3220g-eval/README.txt
+++ b/nuttx/configs/stm3220g-eval/README.txt
@@ -947,21 +947,22 @@ Where <subdir> is one of the following:
This is a special configuration setup for the NxWM window manager
UnitTest. The NxWM window manager can be found here:
- trunk/NxWidgets/nxwm
+ nuttx-code/NxWidgets/nxwm
The NxWM unit test can be found at:
- trunk/NxWidgets/UnitTests/nxwm
+ nuttx-code/NxWidgets/UnitTests/nxwm
Documentation for installing the NxWM unit test can be found here:
- trunk/NxWidgets/UnitTests/README.txt
+ nuttx-code/NxWidgets/UnitTests/README.txt
- Here is the quick summary of the build steps:
+ Here is the quick summary of the build steps (Assuming that all of
+ the required packages are available in a directory ~/nuttx-code):
1. Intall the nxwm configuration
- $ cd ~/nuttx/trunk/nuttx/tools
+ $ cd ~/nuttx-code/nuttx/tools
$ ./configure.sh stm3220g-eval/nxwm
2. Make the build context (only)
@@ -973,27 +974,27 @@ Where <subdir> is one of the following:
3. Install the nxwm unit test
- $ cd ~/nuttx/trunk/NxWidgets
- $ tools/install.sh ~/nuttx/trunk/apps nxwm
+ $ cd ~/nuttx-code/NxWidgets
+ $ tools/install.sh ~/nuttx-code/apps nxwm
Creating symbolic link
- - To ~/nuttx/trunk/NxWidgets/UnitTests/nxwm
- - At ~/nuttx/trunk/apps/external
+ - To ~/nuttx-code/NxWidgets/UnitTests/nxwm
+ - At ~/nuttx-code/apps/external
4. Build the NxWidgets library
- $ cd ~/nuttx/trunk/NxWidgets/libnxwidgets
- $ make TOPDIR=~/nuttx/trunk/nuttx
+ $ cd ~/nuttx-code/NxWidgets/libnxwidgets
+ $ make TOPDIR=~/nuttx-code/nuttx
...
5. Build the NxWM library
- $ cd ~/nuttx/trunk/NxWidgets/nxwm
- $ make TOPDIR=~//nuttx/trunk/nuttx
+ $ cd ~/nuttx-code/NxWidgets/nxwm
+ $ make TOPDIR=~/nuttx-code/nuttx
...
6. Built NuttX with the installed unit test as the application
- $ cd ~/nuttx/trunk/nuttx
+ $ cd ~/nuttx-code/nuttx
$ make
ostest:
diff --git a/nuttx/configs/stm3220g-eval/nxwm/defconfig b/nuttx/configs/stm3220g-eval/nxwm/defconfig
index 7b7028cf8..83c2f4841 100644
--- a/nuttx/configs/stm3220g-eval/nxwm/defconfig
+++ b/nuttx/configs/stm3220g-eval/nxwm/defconfig
@@ -507,7 +507,7 @@ CONFIG_STMPE811_THRESHX=39
CONFIG_STMPE811_THRESHY=51
#
-# USB Device Configuration
+# STM32 USB OTG FS Device Configuration
#
CONFIG_USBDEV=n
CONFIG_USBDEV_ISOCHRONOUS=n
@@ -519,6 +519,18 @@ CONFIG_USBDEV_TRACE=n
CONFIG_USBDEV_TRACE_NRECORDS=128
#
+# STM32 USB OTG FS Host Configuration
+#
+CONFIG_USBHOST=n
+#CONFIG_STM32_OTGFS_RXFIFO_SIZE
+#CONFIG_STM32_OTGFS_NPTXFIFO_SIZE
+#CONFIG_STM32_OTGFS_PTXFIFO_SIZE
+#CONFIG_STM32_OTGFS_DESCSIZE
+CONFIG_STM32_OTGFS_SOFINTR=n
+CONFIG_STM32_USBHOST_REGDEBUG=n
+CONFIG_STM32_USBHOST_PKTDUMP=n
+
+#
# USB Serial Device Configuration
#
CONFIG_PL2303=n