summaryrefslogtreecommitdiff
path: root/examples/device/dfu/src/main.c
AgeCommit message (Collapse)Author
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-11-19clean uphathach
2025-10-31Add boundary checkHiFiPhile
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-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-06more example updatehathach
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-08Add bwPollTimeout set callback, postpone download callback after GETSTATUSMengsk
2021-07-05Add alt settings support in DFU class.Mengsk
2021-05-26fix dfu example buildhathach
2021-05-05Add example to be testedJeremiah McCarthy
Update API description.