From 068d7ec1567f82770ea4e2b10ac82e3f56ed9e1a Mon Sep 17 00:00:00 2001 From: David Corbeil Date: Mon, 31 Mar 2025 12:38:05 -0400 Subject: [PATCH] modules/zcbor: Added building of zcbor_print.c to zcbor module Some utilities function implementations were moved to their own implementation file in zcbor 0.9.0. This commit is simply to compile those functions so that users can still have access to them without using the --output-cmake functionality provided by the zcbor python script Signed-off-by: David Corbeil --- modules/zcbor/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/zcbor/CMakeLists.txt b/modules/zcbor/CMakeLists.txt index 45535fc8594..1c87ff2cf32 100644 --- a/modules/zcbor/CMakeLists.txt +++ b/modules/zcbor/CMakeLists.txt @@ -8,6 +8,7 @@ if(CONFIG_ZCBOR) ${ZEPHYR_ZCBOR_MODULE_DIR}/src/zcbor_common.c ${ZEPHYR_ZCBOR_MODULE_DIR}/src/zcbor_decode.c ${ZEPHYR_ZCBOR_MODULE_DIR}/src/zcbor_encode.c + ${ZEPHYR_ZCBOR_MODULE_DIR}/src/zcbor_print.c ) zephyr_library_compile_definitions(_POSIX_C_SOURCE=200809L)