summaryrefslogtreecommitdiff
path: root/examples/device/cdc_dual_ports/src
AgeCommit message (Collapse)Author
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-08-19rename TUD_ENDPOINT_EXCLUSIVE_NUMBER to TUD_ENDPOINT_ONE_DIRECTION_ONLYhathach
2024-08-17define and use TUD_ENDPOINT_EXCLUSIVE_NUMBERhathach
2024-08-14Merge branch 'refs/heads/master' into fork/BrentK-ADI/max32_porthathach
2024-07-25Combined DCD MUSB implementationsBrent Kowal
Combined the new MAX32 MUSB implementation with the existing (TI) implementation to provide generic code base for working the MUSB DCD peripheral. - Added abstraction calls for FIFO setup, EP registers, Ctrl registers and interrupt setup. - Combined TM4C and MSP432E into a single header file. - Created musb_max32.h, and removed the MAX32 specific C implementation. - Updated MAX32 build system to use dcd_musb.c. - Added MAX32 conditions for cdc_dual_ports example descriptors missed during first testing.
2024-07-05add board_reset_to_bootloader(), try to implement that for ch32v203 but not ↵hathach
working yet
2024-03-11add led blinky to cdc_dual_ports examplehathach
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
2023-03-17Merge branch 'master' into portabilityhathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-11-30Add FT9xx for cdc_dual_portsGordon McNab
Fix handling of interrupt endpoints. i.e. no ZLPs. Fix the assignation of endpoint types. Add button support for MM900evx boards. On board support do not block for UART input.
2022-11-29Fix transfers issues with FT9xxGordon McNab
Correct USB FIFO use for setup data phases (OUT transfers). We cannot stop traffic on the control endpoint so we set a flag and pull data from host when tinyUSB requests it from the USB FIFO. Extend this for all endpoints although currently not required. Rename all instances of ft90x which can apply to ft93x as ft9xx. Add support for the cdc_dual_ports example for ft9xx. Add LED pin definition for board LED in a simple to access place on the Bridgetek MM900EVx boards.
2022-11-28Fix issue with the CDC SetLineCoding requestGordon McNab
The SetLineCoding would fail as host would send the SETUP OUT phase before tinyUSB had setup a transaction for it. ft9xx port would ignore the transfer since there was no valid transaction setup for it. One SETUP data phase packet is cached now.
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-28Merge branch 'master' into rp2040_warninghathach
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-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-09-09add other speed descriptor callback ↵hathach
tud_descriptor_other_speed_configuration_cb() example implement tud_descriptor_device_qualifier_cb() and tud_descriptor_other_speed_configuration_cb() on high speed device to fully compliant to usbcv
2021-08-26TD 9.12 remote wakeup testhathach
remove TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP attribute from non-hid examples
2021-06-12Rename SAM7X to SAMX7XMasterPhi
Signed-off-by: MasterPhi <[email protected]>
2021-06-12dcd: sam7x: rename family dcd to include the whole familyRafael Silva
Signed-off-by: Rafael Silva <[email protected]>
2021-06-11Add sketchy SAME70 DCD driver.HiFiPhile
2021-05-30don't override CFG_TUSB_OS in cdc_dual_ports examplegraham sanderson
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-07-21add note for MS OS 1.0 Descriptor at 0xEEhathach
2020-07-19minor clean uphathach
2020-07-16add tud_speed_get()hathach
- define both fs and hs configuration descriptor - rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-06correct EP Size for cdc dual and webusb examplehathach
2020-06-15clean up, update other example confighathach
2020-04-17update example to include CXD56 for highspeed modehathach
2020-03-31revise argument order for TUD_CONFIG_DESCRIPTOR macroPeter Lawrence
2020-03-30add provision for multiple configurationsPeter Lawrence
2020-03-03Merge pull request #280 from majbthrd/nuc505Ha Thach
add Nuvoton NUC505
2020-02-26Add langid to example cdc_dual_ports.Chang Feng
Signed-off-by: Chang Feng <[email protected]>
2020-02-07add Nuvoton NUC505Peter Lawrence
2020-01-11echo to both serial at oncehathach
2020-01-11clean examplehathach
2019-12-28implement multiple interfaces supportPeter Lawrence