|
26 | 26 | /* APPLICATION INTERFACE DEFINITION RELEASE */ |
27 | 27 | /* */ |
28 | 28 | /* ux_api.h PORTABLE C */ |
29 | | -/* 6.1.8 */ |
| 29 | +/* 6.1.9 */ |
30 | 30 | /* AUTHOR */ |
31 | 31 | /* */ |
32 | 32 | /* Chaoqiong Xiao, Microsoft Corporation */ |
|
96 | 96 | /* fixed spelling error, */ |
97 | 97 | /* fixed trace ID order error, */ |
98 | 98 | /* resulting in version 6.1.8 */ |
| 99 | +/* 10-15-2021 Chaoqiong Xiao Modified comment(s), */ |
| 100 | +/* improved assert macros, */ |
| 101 | +/* added transfer size field, */ |
| 102 | +/* improved traceX support, */ |
| 103 | +/* resulting in version 6.1.9 */ |
99 | 104 | /* */ |
100 | 105 | /**************************************************************************/ |
101 | 106 |
|
@@ -149,7 +154,11 @@ typedef signed char SCHAR; |
149 | 154 | /* This defines the ASSERT and process on ASSERT fail. */ |
150 | 155 | #ifdef UX_ENABLE_ASSERT |
151 | 156 | #ifndef UX_ASSERT_FAIL |
| 157 | +#ifdef TX_API_H |
152 | 158 | #define UX_ASSERT_FAIL for (;;) {tx_thread_sleep(UX_WAIT_FOREVER); } |
| 159 | +#else |
| 160 | +#define UX_ASSERT_FAIL for (;;) {} |
| 161 | +#endif |
153 | 162 | #endif |
154 | 163 | #define UX_ASSERT(s) if (!(s)) {UX_ASSERT_FAIL} |
155 | 164 | #else |
@@ -230,7 +239,7 @@ typedef signed char SCHAR; |
230 | 239 | #define AZURE_RTOS_USBX |
231 | 240 | #define USBX_MAJOR_VERSION 6 |
232 | 241 | #define USBX_MINOR_VERSION 1 |
233 | | -#define USBX_PATCH_VERSION 8 |
| 242 | +#define USBX_PATCH_VERSION 9 |
234 | 243 |
|
235 | 244 | /* Macros for concatenating tokens, where UX_CONCATn concatenates n tokens. */ |
236 | 245 |
|
@@ -339,9 +348,6 @@ VOID _ux_utility_debug_log(UCHAR *debug_location, UCHAR *debug_message, ULONG de |
339 | 348 | /* Determine if tracing is enabled. */ |
340 | 349 |
|
341 | 350 | #ifdef TX_ENABLE_EVENT_TRACE |
342 | | -#ifndef UX_TRACE_INSERT_MACROS |
343 | | -#error UX_TRACE_INSERT_MACROS must be defined to support TX_ENABLE_EVENT_TRACE |
344 | | -#endif |
345 | 351 |
|
346 | 352 | /* Trace is enabled. Remap calls so that interrupts can be disabled around the actual event logging. */ |
347 | 353 |
|
@@ -1912,6 +1918,7 @@ typedef struct UX_SLAVE_TRANSFER_STRUCT |
1912 | 1918 | ULONG ux_slave_transfer_request_requested_length; |
1913 | 1919 | ULONG ux_slave_transfer_request_actual_length; |
1914 | 1920 | ULONG ux_slave_transfer_request_in_transfer_length; |
| 1921 | + ULONG ux_slave_transfer_request_transfer_length; |
1915 | 1922 | ULONG ux_slave_transfer_request_completion_code; |
1916 | 1923 | ULONG ux_slave_transfer_request_phase; |
1917 | 1924 | VOID (*ux_slave_transfer_request_completion_function) (struct UX_SLAVE_TRANSFER_STRUCT *); |
|
0 commit comments