From 7a787ff142f20a7e99e3476c4071f7ed57a1f506 Mon Sep 17 00:00:00 2001 From: "Dobrowolski, PawelX" Date: Fri, 25 Aug 2023 12:57:21 +0200 Subject: [PATCH] Kconfig.zephyr: check priorities off Feature checking build time priority in zephyr is causing building failure. Untile in SOF it won't be adjust that feature should be turned off. Signed-off-by: Dobrowolski, PawelX --- zephyr/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 86c94a1de9a4..c16e065337a7 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -56,4 +56,14 @@ config ZEPHYR_DP_SCHEDULER DP modules can be located in dieffrent cores than LL pipeline modules, may have different tick (i.e. 300ms for speech reccognition, etc.) +config CHECK_INIT_PRIORITIES + bool "Build time initialization priorities check" + default n + help + Check the build for initialization priority issues by comparing the + initialization priority in the build with the device dependency + derived from the devicetree definition. + Fails the build on priority errors (dependent devices, inverted + priority), see CHECK_INIT_PRIORITIES_FAIL_ON_WARNING to fail on + warnings (dependent devices, same priority) as well. endif