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"
|
2018-08-23 19:06:15 +02:00
|
|
|
depends on BUILD_LOADABLE
|
2018-03-14 21:50:18 +01:00
|
|
|
---help---
|
|
|
|
This is the name of the program that will be use when the NSH ELF
|
|
|
|
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"
|
2018-03-15 17:47:51 +01:00
|
|
|
default 2048
|
2018-03-14 21:50:18 +01:00
|
|
|
|
|
|
|
endif
|