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> |
||
|---|---|---|
| .. | ||
| backends | ||
| frontends | ||
| mipi_syst | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.filtering | ||
| Kconfig.formatting | ||
| Kconfig.links | ||
| Kconfig.misc | ||
| Kconfig.mode | ||
| Kconfig.processing | ||
| Kconfig.template.log_config | ||
| Kconfig.template.log_config_inherit | ||
| Kconfig.template.log_format_config | ||
| log_cache.c | ||
| log_cache.h | ||
| log_cmds.c | ||
| log_core.c | ||
| log_link_ipc_service.c | ||
| log_mgmt.c | ||
| log_minimal.c | ||
| log_msg.c | ||
| log_multidomain_link.c | ||
| log_output_custom.c | ||
| log_output_dict.c | ||
| log_output_syst.c | ||
| log_output.c | ||