mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(usb/host): Enable USB Host tests on P4
This commit is contained in:
@@ -181,7 +181,7 @@ static void test_async_client_cb(const usb_host_client_event_msg_t *event_msg, v
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("Test USB Host async API", "[usb_host][full_speed][low_speed]")
|
||||
TEST_CASE("Test USB Host async API", "[usb_host][low_speed][full_speed][high_speed]")
|
||||
{
|
||||
// Register two clients
|
||||
client_test_stage_t client0_stage = CLIENT_TEST_STAGE_NONE;
|
||||
|
||||
@@ -33,7 +33,7 @@ Procedure:
|
||||
|
||||
#define TEST_DCONN_NO_CLIENT_ITERATIONS 3
|
||||
|
||||
TEST_CASE("Test USB Host sudden disconnection (no client)", "[usb_host][full_speed][low_speed]")
|
||||
TEST_CASE("Test USB Host sudden disconnection (no client)", "[usb_host][low_speed][full_speed][high_speed]")
|
||||
{
|
||||
bool connected = false;
|
||||
int dconn_iter = 0;
|
||||
@@ -83,7 +83,7 @@ Procedure:
|
||||
#define TEST_FORCE_DCONN_NUM_TRANSFERS 3
|
||||
#define TEST_MSC_SCSI_TAG 0xDEADBEEF
|
||||
|
||||
TEST_CASE("Test USB Host sudden disconnection (single client)", "[usb_host][full_speed]")
|
||||
TEST_CASE("Test USB Host sudden disconnection (single client)", "[usb_host][full_speed][high_speed]")
|
||||
{
|
||||
// Create task to run client that communicates with MSC SCSI interface
|
||||
const dev_msc_info_t *dev_info = dev_msc_get_info();
|
||||
@@ -132,7 +132,7 @@ Procedure:
|
||||
|
||||
#define TEST_ENUM_ITERATIONS 3
|
||||
|
||||
TEST_CASE("Test USB Host enumeration", "[usb_host][full_speed]")
|
||||
TEST_CASE("Test USB Host enumeration", "[usb_host][full_speed][high_speed]")
|
||||
{
|
||||
// Create task to run client that checks the enumeration of the device
|
||||
TaskHandle_t task_hdl;
|
||||
|
||||
Reference in New Issue
Block a user