You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In the current USB device stack, class drivers are statically selected during project configuration and can’t be changed at runtime. However, sometimes some class drivers could be required to be enabled or disabled at runtime. For example, the DFU driver could be disabled by default. And it will be helpful if it can be enabled by the application at runtime when the application wants to update the firmware.
Describe the solution you'd like
All selected usb class drivers shall have a ‘enable(bool)’ api to enable / disable it from being discovered by the host at runtime when needed. And a setting value can be used to control if the class driver shall be initialized or disabled.
Describe alternatives you've considered
N/A
Additional context
Some system maintenance USB class drivers, such as CDC-ACM, DFU are not always needed but it is hoped to be included in the application firmware.
The text was updated successfully, but these errors were encountered:
Is there an existing issue covering the request? And what conclusions have you made?
No, still discussing. This is a major change, it affects more than class descriptor initialization and has to be implemented for all classes and applications in the tree. So that will take time.
Is your feature request related to a problem? Please describe.
In the current USB device stack, class drivers are statically selected during project configuration and can’t be changed at runtime. However, sometimes some class drivers could be required to be enabled or disabled at runtime. For example, the DFU driver could be disabled by default. And it will be helpful if it can be enabled by the application at runtime when the application wants to update the firmware.
Describe the solution you'd like
All selected usb class drivers shall have a ‘enable(bool)’ api to enable / disable it from being discovered by the host at runtime when needed. And a setting value can be used to control if the class driver shall be initialized or disabled.
Describe alternatives you've considered
N/A
Additional context
Some system maintenance USB class drivers, such as CDC-ACM, DFU are not always needed but it is hoped to be included in the application firmware.
The text was updated successfully, but these errors were encountered: