diff --git a/Kconfig.zephyr b/Kconfig.zephyr index a3e2e93df0c..42d2d163cfb 100644 --- a/Kconfig.zephyr +++ b/Kconfig.zephyr @@ -273,6 +273,14 @@ config COMPILER_OPT and can be used to change compiler optimization, warning and error messages, and so on. +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). + endmenu choice @@ -599,14 +607,6 @@ config BOOTLOADER_BOSSA_ADAFRUIT_UF2 endchoice -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). - endmenu menu "Compatibility"