47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
|
#
|
||
|
# For a description of the syntax of this configuration file,
|
||
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
||
|
#
|
||
|
|
||
|
comment "embedlog example needs SYSTEM_EMBEDLOG"
|
||
|
depends on !SYSTEM_EMBEDLOG
|
||
|
|
||
|
if SYSTEM_EMBEDLOG
|
||
|
|
||
|
config EXAMPLES_EMBEDLOG
|
||
|
bool "embedlog example"
|
||
|
default n
|
||
|
select EMBEDLOG_ENABLE_OUT_FILE
|
||
|
select EMBEDLOG_ENABLE_OUT_STDERR
|
||
|
select EMBEDLOG_ENABLE_OUT_TTY
|
||
|
select EMBEDLOG_ENABLE_OUT_CUSTOM
|
||
|
select EMBEDLOG_ENABLE_BINARY_LOGS
|
||
|
select EMBEDLOG_ENABLE_TIMESTAMP
|
||
|
select EMBEDLOG_ENABLE_FRACTIONS
|
||
|
select EMBEDLOG_ENABLE_PREFIX
|
||
|
select EMBEDLOG_ENABLE_FINFO
|
||
|
select EMBEDLOG_ENABLE_COLORS
|
||
|
---help---
|
||
|
Enable the "embedlog" example.
|
||
|
|
||
|
if EXAMPLES_EMBEDLOG
|
||
|
|
||
|
config EXAMPLES_EMBEDLOG_PROGNAME
|
||
|
string "Program name"
|
||
|
default "embedlog"
|
||
|
depends on BUILD_KERNEL
|
||
|
---help---
|
||
|
This is the name of the program that will be use when the NSH ELF
|
||
|
program is installed.
|
||
|
|
||
|
config EXAMPLES_EMBEDLOG_PRIORITY
|
||
|
int "embedlog example task priority"
|
||
|
default 100
|
||
|
|
||
|
config EXAMPLES_EMBEDLOG_STACKSIZE
|
||
|
int "embedlog example stack size"
|
||
|
default 2048
|
||
|
|
||
|
endif #EXAMPLES_EMBEDLOG
|
||
|
endif #SYSTEM_EMBEDLOG
|