Azure RTOS USBX device descriptor errors
I'm trying to recreate one of the example projects from https://github.com/STMicroelectronics/x-cube-azrtos-f4/tree/main/Projects/STM32469I-Discovery/Applications/USBX/Ux_Device_CDC_ACM
I have a nucleo-F446ZE board for this test.
I created the bare project in CubeMX and added the Azure RTOS software components. I then added the methods from the above example and compiled. Running this on the board fails with a memory error unless I increase the ux static memory size to 74*1024. After that I can connect the USB port to my laptop and get a device appearing but it has 'device descriptor' errors.
I'm confused about the dynamic memory comment in the example readme, even though the example itself suggests static allocation for the ux components. I'm not sure what to look at next to debug this further, any suggestions are welcome.
My project code is here: https://github.com/jonbramble/rtos_usbx_barebones

