usb: device: next: increased RAM and flash footprint with "device_next" USB stack #83309
Labels
area: USB
Universal Serial Bus
Enhancement
Changes/Updates/Additions to existing features
Experimental
Experimental features not enabled by default
Is your enhancement proposal related to a problem? Please describe.
The
device_next
USB stack comes with a significant increase in both RAM and flash footprint compared to the "legacy" stack. The impact is especially hard on smaller USB MCUs with e.g. 16k RAM and 64k flash (smaller STM32 parts) where the increase can prevent existing firmware applications from switching to the new stack.Describe the solution you'd like
While the design and implementation of the
device_next
is much superior to the "legacy" stack, it would be nice if the RAM and flash footprint could be reduced to be more friendly towards more resource constrained MCUs.Describe alternatives you've considered
None.
Additional context
As an example, the
samples/subsys/usb/hid-mouse/
sample compiled for thefrdm_k64f
board increases significantly in RAM and flash footprint when built for thedevice_next
stack, but the problem is not limited to this sample/board.The text was updated successfully, but these errors were encountered: