Skip to main content

CONFIG_MAX

Constant CONFIG_MAX 

Source
pub const CONFIG_MAX: usize = 256;
Expand description

Largest configuration descriptor the stack accepts.

The buffer lives inside Device, so an application pays for it whether or not the device has a large configuration. 256 bytes hold every HID, CDC-ACM and audio control configuration; raise this when enumerating a composite device fails with HostError::Overflow.