File tree 3 files changed +31
-17
lines changed
drivers/sensor/adi/adxl367
samples/sensor/accel_polling
3 files changed +31
-17
lines changed Original file line number Diff line number Diff line change @@ -127,23 +127,23 @@ config ADXL367_STREAM
127
127
Use this configuration option to enable streaming sensor data via RTIO.
128
128
129
129
choice
130
- prompt "Accelerometer FIFO mode."
131
- default ADXL367_FIFO_STREAM_MODE if ADXL367_STREAM
132
- default ADXL367_FIFO_DISABLED if !ADXL367_STREAM
133
-
134
- config ADXL367_FIFO_DISABLED
135
- bool "FIFO disabled"
136
-
137
- config ADXL367_FIFO_OLDEST_SAVED
138
- bool "FIFO Oldest saved mode"
139
-
140
- config ADXL367_FIFO_STREAM_MODE
141
- bool "FIFO Stream mode"
142
-
143
- config ADXL367_FIFO_TRIGGERED_MODE
144
- bool "FIFO Triggered mode"
145
-
146
- endchoice
130
+ prompt "Accelerometer FIFO mode."
131
+ default ADXL367_FIFO_STREAM_MODE if ADXL367_STREAM
132
+ default ADXL367_FIFO_DISABLED if !ADXL367_STREAM
133
+
134
+ config ADXL367_FIFO_DISABLED
135
+ bool "FIFO disabled"
136
+
137
+ config ADXL367_FIFO_OLDEST_SAVED
138
+ bool "FIFO Oldest saved mode"
139
+
140
+ config ADXL367_FIFO_STREAM_MODE
141
+ bool "FIFO Stream mode"
142
+
143
+ config ADXL367_FIFO_TRIGGERED_MODE
144
+ bool "FIFO Triggered mode"
145
+
146
+ endchoice
147
147
148
148
config ADXL367_TRIGGER
149
149
bool
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Analog Devices, Inc.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ CONFIG_SPI_RTIO=y
5
+ CONFIG_SENSOR_ASYNC_API=y
6
+ CONFIG_ADXL367_STREAM=y
7
+ CONFIG_ADXL367_FIFO_STREAM_MODE=y
Original file line number Diff line number Diff line change @@ -34,3 +34,10 @@ tests:
34
34
- SNIPPET=rtt-tracing;rtt-console
35
35
platform_allow :
36
36
- apard32690/max32690/m4
37
+ sample.sensor.accel_polling.adxl367-stream :
38
+ extra_args :
39
+ - SHIELD=eval_adxl367_ardz
40
+ - EXTRA_CONF_FILE=adxl367-stream.conf
41
+ - SNIPPET=rtt-tracing;rtt-console
42
+ platform_allow :
43
+ - apard32690/max32690/m4
You can’t perform that action at this time.
0 commit comments