Open bubilili opened 3 months ago
Hi @bubilili! We appreciate you submitting your first issue for our open-source project. 🌟
Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
@bubilili not sure if you are still looking to work with lz4 for the mentioned usecase. If so, I have tried adding the needed files and compiled the lz4 frametest sample in zephyr.
I can add the support officially into zephyr samples once https://github.com/zephyrproject-rtos/zephyr/pull/76184 is merged.
changes are here: https://github.com/zephyrproject-rtos/zephyr/compare/main...linumiz:zephyr:fix/zephyr/73262
Describe the bug
I am developing a Zephyr project for an STM32 H747BIT6. I'm trying to use LZ4 frame for message compression. So I added
#include "lz4frame.h"
to a source cpp file and then tried to use 'LZ4F_compressFrameBound(input_size, NULL)'. As in the code snippet below..`std::vector LZ4MessageCompression::compress_frame(const std::string &input)
{
LOG_INF("compress input: %s", input.c_str());
}
When I compiled the project I got this error
undefined reference toLZ4F_compressFrameBound'
The prj.conf contains
CONFIG_LZ4=y
I was able to useLZ4_compressBound
withlz4.h
included.Environment