Skip to content
Browse files

include/: cleanup: add Kconfig for suppressing warnings

Suppress warnings from deprecated header shims. Use when you have an
application that needs to work with older versions of Zephyr where
headers were located in different directories.

The shim will go away after two releases, so make sure to adapt your
application for the new locations.

Signed-off-by: Anas Nashif <>
  • Loading branch information...
nashif committed Jun 26, 2019
1 parent bceca79 commit cdfddecb35e09a20007b30042b00551964e3162f
Showing with 12 additions and 0 deletions.
  1. +12 −0 Kconfig.zephyr
@@ -427,3 +427,15 @@ config MISRA_SANE
arrays are not permitted (and gcc will enforce this).


menu "Compatibility"

bool "Suppress warnings when using header shims"
default y
Suppress any warnings from the pre-processor when including
deprecated header files.


0 comments on commit cdfddec

Please sign in to comment.
You can’t perform that action at this time.