From 6c9437cdb330a39f9a653da8bdd0a0eae7cb871e Mon Sep 17 00:00:00 2001 From: Douglas Reis Date: Wed, 27 Nov 2024 17:15:25 +0000 Subject: [PATCH] [SiVal, usbdev] Add fpga sival exec_env to aon_wake_diesconnect_test Signed-off-by: Douglas Reis --- sw/device/tests/BUILD | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sw/device/tests/BUILD b/sw/device/tests/BUILD index 5845cf447d7a9b..27bbb0d8589be9 100644 --- a/sw/device/tests/BUILD +++ b/sw/device/tests/BUILD @@ -1,6 +1,4 @@ # Copyright lowRISC contributors (OpenTitan project). -# Licensed under the Apache License, Version 2.0, see LICENSE for details. -# SPDX-License-Identifier: Apache-2.0 load("@bazel_skylib//lib:dicts.bzl", "dicts") load( @@ -4194,8 +4192,18 @@ opentitan_test( name = "usbdev_aon_wake_disconnect_test", srcs = ["usbdev_aon_wake_disconnect_test.c"], exec_env = dicts.add( + EARLGREY_TEST_ENVS, EARLGREY_SILICON_OWNER_ROM_EXT_ENVS, ), + fpga = fpga_params( + test_cmd = """ + --bootstrap="{firmware}" + --vbus-sense-en=VBUS_SENSE_EN + --vbus-sense=VBUS_SENSE + --wake=disconnect + """, + test_harness = "//sw/host/tests/chip/usb:usbdev_aon_wake", + ), silicon = silicon_params( test_cmd = """ --bootstrap="{firmware}"