Skip to main content
Associate
July 22, 2026
Question

USBX configuration check - potential bug with USBX System Stack Size

  • July 22, 2026
  • 1 reply
  • 20 views

I encountered a potential bug in CubeMXs Configuration Checks for USBX.

I am trying to configure USBX in standalone mode. When i try to increase the value of “USBX System Stack Size” to be higher than 1024 i get a warning that it needs to be lower than the USBX memory pool size, even when this is the case.

Attached is a screenshot with example settings. To reproduce the error set USBX System Stack Size to 1025.
The used MCU is a STM32U385CGTx

Best regards, Cecil
 

 

1 reply

Ghofrane GSOURI
ST Technical Moderator
July 22, 2026

Hello ​@CecilW 

I am currently checking this behavior. I will get back to you ASAP.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.