diff options
| author | Chaoqiong Xiao <[email protected]> | 2023-03-08 08:32:02 +0000 |
|---|---|---|
| committer | Chaoqiong Xiao <[email protected]> | 2023-03-08 08:32:02 +0000 |
| commit | 2d357c5912709485aac36a3bf3800cf282477d34 (patch) | |
| tree | 70e5abeff5343d3ff88577e6bfca3f0bac11ce9e /common/core/inc/ux_user_sample.h | |
| parent | 813361a875870d3c3c4ae7b830a54e0748e889e1 (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_user_sample.h')
| -rw-r--r-- | common/core/inc/ux_user_sample.h | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/common/core/inc/ux_user_sample.h b/common/core/inc/ux_user_sample.h index 72a7e5e..f974505 100644 --- a/common/core/inc/ux_user_sample.h +++ b/common/core/inc/ux_user_sample.h @@ -26,7 +26,7 @@ /* PORT SPECIFIC C INFORMATION RELEASE */ /* */ /* ux_user.h PORTABLE C */ -/* 6.2.0 */ +/* 6.2.1 */ /* */ /* AUTHOR */ /* */ @@ -89,6 +89,16 @@ /* added host stack instance */ /* creation strategy control, */ /* resulting in version 6.2.0 */ +/* 03-08-2023 Chaoqiong Xiao Modified comment(s), */ +/* added option to disable dev */ +/* alternate setting support, */ +/* added option to disable dev */ +/* framework initialize scan, */ +/* added option to reference */ +/* names by pointer to chars, */ +/* added option to enable */ +/* basic USBX error checking, */ +/* resulting in version 6.2.1 */ /* */ /**************************************************************************/ @@ -409,6 +419,30 @@ /* #define UX_DEVICE_BIDIRECTIONAL_ENDPOINT_SUPPORT */ +/* Defined, this macro disables interface alternate setting support. + Device stalls + */ +/* UX_DEVICE_ALTERNATE_SETTING_SUPPORT_DISABLE */ + + +/* Defined, this macro disables device framework scan, where max number of endpoints (except EP0) + and max number of interfaces are calculated at runtime, as a base to allocate memory for + interfaces and endpoints structures and their buffers. + Undefined, the following two macros must be defined to initialize memory structures. + */ +/* #define UX_DEVICE_INITIALIZE_FRAMEWORK_SCAN_DISABLE */ + +/* Works if UX_DEVICE_INITIALIZE_FRAMEWORK_SCAN_DISABLE is defined. + This value represents max number of endpoints (except EP0) activated at the same time. + */ +/* #define UX_MAX_DEVICE_ENDPOINTS 2 */ + +/* Works if UX_DEVICE_INITIALIZE_FRAMEWORK_SCAN_DISABLE is defined. + This value represents max number of interfaces activated at the same time. + */ +/* #define UX_MAX_DEVICE_INTERFACES 1 */ + + /* Defined, this macro enables device/host PIMA MTP support. */ /* #define UX_PIMA_WITH_MTP_SUPPORT */ @@ -421,6 +455,7 @@ /* #define UX_HOST_DEVICE_CLASS_CODE_VALIDATION_ENABLE */ + /* Defined, host HID interrupt OUT transfer is supported. */ /* #define UX_HOST_CLASS_HID_INTERRUPT_OUT_SUPPORT */ @@ -448,6 +483,12 @@ */ /* #define UX_HOST_STACK_CONFIGURATION_INSTANCE_CREATE_CONTROL UX_HOST_STACK_CONFIGURATION_INSTANCE_CREATE_OWNED */ +/* Defined, the _name in structs are referenced by pointer instead of by contents. + By default the _name is an array of string that saves characters, the contents are compared to confirm match. + If referenced by pointer the address pointer to const string is saved, the pointers are compared to confirm match. + */ +/* #define UX_NAME_REFERENCED_BY_POINTER */ + /* Defined, this value will only enable the host side of usbx. */ /* #define UX_HOST_SIDE_ONLY */ @@ -522,6 +563,13 @@ /* #define UX_ASSERT_FAIL for (;;) {tx_thread_sleep(UX_WAIT_FOREVER); } */ +/* Defined, this option enables the basic USBX error checking. This define is typically used + when the application is debugging and removed after the application is fully debugged. */ +/* +#define UX_ENABLE_ERROR_CHECKING +*/ + + /* DEBUG includes and macros for a specific platform go here. */ #ifdef UX_INCLUDE_USER_DEFINE_BSP #include "usb_bsp.h" |
