summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/olimex-lpc1766stk
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-21 19:03:01 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-04-21 19:03:01 +0000
commit9dc53fa5bb3f9ee26418212afc38346cbcd6520f (patch)
tree3f0714b80d042cc8c3041afa18bd4705c35e236a /nuttx/configs/olimex-lpc1766stk
parentcee627df8bd8e869021c40556523dba1502586a6 (diff)
Add logic to assign IP address in apps/examples/wlan
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3530 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/olimex-lpc1766stk')
-rw-r--r--nuttx/configs/olimex-lpc1766stk/nettest/appconfig1
-rw-r--r--nuttx/configs/olimex-lpc1766stk/wlan/appconfig3
-rwxr-xr-xnuttx/configs/olimex-lpc1766stk/wlan/defconfig9
3 files changed, 12 insertions, 1 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/nettest/appconfig b/nuttx/configs/olimex-lpc1766stk/nettest/appconfig
index d90b6e2e90..11b02d4c9e 100644
--- a/nuttx/configs/olimex-lpc1766stk/nettest/appconfig
+++ b/nuttx/configs/olimex-lpc1766stk/nettest/appconfig
@@ -37,7 +37,6 @@
CONFIGURED_APPS += examples/nettest
-
# Networking support
CONFIGURED_APPS += netutils/uiplib
diff --git a/nuttx/configs/olimex-lpc1766stk/wlan/appconfig b/nuttx/configs/olimex-lpc1766stk/wlan/appconfig
index 652db8f2d1..17055072ae 100644
--- a/nuttx/configs/olimex-lpc1766stk/wlan/appconfig
+++ b/nuttx/configs/olimex-lpc1766stk/wlan/appconfig
@@ -37,3 +37,6 @@
CONFIGURED_APPS += examples/wlan
+# Networking support
+
+CONFIGURED_APPS += netutils/uiplib
diff --git a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
index 02b639bef8..53a5f02af4 100755
--- a/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
+++ b/nuttx/configs/olimex-lpc1766stk/wlan/defconfig
@@ -767,6 +767,15 @@ CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(10<<24|0<<16|0<<8|1)
#
+# Settings for apps/examples/wlan
+#
+CONFIG_EXAMPLE_WLAN_DHCPC=n
+CONFIG_EXAMPLE_WLAN_NOMAC=n
+CONFIG_EXAMPLE_WLAN_IPADDR=(192<<24|168<<16|0<<8|201)
+CONFIG_EXAMPLE_WLAN_DRIPADDR=(192<<24|168<<16|0<<8|1)
+CONFIG_EXAMPLE_WLAN_NETMASK=(255<<24|255<<16|255<<8|0)
+
+#
# Settings for examples/ostest
#
CONFIG_EXAMPLES_OSTEST_LOOPS=1