Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
119 changes: 5 additions & 114 deletions common/core/inc/ux_api.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
* Copyright (c) 2026-present Eclipse ThreadX contributors
*
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
Expand Down Expand Up @@ -38,116 +39,6 @@
/* Please note that basic data type definitions and other architecture-*/
/* specific information is contained in the file ux_port.h. */
/* */
/* RELEASE HISTORY */
/* */
/* DATE NAME DESCRIPTION */
/* */
/* 05-19-2020 Chaoqiong Xiao Initial Version 6.0 */
/* 09-30-2020 Chaoqiong Xiao Modified comment(s), */
/* added query usage of device */
/* ClassSubclassProtocol, */
/* added option to disable FX */
/* media integration, prefixed */
/* UX to MS_TO_TICK, added */
/* APIs and macros related to */
/* uninitialize, optimized */
/* based on compile */
/* definitions, updated */
/* product constants, used */
/* host class extension */
/* pointer for class specific */
/* structured data, used UX */
/* prefix to refer to TX */
/* symbols instead of using */
/* them directly, */
/* resulting in version 6.1 */
/* 11-09-2020 Chaoqiong Xiao Modified comment(s), */
/* used unsigned defines, */
/* added HCD uninit command, */
/* modified HCD status code, */
/* fixed compile warnings, */
/* resulting in version 6.1.2 */
/* 12-31-2020 Chaoqiong Xiao Modified comment(s), */
/* added BOS support, */
/* resulting in version 6.1.3 */
/* 02-02-2021 Chaoqiong Xiao Modified comment(s), */
/* added configuration activate*/
/* and deactivate support, */
/* added host printer get */
/* device ID support, */
/* added host device string */
/* descriptor get support, */
/* added events for device */
/* connection/disconnection, */
/* resulting in version 6.1.4 */
/* 03-02-2021 Chaoqiong Xiao Modified comment(s), */
/* resulting in version 6.1.5 */
/* 04-02-2021 Chaoqiong Xiao Modified comment(s), */
/* added macros for Word/DWord */
/* to bytes extraction, */
/* resulting in version 6.1.6 */
/* 06-02-2021 Chaoqiong Xiao Modified comment(s), */
/* added trace dependency test,*/
/* changed transfer timeout */
/* value, */
/* resulting in version 6.1.7 */
/* 08-02-2021 Chaoqiong Xiao Modified comment(s), */
/* fixed spelling error, */
/* fixed trace ID order error, */
/* resulting in version 6.1.8 */
/* 10-15-2021 Chaoqiong Xiao Modified comment(s), */
/* improved assert macros, */
/* added transfer size field, */
/* improved traceX support, */
/* resulting in version 6.1.9 */
/* 01-31-2022 Chaoqiong Xiao Modified comment(s), */
/* added too many ports error, */
/* moved tx_api.h include and */
/* typedefs to ux_port.h, */
/* added standalone support, */
/* added device HID trace IDs, */
/* added some general errors, */
/* added printer trace IDs, */
/* resulting in version 6.1.10 */
/* 04-25-2022 Chaoqiong Xiao Modified comment(s), */
/* assumed OS types to avoid */
/* standalone compiling error, */
/* added CCID trace IDs, */
/* resulting in version 6.1.11 */
/* 07-29-2022 Chaoqiong Xiao Modified comment(s), */
/* fixed parameter/variable */
/* names conflict C++ keyword, */
/* added feedback size defs, */
/* added shared device config */
/* descriptor for enum scan, */
/* resulting in version 6.1.12 */
/* 10-31-2022 Chaoqiong Xiao Modified comment(s), */
/* added some ETH error codes, */
/* allowed align minimal def, */
/* added interface instance */
/* creation strategy control, */
/* resulting in version 6.2.0 */
/* 03-08-2023 Chaoqiong Xiao Modified comment(s), */
/* accepted UX_MAX_CLASSES as */
/* max class driver configure, */
/* added a new error code, */
/* resulting in version 6.2.1 */
/* 10-31-2023 Chaoqiong Xiao Modified comment(s), */
/* refined memory management, */
/* added a new mode to manage */
/* endpoint buffer in classes, */
/* optimized USB descriptors, */
/* added error checks support, */
/* 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), */
/* 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 */
/* */
/**************************************************************************/

