Browse Source

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>
pull/90959/head
David Corbeil 3 months ago committed by Benjamin Cabé
parent
commit
068d7ec156
  1. 1
      modules/zcbor/CMakeLists.txt

1
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_common.c
${ZEPHYR_ZCBOR_MODULE_DIR}/src/zcbor_decode.c ${ZEPHYR_ZCBOR_MODULE_DIR}/src/zcbor_decode.c
${ZEPHYR_ZCBOR_MODULE_DIR}/src/zcbor_encode.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) zephyr_library_compile_definitions(_POSIX_C_SOURCE=200809L)

Loading…
Cancel
Save