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:
afiqzudinhadi 2026-07-03 11:37:19 +08:00
parent 404cd2a334
commit 65fde6d298
5 changed files with 347 additions and 69 deletions

View file

@ -72,6 +72,7 @@ if(CONFIG_STENO_DICT_V4)
src/formatter.c
src/undo.c
src/dict_v4.c
src/inflate.c
src/split_dict.c
src/split_cache.c
src/dict_embed.S
@ -81,6 +82,7 @@ if(CONFIG_STENO_DICT_V4)
# Peripheral: right half blob + GATT server
target_sources(app PRIVATE
src/dict_v4.c
src/inflate.c
src/split_dict.c
src/split_cache.c
src/dict_embed.S