#ifndef UX_API_H
Expand Down Expand Up @@ -347,10 +238,10 @@ typedef signed char SCHAR;
/* Define basic constants for the USBX Stack. */
#define AZURE_RTOS_USBX
#define USBX_MAJOR_VERSION 6
#define USBX_MINOR_VERSION 4
#define USBX_PATCH_VERSION 5
#define USBX_BUILD_VERSION 202504
#define USBX_HOTFIX_VERSION 'a'
#define USBX_MINOR_VERSION 5
#define USBX_PATCH_VERSION 0
#define USBX_BUILD_VERSION 202601
#define USBX_HOTFIX_VERSION ' '

/* Macros for concatenating tokens, where UX_CONCATn concatenates n tokens. */

Expand Down
15 changes: 5 additions & 10 deletions common/core/inc/ux_class_audio10.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
*
* Copyright (c) 2024 Microsoft Corporation
* Copyright (c) 2026-present Eclipse ThreadX contributors
*
* 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
**************************************************************************/

Expand Down Expand Up @@ -35,12 +36,6 @@
/* This file contains all the header and structures used by the */
/* USBX Audio Class (UAC) 1.0. */
/* */
/* RELEASE HISTORY */
/* */
/* DATE NAME DESCRIPTION */
/* */
/* 07-29-2022 Chaoqiong Xiao Initial Version 6.1.12 */
/* */
/**************************************************************************/

#ifndef UX_CLASS_AUDIO10_H
Expand Down Expand Up @@ -933,7 +928,7 @@ typedef struct UX_CLASS_AUDIO10_TYPE_I_FORMAT_TYPE_CONTINUOUS_DESCRIPTOR_STRUCT
UCHAR tLowerSamFreq[3];
UCHAR tUpperSamFreq[3];
}
UX_CLASS_AUDIO10_TYPE_I_FORMAT_TYPE_CONTINUOUS_DESCRIPTOR,
UX_CLASS_AUDIO10_TYPE_I_FORMAT_TYPE_CONTINUOUS_DESCRIPTOR,
UX_CLASS_AUDIO10_TYPE_I_FORMAT_TYPE_DESCRIPTOR_0;

typedef struct UX_CLASS_AUDIO10_TYPE_I_FORMAT_TYPE_DISCRETE_DESCRIPTOR_STRUCT
Expand Down
13 changes: 4 additions & 9 deletions common/core/inc/ux_class_audio20.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
*
* Copyright (c) 2024 Microsoft Corporation
* Copyright (c) 2026-present Eclipse ThreadX contributors
*
* 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
**************************************************************************/

Expand Down Expand Up @@ -35,12 +36,6 @@
/* This file contains all the header and structures used by the */
/* USBX Audio Class (UAC) 2.0. */
/* */
/* RELEASE HISTORY */
/* */
/* DATE NAME DESCRIPTION */
/* */
/* 07-29-2022 Chaoqiong Xiao Initial Version 6.1.12 */
/* */
/**************************************************************************/

#ifndef UX_CLASS_AUDIO20_H
Expand Down
20 changes: 1 addition & 19 deletions common/core/inc/ux_dcd_sim_slave.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/***************************************************************************
* Copyright (c) 2024 Microsoft Corporation
* Copyright (c) 2026-present Eclipse ThreadX contributors
*
* This program and the accompanying materials are made available under the
* terms of the MIT License which is available at
Expand Down Expand Up @@ -36,25 +37,6 @@
/* USBX slave simulator. It is designed to work ONLY with the USBX */
/* host simulator. */
/* */
/* 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-02-2021 Chaoqiong Xiao Modified comment(s), */
/* added HCD connected to, */
/* supported bi-dir-endpoints, */
/* resulting in version 6.1.6 */
/* 08-02-2021 Chaoqiong Xiao Modified comment(s), */
/* added extern "C" keyword */
/* for compatibility with C++, */
/* resulting in version 6.1.8 */
/* 01-31-2022 Chaoqiong Xiao Modified comment(s), */
/* added standalone support, */
/* resulting in version 6.1.10 */
/* */
/**************************************************************************/

#ifndef UX_DCD_SIM_SLAVE_H
Expand Down
Loading