Skip to content

Commit 651db03

Browse files
kartbenfabiobaltieri
authored andcommitted
samples: sensor: accel_trig: add arduino_gpio req + platform_allow entry
sample.sensor.accel_trig.shield-tap has a DT overlay that expects the presence of an arduino_header, so add the appropriate dependency to only build the sample against supported boards. As per samples guidelines, use platform_allow to limit CI to run only on a configuration that's actually been tested (and is documented in the README) Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 746ea32 commit 651db03

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/sensor/accel_trig/sample.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ tests:
4949
- CONFIG_SAMPLE_TAP_DETECTION=y
5050
depends_on:
5151
- arduino_i2c
52+
- arduino_gpio
53+
platform_allow:
54+
- nrf52dk/nrf52832
5255
integration_platforms:
5356
- nrf52dk/nrf52832
5457
sample.sensor.accel_trig.generic-tap:

0 commit comments

Comments
 (0)