USBX Add Custom Class
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-01-15 7:02 AM
MCU:STM32U585xx
Env:ThreadX + USBX + FileX
I want to use USBX add my own class type, but I'm already have 3 classes, HID, MSC and CDC ACM, it means 4 classes after added my own.
In file (ux_device_descriptors.h) have a define (USBD_MAX_SUPPORTED_CLASS 3U), this value determined the (tclasslist) array size, also the framework max class, can not be changed by user define or STM32CubeMX(no option find).
If I change this define, it will be overwrite by STM32CubeMX when generated code. How can I do this correctly?
Labels:
- Labels:
-
STM32U5 series
-
USB
0 REPLIES 0
