samples: shields: x_nucleo_iks01a2: Depend on arduino_gpio

There are build issues with this sample now that it requires that the
board dts have an arduino_header node.  Add depends_on: arduino_gpio
to sample.yaml so we only build this if the board has that header.

Also remove a duplicate line for excluding the disco_l475_iot1 platform.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-09-11 05:36:47 -05:00 committed by Kumar Gala
commit 2ef86c9e00

View file

@ -2,8 +2,7 @@ sample:
name: X-NUCLEO-IKS01A2 sensor shield
tests:
sample.shields.x_nucleo_iks01a2:
platform_exclude: disco_l475_iot1
harness: shield
tags: shield
depends_on: arduino_i2c
depends_on: arduino_i2c arduino_gpio
platform_exclude: disco_l475_iot1