Replaced forever loop in assert with call to a function. In post_assert_action() function, k_panic is called. Forever loop was preventing logs to be printed and had behavior ependent on the context (low prioriy thread - system continue to ork, irq - system is blocked). Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
21 lines
341 B
CMake
21 lines
341 B
CMake
zephyr_sources_if_kconfig(base64.c)
|
|
|
|
zephyr_sources(
|
|
crc32_sw.c
|
|
crc16_sw.c
|
|
crc8_sw.c
|
|
crc7_sw.c
|
|
fdtable.c
|
|
mempool.c
|
|
rb.c
|
|
thread_entry.c
|
|
work_q.c
|
|
)
|
|
|
|
zephyr_sources_ifdef(CONFIG_JSON_LIBRARY json.c)
|
|
|
|
zephyr_sources_if_kconfig(printk.c)
|
|
|
|
zephyr_sources_if_kconfig(ring_buffer.c)
|
|
|
|
zephyr_sources_ifdef(CONFIG_ASSERT assert.c)
|