Skip to content

Incorrect maximum number of USB endpoints #467

@vintagepc

Description

@vintagepc

The AVR USB code hard-caps the number of endpoints at 5.

struct _epstate ep_state[5];

const uint8_t num_endpoints = 5;//sizeof (struct usb_internal_state.ep_state) / sizeof (struct usb_internal_state.ep_state[0]);

This is as expected for the AT90 example part but is too small for parts like the 32u4 which have USB defined and up to 7 configurable endpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions