Skip to content

USBD stack design inputs #40

@kuldeepdhaka

Description

@kuldeepdhaka

Inputs from @alexrayne

  1. talking of usbd_transfer
<alexrayne> sounds like i need always remember valid ep_size. can i pass 0 to use configured one?
... <snip> ...
<kuldeep> alexrayne, usually i keep a `#define MY_ENDPOINT_SIZE 64` to ease out the process.
  1. transfer reuse
<alexrayne> kuldeep, i this it better to introduce some flag for transfer, prevents it destroy after execution. submit such transfer once, and it always callbacks. callback just directly modifyes transfer.buffer and length. is it possible now?
<kuldeep> (though i have to think on how to let user distroy the transfer if the flag prevent destroying the transfer)
... <snip> ...
<kuldeep> this flag will modify the life cycle of the transfer. we need to think on the new life cycle. (its pro/cons)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions