Skip to content
Permalink
Browse files

samples: usb: Add depends_on gpio

Add gpio dependence, fixing build for native_posix.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
  • Loading branch information...
finikorg authored and nashif committed Mar 25, 2019
1 parent 69726bb commit 4f2674f16437477894b40609ca03ef2fde8c717c
Showing with 2 additions and 1 deletion.
  1. +1 −1 samples/subsys/usb/hid-mouse/sample.yaml
  2. +1 −0 samples/subsys/usb/mass/sample.yaml
@@ -2,7 +2,7 @@ sample:
name: USB HID mouse sample
tests:
sample.usb.hid-mouse:
depends_on: usb_device
depends_on: usb_device gpio
platform_exclude: arduino_101 96b_carbon tinytile
harness: button
tags: usb
@@ -13,6 +13,7 @@ tests:
regex:
- "The device is put in USB mass storage mode."
sample.usb.mass_ram:
depends_on: usb_device gpio
extra_args: OVERLAY_CONFIG="overlay-ram-disk.conf"
extra_configs:
- CONFIG_LOG_DEFAULT_LEVEL=3

0 comments on commit 4f2674f

Please sign in to comment.
You can’t perform that action at this time.