zephyr/drivers/sensor/lsm6dsl
Ulf Magnusson 10d54e2b22 boards: arm: argonkey: Properly set choice default
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>
2018-05-29 16:19:51 -04:00
..
CMakeLists.txt drivers: Cmake: Add __ZEPHYR_SUPERVISOR__ macro for driver files. 2018-05-15 17:48:18 +03:00
Kconfig boards: arm: argonkey: Properly set choice default 2018-05-29 16:19:51 -04:00
lsm6dsl_i2c.c
lsm6dsl_shub.c drivers: sensor: lsm6dsl: add .attr_set callback 2018-04-30 16:16:08 -05:00
lsm6dsl_spi.c sensors/lsm5dsl: Fix SPI API usage 2018-04-21 05:42:59 -07:00
lsm6dsl_trigger.c drivers: sensor: lsm6dsl: add trigger support 2018-04-10 22:12:14 +02:00
lsm6dsl.c drivers: sensors: lsm6dsl: Fix array overrun 2018-05-11 19:04:06 -04:00
lsm6dsl.h drivers: sensor: lsm6dsl: add .attr_set callback 2018-04-30 16:16:08 -05:00