Kconfig.zephyr: check priorities by default
Enable build time initialization priority check by default. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
f45e7eddaa
commit
058f256ea1
|
@ -746,6 +746,7 @@ config BUILD_OUTPUT_STRIP_PATHS
|
|||
|
||||
config CHECK_INIT_PRIORITIES
|
||||
bool "Build time initialization priorities check"
|
||||
default y
|
||||
help
|
||||
Check the build for initialization priority issues by comparing the
|
||||
initialization priority in the build with the device dependency
|
||||
|
|
|
@ -2,3 +2,4 @@ CONFIG_ZTEST=y
|
|||
CONFIG_I2C=n
|
||||
CONFIG_ZTEST_NEW_API=y
|
||||
CONFIG_DEVICE_DEPS=y
|
||||
CONFIG_CHECK_INIT_PRIORITIES=n
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
# Required to force 2 stage linking
|
||||
CONFIG_DEVICE_DEPS=y
|
||||
|
||||
CONFIG_CHECK_INIT_PRIORITIES=n
|
||||
|
|
|
@ -6,3 +6,4 @@ CONFIG_ZTEST=y
|
|||
CONFIG_ZTEST_NEW_API=y
|
||||
CONFIG_SENSOR=y
|
||||
CONFIG_BMI160_TRIGGER_NONE=y
|
||||
CONFIG_CHECK_INIT_PRIORITIES=n
|
||||
|
|
Loading…
Reference in New Issue