cancel
Showing results for 
Search instead for 
Did you mean: 

mtp without threadx

codgen
Associate

Hello,

I want to use the USBX MTP stack on a stm32u5 without threadx. The configuration in stm32CubeMx worked fine but when i run the programm, i get UX_FUNCTION_NOT_SUPPORTED from this location:

 

UINT  _ux_device_class_pima_initialize(UX_SLAVE_CLASS_COMMAND *command)
{
#if defined(UX_DEVICE_STANDALONE)
    UX_PARAMETER_NOT_USED(command);
    return(UX_FUNCTION_NOT_SUPPORTED);
#else
UINT                                    status;
UX_SLAVE_CLASS_PIMA                     *pima;
UX_SLAVE_CLASS_PIMA_PARAMETER           *pima_parameter;
UX_SLAVE_CLASS                          *class_ptr;

 

 Are there any other options to use the USBX MTP stack in standalone mode at the moment or are there any plans to support the standalone mode in the future?

Thanks in advance.

2 REPLIES 2
ABOUA
ST Employee

Hello Codgen,

Only RTOS mode is supported for USBX device pima class driver

Regards,

There are perhaps third-party commercial libraries or you could DIY

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..