2021-03-24 05:25 AM
2021-03-24 06:42 PM
2021-03-24 06:42 PM
2021-03-25 08:29 AM
Hello @LLYC.1 and welcome to the STM32 Community :)
The max descriptor size is 255. This is specific to the USB protocol.
Imen
2021-04-01 10:08 AM
I notice the comment is incorrect. At first I thought this is to increase the size of the IN/OUT Endpoint but is is actually increasing the size of the descriptor. And the generated code is incorrect. It still left at 2.
It seems to be a bug in CubeMX.