mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
46 lines
992 B
Text
46 lines
992 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config EXAMPLES_IPFORWARD
|
|
bool "IP forwarding example"
|
|
default n
|
|
depends on NET_TUN && (NET_TCP || NET_ICMPv6)
|
|
---help---
|
|
Enable the IP forwarding example
|
|
|
|
if EXAMPLES_IPFORWARD
|
|
|
|
choice
|
|
prompt "L3 protocol"
|
|
default EXAMPLES_IPFORWARD_TCP if NET_TCP
|
|
default EXAMPLES_IPFORWARD_ICMPv6 if !NET_TCP
|
|
|
|
config EXAMPLES_IPFORWARD_TCP
|
|
bool "TCP"
|
|
depends on NET_TCP
|
|
|
|
config EXAMPLES_IPFORWARD_ICMPv6
|
|
bool "ICMPv6"
|
|
depends on NET_ICMPv6
|
|
|
|
endchoice # L3 Protocol
|
|
|
|
config EXAMPLES_IPFORWARD_PROGNAME
|
|
string "IP forwarding rogram name"
|
|
default "ipfwd"
|
|
depends on BUILD_LOADABLE
|
|
---help---
|
|
This is the name of the program that will be use when the NSH ELF
|
|
program is installed.
|
|
|
|
config EXAMPLES_IPFORWARD_PRIORITY
|
|
int "IP forwarding task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_IPFORWARD_STACKSIZE
|
|
int "IP forwarding stack size"
|
|
default 2048
|
|
|
|
endif
|