mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-12 23:31:56 +00:00
The choice symbol LSM6DSL_EXT0_LIS2MDL was given a 'default' in Kboards/arm/96b_argonkey/Kconfig.defconfig, but 'default' has no effect on choice symbols, triggering a warning from Kconfiglib. Instead of adding a default to the choice symbol, change the default of the 'choice' itself by giving it name and adding the default in Kconfig.defconfig. This requires that we remove the default on the "base" definition of the 'choice', due to some messiness related to the Zephyr-specific prefer-later-defaults behavior (see the 'Zephyr-specific Kconfig behavior for defaults' section in the Board Porting Guide). Choices were overlooked when that patch was added to the C tools, meaning choices still prefer earlier defaults. The crux is that Kconfig.defconfig files are included last. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
lsm6dsl_i2c.c | ||
lsm6dsl_shub.c | ||
lsm6dsl_spi.c | ||
lsm6dsl_trigger.c | ||
lsm6dsl.c | ||
lsm6dsl.h |