31a7b99f9c
1. Check NSH_NETINIT for self network initialization 2. Check NSH_ARCHINIT for sel arch specific initialization 3. Always show help regardless of NSH_BUILTIN_APPS 4. Loop forever regardless of NSH_BUILTIN_APPS, user could: a.change the default behavior by the command line argument b.or ctrl+c to break out the loop
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config EXAMPLES_XMLRPC
|
|
tristate "XML RPC example"
|
|
default n
|
|
depends on NET_TCP
|
|
select NETUTILS_XMLRPC
|
|
---help---
|
|
An example for the netutils/xmlrpc library.
|
|
This example implements a lightweight HTTP server and uses the xmlrpc lib
|
|
for parsing xml remote procedure calls.
|
|
|
|
config EXAMPLES_XMLRPC_BUFFERSIZE
|
|
int "HTTP buffer size"
|
|
default 1024
|
|
depends on EXAMPLES_XMLRPC
|
|
|
|
config EXAMPLES_XMLRPC_DHCPC
|
|
bool "DHCP Client"
|
|
default n
|
|
depends on EXAMPLES_XMLRPC && !NSH_NETINIT
|
|
select NETUTILS_DHCPC
|
|
select NETDB_DNSCLIENT
|
|
|
|
config EXAMPLES_XMLRPC_NOMAC
|
|
bool "Use Canned MAC Address"
|
|
default n
|
|
depends on EXAMPLES_XMLRPC && !NSH_NETINIT
|
|
|
|
config EXAMPLES_XMLRPC_IPADDR
|
|
hex "Target IP address"
|
|
default 0x0a000002
|
|
depends on EXAMPLES_XMLRPC && !NSH_NETINIT && !EXAMPLES_XMLRPC_DHCPC
|
|
|
|
config EXAMPLES_XMLRPC_DRIPADDR
|
|
hex "Default Router IP address (Gateway)"
|
|
default 0x0a000001
|
|
depends on EXAMPLES_XMLRPC && !NSH_NETINIT
|
|
|
|
config EXAMPLES_XMLRPC_NETMASK
|
|
hex "Network Mask"
|
|
default 0xffffff00
|
|
depends on EXAMPLES_XMLRPC && !NSH_NETINIT
|