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:
parent
095c9a3e92
commit
e5cc8540e4
1 changed files with 8 additions and 8 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue