From 5e271077bf06d86a55a6e81e5e56e48d1a2767f4 Mon Sep 17 00:00:00 2001 From: Mohamed AYED <81168645+ayedm1@users.noreply.github.com> Date: Thu, 30 Jan 2025 10:59:44 +0100 Subject: [PATCH 1/6] add user api for _ux_device_stack_microsoft_extension_register --- common/core/inc/ux_api.h | 9 ++-- ...evice_stack_microsoft_extension_register.c | 42 +++++++++---------- test/regression/usbx_msrc_66679_test.c | 2 +- .../usbx_msrc_72227_host_pima_read_test.c | 2 +- ...src_72525_host_pima_obj_handles_get_test.c | 2 +- ...x_msrc_72619_host_pima_stor_ids_get_test.c | 2 +- ...1292_host_pima_deactivate_semaphore_test.c | 2 +- ...1323_host_pima_deactivate_no_int_ep_test.c | 2 +- ...rc_84686_host_pima_storage_info_get_test.c | 2 +- test/regression/usbx_pima_basic_test.c | 2 +- 10 files changed, 35 insertions(+), 32 deletions(-) diff --git a/common/core/inc/ux_api.h b/common/core/inc/ux_api.h index 6689eb02..1c95a0de 100644 --- a/common/core/inc/ux_api.h +++ b/common/core/inc/ux_api.h @@ -1,10 +1,10 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ @@ -2838,6 +2838,7 @@ typedef struct UX_HOST_CLASS_DPUMP_STRUCT #define ux_device_stack_interface_start _ux_device_stack_interface_start #define ux_device_stack_transfer_request _ux_device_stack_transfer_request #define ux_device_stack_transfer_abort _ux_device_stack_transfer_abort +#define ux_device_stack_microsoft_extension_register _ux_device_stack_microsoft_extension_register #define ux_device_stack_tasks_run _ux_device_stack_tasks_run #define ux_device_stack_transfer_run _ux_device_stack_transfer_run @@ -2938,6 +2939,8 @@ UINT ux_device_stack_interface_set(UCHAR * device_framework, ULONG device_fra UINT ux_device_stack_interface_start(UX_SLAVE_INTERFACE *ux_interface); UINT ux_device_stack_transfer_request(UX_SLAVE_TRANSFER *transfer_request, ULONG slave_length, ULONG host_length); UINT ux_device_stack_transfer_request_abort(UX_SLAVE_TRANSFER *transfer_request, ULONG completion_code); +UINT ux_device_stack_microsoft_extension_register(ULONG vendor_request, + UINT (*vendor_request_function)(ULONG, ULONG, ULONG, ULONG, UCHAR *, ULONG *)); UINT ux_device_stack_tasks_run(VOID); UINT ux_device_stack_transfer_run(UX_SLAVE_TRANSFER *transfer_request, ULONG slave_length, ULONG host_length); diff --git a/common/core/src/ux_device_stack_microsoft_extension_register.c b/common/core/src/ux_device_stack_microsoft_extension_register.c index c078e199..4a3ad240 100644 --- a/common/core/src/ux_device_stack_microsoft_extension_register.c +++ b/common/core/src/ux_device_stack_microsoft_extension_register.c @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Device Stack */ /** */ @@ -45,31 +45,31 @@ /* */ /* INPUT */ /* */ -/* vendor_command Vendor Command. */ -/* application_callback Application Callback */ +/* vendor_command Vendor Command. */ +/* application_callback Application Callback */ /* */ /* OUTPUT */ /* */ -/* Completion Status */ +/* Completion Status */ +/* */ +/* CALLS */ /* */ -/* CALLS */ -/* */ /* None */ -/* */ -/* CALLED BY */ -/* */ -/* Application */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* CALLED BY */ +/* */ +/* Application */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 05-19-2020 Chaoqiong Xiao Initial Version 6.0 */ /* 09-30-2020 Chaoqiong Xiao Modified comment(s), */ /* resulting in version 6.1 */ /* */ /**************************************************************************/ -UINT _ux_device_stack_microsoft_extension_register(ULONG vendor_request, +UINT _ux_device_stack_microsoft_extension_register(ULONG vendor_request, UINT (*vendor_request_function)(ULONG, ULONG, ULONG, ULONG, UCHAR *, ULONG *)) { @@ -79,7 +79,7 @@ UINT _ux_device_stack_microsoft_extension_register(ULONG vendor_request, /* Store the vendor command. */ _ux_system_slave -> ux_system_slave_device_vendor_request = vendor_request; - _ux_system_slave -> ux_system_slave_device_vendor_request_function = vendor_request_function; + _ux_system_slave -> ux_system_slave_device_vendor_request_function = vendor_request_function; /* Return successful completion. */ return(UX_SUCCESS); diff --git a/test/regression/usbx_msrc_66679_test.c b/test/regression/usbx_msrc_66679_test.c index c31a6aa8..4664b26b 100644 --- a/test/regression/usbx_msrc_66679_test.c +++ b/test/regression/usbx_msrc_66679_test.c @@ -743,7 +743,7 @@ CHAR * memory_pointer; } /* MS extensions. */ - status = _ux_device_stack_microsoft_extension_register(UX_DEMO_VENDOR_REQUEST, test_ms_vendor_request); + status = ux_device_stack_microsoft_extension_register(UX_DEMO_VENDOR_REQUEST, test_ms_vendor_request); if(status!=UX_SUCCESS) { diff --git a/test/regression/usbx_msrc_72227_host_pima_read_test.c b/test/regression/usbx_msrc_72227_host_pima_read_test.c index e4e46161..8b783f5a 100644 --- a/test/regression/usbx_msrc_72227_host_pima_read_test.c +++ b/test/regression/usbx_msrc_72227_host_pima_read_test.c @@ -874,7 +874,7 @@ ULONG test_n; } /* MTP requires MTP extensions. */ - status = _ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); + status = ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); if (status != UX_SUCCESS) { printf("ERROR #%d\n", __LINE__); diff --git a/test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c b/test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c index 36279dd6..8625d242 100644 --- a/test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c +++ b/test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c @@ -874,7 +874,7 @@ ULONG test_n; } /* MTP requires MTP extensions. */ - status = _ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); + status = ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); if (status != UX_SUCCESS) { printf("ERROR #%d\n", __LINE__); diff --git a/test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c b/test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c index 21cb2295..0e339ce1 100644 --- a/test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c +++ b/test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c @@ -874,7 +874,7 @@ ULONG test_n; } /* MTP requires MTP extensions. */ - status = _ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); + status = ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); if (status != UX_SUCCESS) { printf("ERROR #%d\n", __LINE__); diff --git a/test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c b/test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c index cbe72426..e31607e9 100644 --- a/test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c +++ b/test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c @@ -874,7 +874,7 @@ ULONG test_n; } /* MTP requires MTP extensions. */ - status = _ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); + status = ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); if (status != UX_SUCCESS) { printf("ERROR #%d\n", __LINE__); diff --git a/test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c b/test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c index 882f9616..fbec683a 100644 --- a/test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c +++ b/test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c @@ -868,7 +868,7 @@ ULONG test_n; } /* MTP requires MTP extensions. */ - status = _ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); + status = ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); if (status != UX_SUCCESS) { printf("ERROR #%d\n", __LINE__); diff --git a/test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c b/test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c index 1a2909da..2b90a9de 100644 --- a/test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c +++ b/test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c @@ -875,7 +875,7 @@ ULONG test_n; } /* MTP requires MTP extensions. */ - status = _ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); + status = ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); if (status != UX_SUCCESS) { printf("ERROR #%d\n", __LINE__); diff --git a/test/regression/usbx_pima_basic_test.c b/test/regression/usbx_pima_basic_test.c index 8932004e..0ea99120 100644 --- a/test/regression/usbx_pima_basic_test.c +++ b/test/regression/usbx_pima_basic_test.c @@ -874,7 +874,7 @@ ULONG test_n; } /* MTP requires MTP extensions. */ - status = _ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); + status = ux_device_stack_microsoft_extension_register(UX_TEST_VENDOR_REQUEST, pima_device_vendor_request); if (status != UX_SUCCESS) { printf("ERROR #%d\n", __LINE__); From 3295563becb477b651f895f08cb11887dee9ed88 Mon Sep 17 00:00:00 2001 From: Mohamed AYED <81168645+ayedm1@users.noreply.github.com> Date: Sat, 1 Feb 2025 23:50:42 +0100 Subject: [PATCH 2/6] use UX prefix to refer to TX symbols --- common/core/inc/ux_utility.h | 16 ++--- common/core/src/ux_utility_timer_create.c | 75 ++++++++++++----------- common/core/src/ux_utility_timer_delete.c | 73 ++++++++++++---------- 3 files changed, 87 insertions(+), 77 deletions(-) diff --git a/common/core/inc/ux_utility.h b/common/core/inc/ux_utility.h index 035e066d..8a8ea986 100644 --- a/common/core/inc/ux_utility.h +++ b/common/core/inc/ux_utility.h @@ -1,10 +1,10 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ @@ -20,11 +20,11 @@ /**************************************************************************/ -/**************************************************************************/ -/* */ -/* COMPONENT DEFINITION RELEASE */ -/* */ -/* ux_utility.h PORTABLE C */ +/**************************************************************************/ +/* */ +/* COMPONENT DEFINITION RELEASE */ +/* */ +/* ux_utility.h PORTABLE C */ /* 6.3.0 */ /* AUTHOR */ /* */ diff --git a/common/core/src/ux_utility_timer_create.c b/common/core/src/ux_utility_timer_create.c index bc91c912..40bb6615 100644 --- a/common/core/src/ux_utility_timer_create.c +++ b/common/core/src/ux_utility_timer_create.c @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Utility */ /** */ @@ -28,51 +28,56 @@ #if !defined(UX_STANDALONE) -/**************************************************************************/ -/* */ -/* FUNCTION RELEASE */ -/* */ -/* _ux_utility_timer_create PORTABLE C */ +/**************************************************************************/ +/* */ +/* FUNCTION RELEASE */ +/* */ +/* _ux_utility_timer_create PORTABLE C */ /* 6.1.11 */ /* AUTHOR */ /* */ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This function creates a timer. */ -/* */ -/* INPUT */ -/* */ -/* timer Pointer to timer */ -/* timer_name Name of timer */ -/* */ -/* OUTPUT */ -/* */ -/* Completion Status */ -/* */ -/* CALLS */ -/* */ +/* */ +/* This function creates a timer. */ +/* */ +/* INPUT */ +/* */ +/* timer Pointer to timer */ +/* timer_name Name of timer */ +/* */ +/* OUTPUT */ +/* */ +/* Completion Status */ +/* */ +/* CALLS */ +/* */ /* tx_timer_create ThreadX timer create */ -/* */ -/* CALLED BY */ -/* */ -/* USBX Components */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* CALLED BY */ +/* */ +/* USBX Components */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 05-19-2020 Chaoqiong Xiao Initial Version 6.0 */ /* 09-30-2020 Chaoqiong Xiao Modified comment(s), */ /* resulting in version 6.1 */ /* 04-25-2022 Chaoqiong Xiao Modified comment(s), */ /* off in standalone build, */ /* resulting in version 6.1.11 */ +/* xx-xx-xxxx Chaoqiong Xiao Modified comment(s), */ +/* used UX prefix to refer to */ +/* TX symbols instead of using */ +/* them directly, */ +/* resulting in version 6.x */ /* */ /**************************************************************************/ -UINT _ux_utility_timer_create(TX_TIMER *timer, CHAR *timer_name, VOID (*expiration_function) (ULONG), - ULONG expiration_input, ULONG initial_ticks, ULONG reschedule_ticks, +UINT _ux_utility_timer_create(UX_TIMER *timer, CHAR *timer_name, VOID (*expiration_function) (ULONG), + ULONG expiration_input, ULONG initial_ticks, ULONG reschedule_ticks, UINT activation_flag) { diff --git a/common/core/src/ux_utility_timer_delete.c b/common/core/src/ux_utility_timer_delete.c index 233b8c0c..8878708a 100644 --- a/common/core/src/ux_utility_timer_delete.c +++ b/common/core/src/ux_utility_timer_delete.c @@ -1,18 +1,18 @@ /*************************************************************************** - * Copyright (c) 2024 Microsoft Corporation - * + * Copyright (c) 2024 Microsoft Corporation + * * This program and the accompanying materials are made available under the * terms of the MIT License which is available at * https://opensource.org/licenses/MIT. - * + * * SPDX-License-Identifier: MIT **************************************************************************/ /**************************************************************************/ /**************************************************************************/ -/** */ -/** USBX Component */ +/** */ +/** USBX Component */ /** */ /** Utility */ /** */ @@ -28,47 +28,52 @@ #if !defined(UX_STANDALONE) -/**************************************************************************/ -/* */ -/* FUNCTION RELEASE */ -/* */ -/* _ux_utility_timer_delete PORTABLE C */ -/* 6.1.11 */ +/**************************************************************************/ +/* */ +/* FUNCTION RELEASE */ +/* */ +/* _ux_utility_timer_delete PORTABLE C */ +/* 6.x */ /* AUTHOR */ /* */ /* Chaoqiong Xiao, Microsoft Corporation */ /* */ /* DESCRIPTION */ -/* */ -/* This function deletes a timer. */ -/* */ -/* INPUT */ -/* */ -/* timer Pointer to timer */ -/* */ -/* OUTPUT */ -/* */ -/* Completion Status */ -/* */ -/* CALLS */ -/* */ +/* */ +/* This function deletes a timer. */ +/* */ +/* INPUT */ +/* */ +/* timer Pointer to timer */ +/* */ +/* OUTPUT */ +/* */ +/* Completion Status */ +/* */ +/* CALLS */ +/* */ /* tx_timer_delete ThreadX timer delete */ -/* */ -/* CALLED BY */ -/* */ -/* USBX Components */ -/* */ -/* RELEASE HISTORY */ -/* */ -/* DATE NAME DESCRIPTION */ -/* */ +/* */ +/* CALLED BY */ +/* */ +/* USBX Components */ +/* */ +/* RELEASE HISTORY */ +/* */ +/* DATE NAME DESCRIPTION */ +/* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ /* 04-25-2022 Chaoqiong Xiao Modified comment(s), */ /* off in standalone build, */ /* resulting in version 6.1.11 */ +/* xx-xx-xxxx Chaoqiong Xiao Modified comment(s), */ +/* used UX prefix to refer to */ +/* TX symbols instead of using */ +/* them directly, */ +/* resulting in version 6.x */ /* */ /**************************************************************************/ -UINT _ux_utility_timer_delete(TX_TIMER *timer) +UINT _ux_utility_timer_delete(UX_TIMER *timer) { UINT status; From aafe6d435b9f2ea7c0d4242dc47715ac86fcd9d1 Mon Sep 17 00:00:00 2001 From: Mohamed AYED <81168645+ayedm1@users.noreply.github.com> Date: Tue, 4 Feb 2025 22:02:06 +0100 Subject: [PATCH 3/6] add device state check define to avoid use of internal struct fileds in app level --- common/core/inc/ux_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/core/inc/ux_api.h b/common/core/inc/ux_api.h index 6689eb02..8ab0ea44 100644 --- a/common/core/inc/ux_api.h +++ b/common/core/inc/ux_api.h @@ -2685,6 +2685,10 @@ typedef struct UX_SYSTEM_SLAVE_STRUCT #define UX_SYSTEM_DEVICE_MAX_CLASS_GET() (1) #endif +#define UX_SLAVE_DEVICE_CHECK_STATE(state) \ + (_ux_system_slave->ux_system_slave_device.ux_slave_device_state & (state)) ? UX_TRUE : UX_FALSE \ + + typedef struct UX_SYSTEM_OTG_STRUCT { From f1c70450ad2782b74b43542a220b8cbf0cf03aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Desbiens?= Date: Mon, 24 Feb 2025 08:54:05 -0500 Subject: [PATCH 4/6] Updated minimal CMake version to 3.13. --- CMakeLists.txt | 2 +- test/cmake/usbx/regression/CMakeLists.txt | 2 +- test/cmake/usbx/samples/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ddf82919..3f7a92b2 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.13 FATAL_ERROR) # Set up the project project(usbx diff --git a/test/cmake/usbx/regression/CMakeLists.txt b/test/cmake/usbx/regression/CMakeLists.txt index 00e58cfc..372f235c 100644 --- a/test/cmake/usbx/regression/CMakeLists.txt +++ b/test/cmake/usbx/regression/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.13 FATAL_ERROR) cmake_policy(SET CMP0057 NEW) project(regression_test LANGUAGES C) diff --git a/test/cmake/usbx/samples/CMakeLists.txt b/test/cmake/usbx/samples/CMakeLists.txt index 16e1d520..667be343 100644 --- a/test/cmake/usbx/samples/CMakeLists.txt +++ b/test/cmake/usbx/samples/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.13 FATAL_ERROR) cmake_policy(SET CMP0057 NEW) project(samples LANGUAGES C) From 2b0a32bf0c5791ce2d14a3381829ac53fccd9db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Desbiens?= Date: Mon, 24 Feb 2025 09:58:03 -0500 Subject: [PATCH 5/6] Tweak to .gitignore. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 9c33dc7f..f187e2a3 100755 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ install_manifest.txt compile_commands.json CTestTestfile.cmake +coverage_report/ From 2512084d63366ea25da65d82c35f1fd0d65aa7cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Desbiens?= Date: Mon, 24 Feb 2025 10:11:21 -0500 Subject: [PATCH 6/6] Incremented patch version in ux_api.h. --- common/core/inc/ux_api.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/core/inc/ux_api.h b/common/core/inc/ux_api.h index afa417e0..5f5feba5 100644 --- a/common/core/inc/ux_api.h +++ b/common/core/inc/ux_api.h @@ -141,9 +141,12 @@ /* resulting in version 6.3.0 */ /* 12-31-2023 Chaoqiong Xiao Modified comment(s), */ /* resulting in version 6.4.0 */ -/* 03-01-2024 Tiejun Zhou Modified comment(s), */ +/* 03-01-2024 Tiejun Zhou Modified comment(s), */ /* update version number, */ /* resulting in version 6.4.1 */ +/* 02-19-2025 Frédéric Desbiens Modified comment(s), */ +/* update version number, */ +/* resulting in version 6.4.2 */ /* */ /**************************************************************************/ @@ -345,7 +348,7 @@ typedef signed char SCHAR; #define AZURE_RTOS_USBX #define USBX_MAJOR_VERSION 6 #define USBX_MINOR_VERSION 4 -#define USBX_PATCH_VERSION 1 +#define USBX_PATCH_VERSION 2 /* Macros for concatenating tokens, where UX_CONCATn concatenates n tokens. */