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 <david.corbeil@dynon.com>
This commit is contained in:
David Corbeil 2025-03-31 12:38:05 -04:00 committed by Benjamin Cabé
parent 2d4e05afc2
commit 068d7ec156

View File

@ -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)