Kconfig.zephyr: fix MISRA_SANE location

This belongs under "Compiler Options", not "Boot Options" where it
currently is.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2021-05-21 10:56:23 -07:00 committed by Anas Nashif
commit e5cc8540e4

View file

@ -273,6 +273,14 @@ config COMPILER_OPT
and can be used to change compiler optimization, warning and error and can be used to change compiler optimization, warning and error
messages, and so on. 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 endmenu
choice choice
@ -599,14 +607,6 @@ config BOOTLOADER_BOSSA_ADAFRUIT_UF2
endchoice 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 endmenu
menu "Compatibility" menu "Compatibility"