Commit a7970062 authored by Johann Fischer's avatar Johann Fischer Committed by Anas Nashif
Browse files

tests: drivers: udc: add build_only test case

nRF54H20 USB device controller cannot be enabled without VBUS, but the
device should not be connected to the host during testing. Add it to
build_only section.

Signed-off-by: default avatarJohann Fischer <johann.fischer@nordicsemi.no>
parent ef512305
Loading
Loading
Loading
Loading
+9 −0
Changes for tests/drivers/udc/testcase.yaml: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -7,6 +7,15 @@ tests:
    depends_on: usbd
    integration_platforms:
      - nrf52840dk/nrf52840
    platform_exclude:
      - nrf54h20dk/nrf54h20/cpuapp
  drivers.usb.udc.build_only:
    build_only: true
    # Platform excluded above, only to build, with justification.
    platform_allow:
      # The controller cannot be enabled without VBUS, but the device should
      # not be connected to the host during testing.
      - nrf54h20dk/nrf54h20/cpuapp
  drivers.usb.udc.skeleton:
    extra_args:
      - EXTRA_DTC_OVERLAY_FILE="udc_skeleton.overlay"