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 samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
ams_iAQcore samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
apds9960 samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
bme280 samples: bme280: enable the appropriate bus by default 2020-04-14 10:38:10 -05:00
bme680 samples: sensor: bme680: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
bmg160 timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
bmm150 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
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 samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
fxas21002 samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
fxos8700 samples: sensor: Add lpcxpresso55s69 to fxos8700 accel-only test 2020-04-09 08:52:13 -05:00
fxos8700-hid samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
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 samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
hts221 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
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 samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
lps22hh boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
lsm6dsl samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
lsm303dlhc samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
magn_polling cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
max30101 samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
max44009 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
mcp9808 samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
mpu6050 boards: nrf52_pca10040: Rename to nrf52dk_nrf52832 2020-04-06 13:09:07 +02:00
ms5837 samples: sensor: ms5837: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
sensor_shell samples/sensor/sensor_shell: removed deprecated set_conf_file 2020-04-09 07:54:21 -05:00
sht3xd samples: sensor: sht3xd: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
sx9500 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
th02 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
thermometer cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
ti_hdc samples: sensor: ti_hdc: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
tmp112 cmake: use find_package to locate Zephyr 2020-03-27 16:23:46 +01:00
tmp116 samples: sensor: tmp116: Move dts overlays under boards 2020-04-01 10:44:31 -04:00
vl53l0x samples: sensor: Convert to new DT_INST macros 2020-03-31 07:09:33 -05:00
sensor.rst