Skip to content
Commit 8e5a95e4 authored by Danny Oerndrup's avatar Danny Oerndrup Committed by Alberto Escolar
Browse files

cmake: Toolchain abstraction: Introduce macros for MISRA SANE flags



The macros are named toolchain_cc_warning_error_misra_sane and
toolchain_cc_cpp_warning_error_misra_sane

These macros provide toolchain specific flag(s) relating to the MISRA
SANE configuration option.
The macros will place the flag(s) in a variable provided by caller,
which can then add to zephyr compile options.

The intent here is to abstract Zephyr's dependence on toolchains,
thus allowing for easier porting to other, perhaps commercial,
toolchains and/or usecases.

No functional change expected.

Signed-off-by: default avatarDanny Oerndrup <daor@demant.com>
parent 8eaa9068
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment