Skip to main content
Visitor II
April 23, 2024
Question

mtp without threadx

  • April 23, 2024
  • 2 replies
  • 1027 views

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.

    This topic has been closed for replies.

    2 replies

    ST Employee
    May 2, 2024

    Hello Codgen,

    Only RTOS mode is supported for USBX device pima class driver

    Regards,

    Graduate II
    May 2, 2024

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