5e1ba408b4
This commit adds support to access an IPv4 Configuration file similar to the Linux dhpc.client ipfcg file. This version, tailored for deeply embedded systems supports several options to tailor the file and file access to different environments. It supports: - Writable as well as read-only configuration files. - ASCII human readable files as well as smaller binary files. - It supports using character driver access to constrained media (such as EEPROM). - Add examples/ipcfg to exercise IPv4 Configuration File support
31 lines
655 B
Plaintext
31 lines
655 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config EXAMPLES_IPCFG
|
|
tristate "IPv4 Configuration file example"
|
|
default n
|
|
select FS_TMPFS
|
|
---help---
|
|
Enable the IPv4 Configuration file example
|
|
|
|
if EXAMPLES_IPCFG
|
|
|
|
config EXAMPLES_IPCFG_PROGNAME
|
|
string "IPCFG Program name"
|
|
default "ipcfg"
|
|
---help---
|
|
This is the name of the program that will be used when the NSH ELF
|
|
program is installed.
|
|
|
|
config EXAMPLES_IPCFG_PRIORITY
|
|
int "IPCFG task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_IPCFG_STACKSIZE
|
|
int "IPCFG stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif
|