Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DFU Class per Version 1.1 Spec #754

Merged
merged 27 commits into from
May 26, 2021
Merged

Commits on Mar 26, 2021

  1. Configuration menu
    Copy the full SHA
    1138f8c View commit details
    Browse the repository at this point in the history
  2. Minor cleanup

    xmos-jmccarthy committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    fb7b47c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Fix incorrect DNLOAD request len passed to app

    Fixes bug where the app callback was getting the length of the status
    request transfer rather than the length of the data stage payload.
    
    TODO: Right now this returns the expected length, when it really should
    be returning the transfer length.
    xmos-jmccarthy committed Apr 5, 2021
    Configuration menu
    Copy the full SHA
    164d3e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5b8ef1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdc91f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc2cb99 View commit details
    Browse the repository at this point in the history
  5. Add DFU runtime and mode "class"

    With the runtime and mode portions in separate classes, a single
    application should only be building with one or the other enabled.  In
    some applications both might be desired at build time.
    
    The CFG_TUD_DFU_RUNTIME_AND_MODE option creates a DFU class, which asks
    the application which mode to initialize to.  This allows a runtime
    change between RT and DFU mode, by just reinitializing tusb.
    xmos-jmccarthy committed Apr 5, 2021
    Configuration menu
    Copy the full SHA
    c39b7b8 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. Revise per initial comments

    Returns the RT driver to the function state of previous iteration, which
    did not support the will_detach.  Behavior should be fine without this
    feature.  This removes much of the added bloat to track state, and
    handle requests in the APP_DETACH state which is no longer required.
    
    Removes the optional bloat added to the RT driver, such as responding to
    GETSTATE requests.
    
    Fixes the DFU Mode to extract the attr bits from the functional
    descriptor when opened.
    
    Fixes some incorrect bitwise if checks.
    
    Also, updates some naming of functions to be consistent with the rest of
    the library.
    xmos-jmccarthy committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    2e2dc7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae851bb View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. Remove DFU mode and rt

    xmos-jmccarthy committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    7b45b38 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Configuration menu
    Copy the full SHA
    01661b3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88dea7a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0936a76 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    18e9d25 View commit details
    Browse the repository at this point in the history
  5. Remove uunused code

    xmos-jmccarthy committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    289af58 View commit details
    Browse the repository at this point in the history
  6. Add const

    xmos-jmccarthy committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    e54d9d1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    45e401e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cc440ad View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8c80dde View commit details
    Browse the repository at this point in the history
  10. Removes polltimeout behaviour and restructures

    Moves dfu_req_dnload_reply to ACK stage of a DNREQUEST.
    
    Removes unneeded variables due to other simplifications.
    xmos-jmccarthy committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    b8e5885 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. Configuration menu
    Copy the full SHA
    f830800 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. Add example to be tested

    Update API description.
    xmos-jmccarthy committed May 5, 2021
    Configuration menu
    Copy the full SHA
    dab1ed6 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    xmos-jmccarthy committed May 5, 2021
    Configuration menu
    Copy the full SHA
    b51e0eb View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Configuration menu
    Copy the full SHA
    05892a5 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. Configuration menu
    Copy the full SHA
    ce59d69 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. Configuration menu
    Copy the full SHA
    dbef50f View commit details
    Browse the repository at this point in the history
  2. fix dfu example build

    hathach committed May 26, 2021
    Configuration menu
    Copy the full SHA
    f9c542a View commit details
    Browse the repository at this point in the history