samples: sensor: Add adxl345 streaming and trigger configurations
Adds adxl345 streaming and trigger configurations to accelerometer samples for profiling the performance impact of adding rtio support to max32 spi and adxl345 accelerometer drivers. Signed-off-by: Maureen Helm <maureen.helm@analog.com>
This commit is contained in:
parent
7837c0b65b
commit
b9d6f53b71
6
samples/sensor/accel_polling/adxl345-stream.conf
Normal file
6
samples/sensor/accel_polling/adxl345-stream.conf
Normal file
@ -0,0 +1,6 @@
|
||||
# Copyright (c) 2024 Analog Devices, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_SPI_RTIO=y
|
||||
CONFIG_SENSOR_ASYNC_API=y
|
||||
CONFIG_ADXL345_STREAM=y
|
||||
@ -27,6 +27,13 @@ tests:
|
||||
- b_l4s5i_iot01a # lsm6dsl
|
||||
- sensortile_box # lis2dw12, lsm6dso, iisdhhc
|
||||
- thingy53/nrf5340/cpuapp # adxl362, bmi270
|
||||
sample.sensor.accel_polling.adxl345-stream:
|
||||
extra_args:
|
||||
- SHIELD=pmod_acl
|
||||
- EXTRA_CONF_FILE=adxl345-stream.conf
|
||||
- SNIPPET=rtt-tracing;rtt-console
|
||||
platform_allow:
|
||||
- apard32690/max32690/m4
|
||||
sample.sensor.accel_polling.adxl362-stream:
|
||||
extra_args:
|
||||
- SHIELD=eval_adxl362_ardz
|
||||
|
||||
4
samples/sensor/accel_trig/adxl345-trigger.conf
Normal file
4
samples/sensor/accel_trig/adxl345-trigger.conf
Normal file
@ -0,0 +1,4 @@
|
||||
# Copyright (c) 2024 Analog Devices, Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
CONFIG_ADXL345_TRIGGER_OWN_THREAD=y
|
||||
@ -23,6 +23,13 @@ tests:
|
||||
- disco_l475_iot1
|
||||
- stm32l562e_dk
|
||||
- stm32wb5mm_dk
|
||||
sample.sensor.accel_trig.adxl345-trigger:
|
||||
extra_args:
|
||||
- SHIELD=pmod_acl
|
||||
- EXTRA_CONF_FILE=adxl345-trigger.conf
|
||||
- SNIPPET=rtt-tracing;rtt-console
|
||||
platform_allow:
|
||||
- apard32690/max32690/m4
|
||||
sample.sensor.accel_trig.adxl362-trigger:
|
||||
extra_args:
|
||||
- SHIELD=eval_adxl362_ardz
|
||||
|
||||
Loading…
Reference in New Issue
Block a user