USBX Debug Logging
Hi,
Running USBX/ThreadX with MSC and HUB host classes, on an STM32H573.
I enabled UX_ENABLE_DEBUG_LOG to get some USBX debug info from the software stack, and
it doesn’t compile. Fixed the compile error in usbx/common/core/src/ux_utility_debug_log.c, and then
set a breakpoint in the logging function _ux_utility_debug_log(), and it never gets called?
Can someone provide some history here, was this feature deprecated at some point?
Lots of online troubleshooting guides indicate that this is a useful debug technique?
I grep’d the code and found two instances where the stack actually calls UX_DEBUG_LOG(),
and both are in the host_class_CDC software, which my product does not use.
Thanks
Ken
