summaryrefslogtreecommitdiff
path: root/examples/device/dfu/src
AgeCommit message (Collapse)Author
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-11-19clean uphathach
2025-11-19Merge branch 'refs/heads/master' into dwc2_ep0hathach
# Conflicts: # examples/device/dfu/src/usb_descriptors.c # examples/device/dfu_runtime/src/usb_descriptors.c # src/device/usbd_control.c # src/portable/synopsys/dwc2/dcd_dwc2.c
2025-11-05added .clang-formathathach
fix more alerts disable IAR CStat since pvs-studio check is better integrated with clion
2025-10-31Add boundary checkHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-10-29Merge branch 'master' into dwc2_ep0hathach
# Conflicts: # examples/device/dfu/src/usb_descriptors.c # examples/device/dfu_runtime/src/usb_descriptors.c # src/portable/synopsys/dwc2/dcd_dwc2.c
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-28fix descriptor warning when shifting zerohathach
2025-10-24fix several warningshathach
2025-10-10example/dfu: add MSOS 2.0 descriptor for auto driver loadingHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Fix board_init_after_tusbHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-10-14change the tusb_rhport_init_t struct, exclude the rhport to make API more ↵hathach
consistent
2024-10-11change tusb_init(), tusb_rhport_init() to use init struct for expandabilityhathach
2024-10-10add new tusb_int_handler(rhport, in_isr) as common irq handlerhathach
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2023-08-09Merge pull request #2202 from Rocky04/patch-4Ha Thach
Invoke unmounted state on configuration reset
2023-08-07Update examplesRocky04
2023-08-04update all examples to use unique ID as serial if avaialblehathach
2023-08-04Merge branch 'master' into enhance-bsphathach
2023-08-03rename hw/bsp/board.h to board_api.hhathach
2023-07-31enable USBMC for uno r4, add board_init_after_tusb() APIhathach
add BOARD_UPPERCASE for board detection
2022-09-13Remove unreachable codeBen Avison
IAR generates warning Pe111 'statement is unreachable'. In a couple of cases, replace return statements with TU_ATTR_FALLTHROUGH; because some compilers apparently can't figure out that the return statements are unreachable but do whinge about an imagined fall-through without them!
2022-06-27fix most warnings with rp2040 -wconversionhathach
2022-06-06more example updatehathach
2022-06-01rename board specific macro for examplehathach
- BOARD_DEVICE/HOST_RHPORT_NUM to BOARD_TUD/H_RHPORT - BOARD_DEVICE/HOST_RHPORT_SPEED to BOARD_TUD/H_MAX_SPEED
2022-02-25auto detect max rhport speed based on mcuhathach
2021-11-08reduce CFG_TUD_DFU_XFER_BUFSIZE for max compatiblehathach
2021-08-26TD 9.12 remote wakeup testhathach
remove TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP attribute from non-hid examples
2021-07-22rename CFG_TUD_DFU_TRANSFER_BUFSIZE to CFG_TUD_DFU_XFER_BUFSIZEhathach
2021-07-15fix warningshathach
2021-07-15rename CFG_TUD_DFU_MODE to simply CFG_TUD_DFUhathach
2021-07-15wrap up DFU updatehathach
2021-07-14more rename and updatehathach
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-12simplify TUD_DFU_DESCRIPTOR with alternate counthathach
remove CFG_TUD_DFU_ALT_COUNT since there is only one DFU functional descriptor
2021-07-12rename TUD_DFU_MODE_DESCRIPTOR to TUD_DFU_DESCRIPTORhathach
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-06UpdateMasterPhi
2021-07-05Add alt settings support in DFU class.Mengsk
2021-05-26fix dfu example buildhathach
2021-05-05Fix typoJeremiah McCarthy
2021-05-05Add example to be testedJeremiah McCarthy
Update API description.