Files
meshcore-tth/src/helpers/fwpatch/detools

Vendored: detools 0.53.0 (C apply side) + heatshrink decoder

Source: https://github.com/eerimoq/detools, commit 53d1f47 (2025-12-17), files c/detools.{c,h} and c/heatshrink/*, copied unmodified. Licences: detools BSD-2-Clause (LICENSE, includes bsdiff/sais notices), heatshrink ISC (heatshrink/README.rst).

Used only by src/helpers/FwPatch.c, which #includes both .c files and configures them there (heatshrink 11/10 static, heatshrink-only detools, no file I/O) -- so nothing in this directory needs editing. Nothing here is in any build_src_filter on its own.

Updating: copy the same files from a new tag, then pio test -e native -f test_fwpatch and -e native_asan, and tools/ota_check_ramfunc.sh on a device build (the real run executes this code from RAM).