summaryrefslogtreecommitdiff
path: root/src/class/dfu
AgeCommit message (Collapse)Author
2021-10-15fix -Wcast-qualhathach
2021-07-27Fix IAR warningMasterPhi
2021-07-22rename CFG_TUD_DFU_TRANSFER_BUFSIZE to CFG_TUD_DFU_XFER_BUFSIZEhathach
2021-07-15rename CFG_TUD_DFU_MODE to simply CFG_TUD_DFUhathach
2021-07-15wrap up DFU updatehathach
2021-07-14update clear status and get statehathach
2021-07-14update dfu aborthathach
2021-07-14simplify upload requesthathach
2021-07-14more rename and updatehathach
2021-07-14rename tud_dfu_reboot_cb() to tud_dfu_detach_cb()hathach
2021-07-14clean uphathach
2021-07-14rename dfu APIhathach
- tud_dfu_dnload_complete() -> tud_dfu_download_complete() - tud_dfu_req_dnload_data_cb() -> tud_dfu_download_cb() - tud_dfu_req_upload_data_cb() -> tud_dfu_upload_cb()
2021-07-12rename tud_dfu_set_timeout_cb() to tud_dfu_get_status_cb()hathach
also add state as argument
2021-07-12clean uphathach
2021-07-12clean uphathach
2021-07-12rename TUD_DFU_MODE_DESCRIPTOR to TUD_DFU_DESCRIPTORhathach
2021-07-12add alt to tud_dfu_abort_cb()hathach
2021-07-12update dfu_moded_openhathach
2021-07-08Fix wrong blocknum and lengthMengsk
2021-07-08Add bwPollTimeout set callback, postpone download callback after GETSTATUSMengsk
2021-07-07Refactor with one DFU functionnal descriptorHiFiPhile
2021-07-07Reactor to one functional descriptor.Mengsk
2021-07-07TU_ASSERT return 0.Mengsk
2021-07-07Add DFU_DETACH supportMengsk
2021-07-07Update commentMengsk
2021-07-07Better alt settings supportMengsk
2021-07-06UpdateMasterPhi
2021-07-05Fix ATTR_MANIFESTATION_TOLERANT logic.Mengsk
2021-07-05Add alt settings support in DFU class.Mengsk
2021-07-05fix ci build, address review commenthathach
2021-06-23Add dfu function memory access protectionJeremiah McCarthy
Adds TU_VERIFY to dfu internal buffer access from host. Adds TU_ASSERT to dfu internal buffer access by application.
2021-05-27include clean uphathach
2021-05-26fix dfu example buildhathach
2021-05-05Add example to be testedJeremiah McCarthy
Update API description.
2021-04-29Fix typo and clean up resetJeremiah McCarthy
2021-04-22Removes polltimeout behaviour and restructuresJeremiah McCarthy
Moves dfu_req_dnload_reply to ACK stage of a DNREQUEST. Removes unneeded variables due to other simplifications.
2021-04-22Fix statte check on DATA stageJeremiah McCarthy
2021-04-22Remove custom status description tableJeremiah McCarthy
2021-04-22Add constJeremiah McCarthy
2021-04-22Remove uunused codeJeremiah McCarthy
2021-04-22Remove usb reset callbackJeremiah McCarthy
2021-04-22Remove nonstd behaviourJeremiah McCarthy
2021-04-22Move debug from .h to .cJeremiah McCarthy
2021-04-22Replace dfu_mode with dfuJeremiah McCarthy
2021-04-12Remove DFU mode and rtJeremiah McCarthy
2021-04-07Resolve gcc warnings for no parameter functionsJeremiah McCarthy
2021-04-07Revise per initial commentsJeremiah McCarthy
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.
2021-04-05Add DFU runtime and mode "class"Jeremiah McCarthy
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.
2021-04-05Remove unreachable callbackJeremiah McCarthy
2021-04-05Fix bug during initialization of DFU ModeJeremiah McCarthy