How to generate lzma compression package?

I tested it on the lzma example (ncs\v2.8.0\nrf\tests\subsys\nrf_compress\decompression\lzma),on the Cmakelist.txt code

generate_inc_file_for_target(
  app
  ${ZEPHYR_NRFXLIB_MODULE_DIR}/tests/subsys/nrf_compress/decompression/dummy_data_input.txt.lzma
  ${ZEPHYR_BINARY_DIR}/include/generated/dummy_data_input.inc
  )

I found the dummy_data_input.txt.lzma in "ncs\v2.8.0\nrfxlib\tests\subsys\nrf_compress\decompression" path.I tried to use 7z.exe to generate lzma compressed package to replace, and in the NRF5340DK development board to do decompression, found that failed.Later, I compared their bin files and found that the compressed package of the routine was not generated by the common compression method




How is the compressed package of LZMA routine generated?
Parents Reply Children
No Data
Related