Own DEFLATE decoder replaces zlib dependency
Zephyr bundles no zlib — the CONFIG_ZLIB select was a no-op and the string path returned errors on device. src/inflate.c: minimal raw DEFLATE (RFC 1951) decompressor, no allocation; one code path for host and Zephyr. Host round-trip: 42,000 vectors through the real compiled blobs, 0 mismatches.
This commit is contained in:
parent
404cd2a334
commit
65fde6d298
5 changed files with 347 additions and 69 deletions
3
Kconfig
3
Kconfig
|
|
@ -34,7 +34,6 @@ endchoice
|
|||
config STENO_DICT_V4
|
||||
bool "v4 union split-section dictionary format"
|
||||
default y
|
||||
select ZLIB
|
||||
help
|
||||
Compile the dictionary into the v4 union split-section format
|
||||
(docs/FORMAT_V4.md): two half blobs, left (central) holds the
|
||||
|
|
@ -45,10 +44,8 @@ config STENO_DICT_V4
|
|||
config STENO_DICT_MPHF
|
||||
bool
|
||||
default y if !STENO_DICT_V4
|
||||
select ZLIB
|
||||
help
|
||||
Legacy MPHF (minimal perfect hash) dictionary format.
|
||||
Selects ZLIB for block-compressed string table decompression.
|
||||
|
||||
config STENO_CUSTOM_KEYMAP
|
||||
bool "Custom steno keymap"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue