summaryrefslogtreecommitdiff
path: root/examples/device/cdc_dual_ports/src/main.c
AgeCommit message (Collapse)Author
2026-02-28replace board_millis() with tusb_time_millis_api()hathach
2025-11-05added .clang-formathathach
fix more alerts disable IAR CStat since pvs-studio check is better integrated with clion
2025-09-17Fix board_reset_to_bootloaderHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-09-17Fix board_init_after_tusbHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-07-03make notify API and memory configurable with CFG_TUD_CDC_NOTIFYhathach
add tud_cdc_n_notify_conn_speed_change() add tud_cdc_notify_complete_cb()
2024-10-30Merge branch 'master' into dcd_notifHiFiPhile
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
2024-07-05add board_reset_to_bootloader(), try to implement that for ch32v203 but not ↵hathach
working yet
2024-04-26Add uart status notif to cdc_dual_ports example.HiFiPhile
2024-03-11add led blinky to cdc_dual_ports examplehathach
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
2023-03-17Merge branch 'master' into portabilityhathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
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-28update rp2040 warningshathach
- remove "-Wno-stringop-overflow -Wno-array-bounds" - skip -Wconversion for gcc 9 and prior - suppress_tinyusb_warnings only when building with gcc 9 and below
2022-06-27rework suppress_tinyusb_warningsgraham sanderson
* gcc 9.2.1 has some spurious -Wconversion warnings * cmake 3.18 and above require set_target_properties to be added from the target directory (so added it to all examples) * fixed a few warnings in a couple of examples
2022-06-06more example updatehathach
2021-03-18clean up some exampleshathach
2020-11-24comment out and add note for tud_cdc_connected() in cdc_msc exampleshathach
2020-11-18Reset CDC examples to original stateJan Dümpelmann
2020-09-04Remove tud_cdc_connected check from examplesJan Dümpelmann
2020-01-11echo to both serial at oncehathach
2020-01-11clean examplehathach
2019-12-28implement multiple interfaces supportPeter Lawrence