2019-02-15 14:24:29 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
if SYSTEM_EMBEDLOG
|
|
|
|
|
|
|
|
config EXAMPLES_EMBEDLOG
|
2019-10-06 14:14:39 +02:00
|
|
|
tristate "embedlog example"
|
2019-02-15 14:24:29 +01:00
|
|
|
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"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2019-02-15 14:24:29 +01:00
|
|
|
program is installed.
|
|
|
|
|
|
|
|
config EXAMPLES_EMBEDLOG_PRIORITY
|
|
|
|
int "embedlog example task priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
config EXAMPLES_EMBEDLOG_STACKSIZE
|
|
|
|
int "embedlog example stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2019-02-15 14:24:29 +01:00
|
|
|
|
|
|
|
endif #EXAMPLES_EMBEDLOG
|
|
|
|
endif #SYSTEM_EMBEDLOG
|