mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 06:43:35 +08:00
Add UDP discovery configuration for the STM3240G-EVAL (from Max Holtzberg)
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5138 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
config EXAMPLES_DISCOVER
|
||||
config EXAMPLE_DISCOVER
|
||||
bool "UDP Discovery Example"
|
||||
default n
|
||||
depends on NET_UDP
|
||||
@@ -17,11 +17,13 @@ config EXAMPLES_DISCOVER
|
||||
It is also possible to address all classes with a kind of broadcast
|
||||
discover.
|
||||
|
||||
if EXAMPLES_DISCOVER
|
||||
if EXAMPLE_DISCOVER
|
||||
|
||||
config EXAMPLE_DISCOVER_DHCPC
|
||||
bool "DHCP Client"
|
||||
default n
|
||||
select NETUTILS_DHCPC
|
||||
select NETUTILS_RESOLV
|
||||
|
||||
config EXAMPLE_DISCOVER_NOMAC
|
||||
bool "Use canned MAC address"
|
||||
@@ -30,6 +32,7 @@ config EXAMPLE_DISCOVER_NOMAC
|
||||
config EXAMPLE_DISCOVER_IPADDR
|
||||
hex "Target IP address"
|
||||
default 0x0a000002
|
||||
depends on !EXAMPLE_DISCOVER_DHCPC
|
||||
|
||||
config EXAMPLE_DISCOVER_DRIPADDR
|
||||
hex "Router IP address"
|
||||
|
||||
Reference in New Issue
Block a user