summaryrefslogtreecommitdiff
path: root/common/core/inc/ux_api.h
diff options
context:
space:
mode:
authorChaoqiong Xiao <[email protected]>2023-03-08 08:32:02 +0000
committerChaoqiong Xiao <[email protected]>2023-03-08 08:32:02 +0000
commit2d357c5912709485aac36a3bf3800cf282477d34 (patch)
tree70e5abeff5343d3ff88577e6bfca3f0bac11ce9e /common/core/inc/ux_api.h
parent813361a875870d3c3c4ae7b830a54e0748e889e1 (diff)
Release 6.2.1 on 08 Mar 2023. Expand to see details.v6.2.1_rel
e180182e Update owners a6785db8 Update for release. bc77918b Improve host audio sampling set and check (fixed a memory issue). 97d66e5d Add optimization options to ux_user.h eea2c732 USBX device printer error checking support. 1760cc8c USBX device audio error checking support a39f2f26 Fixed a macro name issue in device audio 1.0 83278dd8 Supported multiple report IDs in host HID. c548fe33 Fixed host CDC-ACM capability get. b64f8cdb Fix vendor request handling.
Diffstat (limited to 'common/core/inc/ux_api.h')
-rw-r--r--common/core/inc/ux_api.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/common/core/inc/ux_api.h b/common/core/inc/ux_api.h
index cb83675..ec661a7 100644
--- a/common/core/inc/ux_api.h
+++ b/common/core/inc/ux_api.h
@@ -26,7 +26,7 @@
/* APPLICATION INTERFACE DEFINITION RELEASE */
/* */
/* ux_api.h PORTABLE C */
-/* 6.2.0 */
+/* 6.2.1 */
/* AUTHOR */
/* */
/* Chaoqiong Xiao, Microsoft Corporation */
@@ -128,6 +128,11 @@
/* 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 */
/* */
/**************************************************************************/
@@ -255,6 +260,13 @@ typedef signed char SCHAR;
#define UX_MAX_SLAVE_INTERFACES 16
#endif
+/* Define USBX max number of classes (1 ~ n). */
+#ifndef UX_MAX_CLASSES
+#define UX_MAX_CLASSES 2
+#endif
+#ifndef UX_MAX_CLASS_DRIVER
+#define UX_MAX_CLASS_DRIVER UX_MAX_CLASSES
+#endif
/* Define USBX max number of devices (1 ~ n). */
#ifndef UX_MAX_DEVICES
@@ -295,7 +307,7 @@ typedef signed char SCHAR;
#define AZURE_RTOS_USBX
#define USBX_MAJOR_VERSION 6
#define USBX_MINOR_VERSION 2
-#define USBX_PATCH_VERSION 0
+#define USBX_PATCH_VERSION 1
/* Macros for concatenating tokens, where UX_CONCATn concatenates n tokens. */
@@ -1417,6 +1429,7 @@ VOID _ux_trace_event_update(TX_TRACE_BUFFER_ENTRY *event, ULONG timestamp, UL
#define UX_INVALID_PARAMETER 0xfa
#define UX_ABORTED 0xf9
#define UX_MATH_OVERFLOW 0xf8
+#define UX_INVALID_BUILD_OPTION 0xf7
#define UX_TOO_MANY_DEVICES 0x11
#define UX_MEMORY_INSUFFICIENT 0x12