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.

2 replies

ABOUA
ST Employee
May 2, 2024

Hello Codgen,

Only RTOS mode is supported for USBX device pima class driver

Regards,

Tesla DeLorean
Guru
May 2, 2024

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

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