zephyr/cmake/toolchain
Lars-Ove Karlsson 8d3dcd79f4 logging: Added config to disable vla in statements
The config LOG_USE_VLA depends on that MISRA_SANE is not set.
Unfortunately the IAR toolchain can't handle vla:s inside a
statement, which the LOG_USE_VLA macro does.

I've added a new, hidden config to check if vla is ok inside
statements, SUPPORT_VLA_IN_STATEMENTS. Default is always y, but
a toolchain can override it so that VLA is not used by
Z_LOG_MSG_ON_STACK_ALLOC.

Signed-off-by: Lars-Ove Karlsson <lars-ove.karlsson@iar.com>
2025-03-11 18:55:08 +01:00
..
arcmwdt
armclang
cross-compile
espressif
gnuarmemb
host
iar logging: Added config to disable vla in statements 2025-03-11 18:55:08 +01:00
llvm cmake: detect LLVM picolibc and newlib support 2024-10-04 16:34:35 +01:00
oneApi
xcc cmake: toolchain/xcc,xt-clang: env vars for multiple cores 2024-10-31 09:26:00 -05:00
xt-clang cmake: toolchain/xt-clang: force assembler ID to GNU 2024-10-31 09:26:00 -05:00
zephyr