:orphan: .. title:: CONFIG_MISRA_SANE .. kconfig:: CONFIG_MISRA_SANE CONFIG_MISRA_SANE ################# *MISRA standards compliance features* Type: ``bool`` Help ==== .. code-block:: none Causes the source code to build in "MISRA" mode, which disallows some otherwise-permitted features of the C standard for safety reasons. Specifically variable length arrays are not permitted (and gcc will enforce this). Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``Kconfig.zephyr:327`` Included via ``Kconfig:8`` Menu path: (Top) → Build and Link Features → Compiler Options .. code-block:: kconfig config MISRA_SANE bool "MISRA standards compliance features" help Causes the source code to build in "MISRA" mode, which disallows some otherwise-permitted features of the C standard for safety reasons. Specifically variable length arrays are not permitted (and gcc will enforce this). *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*