zephyr/samples
Miguel Gazquez f6f03867d8 samples: accel_polling: set sampling frequency when necessary
The accel_polling sample uses various sensor, but doesn't set a sampling
rate. But some sensors (like st,lsm6dso) have a default sampling
frequency of 0. So, depending on the sensor, the sample may not always
work.

There are two ways to fix this: either all drivers must set a valid
sampling rate, or the sample shall at least try to set a value if there
is none.

We propose here the second approach, wich should allow the sample to
work on more sensors out of the box.

Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
2024-07-29 14:21:24 +02:00
..
application_development samples: code relocation in external memory of stm32h5 disco kit 2024-06-24 12:45:34 -04:00
arch samples: pktqueue: remove main.h 2024-05-21 20:54:13 -04:00
basic everywhere: reindent .overlay files with tabs 2024-06-26 15:59:44 +02:00
bluetooth bluetooth: avoid USB starvation in bap_broadcast_sink 2024-07-29 14:13:10 +02:00
boards samples: stm32: i2c_timing: Fix README header 2024-07-04 18:00:16 +02:00
compression
cpp
drivers samples: drivers: adc: Add beagleconnect freedom overlay 2024-07-29 14:18:39 +02:00
fuel_gauge Samples: max17048: added units to output 2024-07-10 11:36:28 +02:00
hello_world
kernel
modules doc: Revamp sensor docs 2024-07-16 16:49:24 -04:00
net samples: net: zperf: Start DHCPv4 when needed 2024-07-28 07:30:12 +03:00
philosophers doc: samples: philosophers: fix formatting and spelling 2024-05-31 03:08:52 -07:00
posix samples: env_posix: fix regex in sample test 2024-07-12 09:18:56 -04:00
sensor samples: accel_polling: set sampling frequency when necessary 2024-07-29 14:21:24 +02:00
shields samples/shields: x-nucleo-iks4a1: Add lsm6dsv16x temp display 2024-07-27 10:37:11 +03:00
subsys usb: device_next: add support for configuration string descriptor 2024-07-27 15:06:09 +03:00
synchronization
sysbuild samples: sysbuild: hello_world: Add support for nrf54l15pdk 2024-07-29 14:13:48 +02:00
tfm_integration samples: tfm_integration: tfm_ipc: update readme 2024-07-29 14:13:02 +02:00
userspace doc: samples: userspace: add cross reference to C functions 2024-06-20 14:07:32 -04:00
classic.rst
index.rst samples: move with_mcuboot sample to samples/sysbuild 2024-05-13 16:09:01 -04:00
sample_definition_and_criteria.rst