zephyr/samples/sensor
Martí Bolívar 24260e6c3a samples: bme280: enable the appropriate bus by default
I personally don't find it very useful to have to maintain prj.conf
and prj_spi.conf for this sample. The information we need to make
this application "just work" with regards to the bus is available in
the devicetree, and Kconfig can now access it using
dt_compat_on_bus().

Do so, enabling I2C and SPI appropriately when a sensor of the right
type is on either of those buses.

If no sensors are enabled, the user gets the build-time error message
in main.c about no devices being found.

This approach is prone to the "stuck symbol" Kconfig problem covered
in our documentation, so a pristine build is necessary to change the
default settings from a previous build.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-04-14 10:38:10 -05:00
..
adt7420 boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
adxl362 boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
adxl372 boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
amg88xx
ams_iAQcore
apds9960
bme280 samples: bme280: enable the appropriate bus by default 2020-04-14 10:38:10 -05:00
bme680
bmg160
bmm150
bq274xx samples: sensor: bq274xx: Add BQ27421 sample application 2020-04-13 11:50:41 -05:00
ccs811 boards: nrf52_pca20020: Rename to thingy52_nrf52832 2020-04-06 13:09:07 +02:00
dht boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
ens210
fxas21002
fxos8700 samples: sensor: Add lpcxpresso55s69 to fxos8700 accel-only test 2020-04-09 08:52:13 -05:00
fxos8700-hid
grove_light boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
grove_temperature boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
hmc5883l
hts221
isl29035 boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
lis2dh boards: nrf52_pca20020: Rename to thingy52_nrf52832 2020-04-06 13:09:07 +02:00
lps22hb
lps22hh boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
lsm6dsl
lsm303dlhc
magn_polling
max30101
max44009
mcp9808
mpu6050 boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
ms5837
sensor_shell samples/sensor/sensor_shell: removed deprecated set_conf_file 2020-04-09 07:54:21 -05:00
sht3xd
sx9500
th02
thermometer
ti_hdc
tmp112
tmp116
vl53l0x
sensor.rst