|
26 | 26 | /* APPLICATION INTERFACE DEFINITION RELEASE */ |
27 | 27 | /* */ |
28 | 28 | /* ux_api.h PORTABLE C */ |
29 | | -/* 6.1.6 */ |
| 29 | +/* 6.1.7 */ |
30 | 30 | /* AUTHOR */ |
31 | 31 | /* */ |
32 | 32 | /* Chaoqiong Xiao, Microsoft Corporation */ |
|
87 | 87 | /* added macros for Word/DWord */ |
88 | 88 | /* to bytes extraction, */ |
89 | 89 | /* resulting in version 6.1.6 */ |
| 90 | +/* 06-02-2021 Chaoqiong Xiao Modified comment(s), */ |
| 91 | +/* added trace dependency test,*/ |
| 92 | +/* changed transfer timeout */ |
| 93 | +/* value, */ |
| 94 | +/* resulting in version 6.1.7 */ |
90 | 95 | /* */ |
91 | 96 | /**************************************************************************/ |
92 | 97 |
|
@@ -221,7 +226,7 @@ typedef signed char SCHAR; |
221 | 226 | #define AZURE_RTOS_USBX |
222 | 227 | #define USBX_MAJOR_VERSION 6 |
223 | 228 | #define USBX_MINOR_VERSION 1 |
224 | | -#define USBX_PATCH_VERSION 6 |
| 229 | +#define USBX_PATCH_VERSION 7 |
225 | 230 |
|
226 | 231 | /* Macros for concatenating tokens, where UX_CONCATn concatenates n tokens. */ |
227 | 232 |
|
@@ -330,6 +335,9 @@ VOID _ux_utility_debug_log(UCHAR *debug_location, UCHAR *debug_message, ULONG de |
330 | 335 | /* Determine if tracing is enabled. */ |
331 | 336 |
|
332 | 337 | #ifdef TX_ENABLE_EVENT_TRACE |
| 338 | +#ifndef UX_TRACE_INSERT_MACROS |
| 339 | +#error UX_TRACE_INSERT_MACROS must be defined to support TX_ENABLE_EVENT_TRACE |
| 340 | +#endif |
333 | 341 |
|
334 | 342 | /* Trace is enabled. Remap calls so that interrupts can be disabled around the actual event logging. */ |
335 | 343 |
|
@@ -999,8 +1007,13 @@ VOID _ux_trace_event_update(TX_TRACE_BUFFER_ENTRY *event, ULONG timestamp, UL |
999 | 1007 | #define UX_CAPABILITY_CONFIGURATION_SUMMARY 0x10u |
1000 | 1008 |
|
1001 | 1009 |
|
1002 | | -#define UX_CONTROL_TRANSFER_TIMEOUT 1000 |
1003 | | -#define UX_NON_CONTROL_TRANSFER_TIMEOUT 5000 |
| 1010 | +#ifndef UX_CONTROL_TRANSFER_TIMEOUT |
| 1011 | +#define UX_CONTROL_TRANSFER_TIMEOUT 10000 |
| 1012 | +#endif |
| 1013 | + |
| 1014 | +#ifndef UX_NON_CONTROL_TRANSFER_TIMEOUT |
| 1015 | +#define UX_NON_CONTROL_TRANSFER_TIMEOUT 50000 |
| 1016 | +#endif |
1004 | 1017 | #define UX_PORT_ENABLE_WAIT 50 |
1005 | 1018 | #define UX_DEVICE_ADDRESS_SET_WAIT 50 |
1006 | 1019 | #define UX_HIGH_SPEED_DETECTION_HANDSHAKE_SUSPEND_WAIT 200 |
|
0 commit comments