2018-03-14 21:50:18 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2018-03-16 16:10:01 +01:00
|
|
|
config SYSTEM_LZF
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "LZF compression tool"
|
2018-03-14 21:50:18 +01:00
|
|
|
default n
|
2018-03-16 16:33:36 +01:00
|
|
|
depends on LIBC_LZF
|
2018-03-14 21:50:18 +01:00
|
|
|
---help---
|
2018-03-16 16:10:01 +01:00
|
|
|
Enable theLZF compression tool
|
2018-03-14 21:50:18 +01:00
|
|
|
|
2018-03-16 16:10:01 +01:00
|
|
|
if SYSTEM_LZF
|
2018-03-14 21:50:18 +01:00
|
|
|
|
2018-03-17 22:35:19 +01:00
|
|
|
config SYSTEM_LZF_BLOG
|
|
|
|
int "Log2 of block size"
|
|
|
|
default 10
|
|
|
|
range 9 12
|
|
|
|
---help---
|
|
|
|
This example uses two buffers of size a little more than
|
|
|
|
(1 << CONFIG_SYSTEM_LZF_BLOG) to compress and decompress data in
|
|
|
|
chunks. Slightly better compression should be obtainable with larger
|
|
|
|
chunks.
|
|
|
|
|
|
|
|
NOTE: This is a static memory allocation and will take add a little
|
|
|
|
more than 2 * (1 << CONFIG_SYSTEM_LZF_BLOG) bytes to the size of the
|
|
|
|
.bss section used by the program.
|
|
|
|
|
|
|
|
NOTE: This represents a maximum blocksize. The use may select a
|
|
|
|
smaller blocksize using the 'lzf -b' option.
|
|
|
|
|
2018-03-16 16:10:01 +01:00
|
|
|
config SYSTEM_LZF_PROGNAME
|
2018-03-14 21:50:18 +01:00
|
|
|
string "Program name"
|
|
|
|
default "lzf"
|
|
|
|
---help---
|
2019-08-23 19:59:28 +02:00
|
|
|
This is the name of the program that will be used when the NSH ELF
|
2018-03-14 21:50:18 +01:00
|
|
|
program is installed.
|
|
|
|
|
2018-03-16 16:10:01 +01:00
|
|
|
config SYSTEM_LZF_PRIORITY
|
|
|
|
int "LZF tool task priority"
|
2018-03-14 21:50:18 +01:00
|
|
|
default 100
|
|
|
|
|
2018-03-16 16:10:01 +01:00
|
|
|
config SYSTEM_LZF_STACKSIZE
|
|
|
|
int "LZF tool stack size"
|
2020-03-27 06:10:33 +01:00
|
|
|
default DEFAULT_TASK_STACKSIZE
|
2018-03-14 21:50:18 +01:00
|
|
|
|
|
|
|
endif
|