summaryrefslogtreecommitdiff
path: root/examples/device/cdc_dual_ports
AgeCommit message (Collapse)Author
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-07-12RP@040: rework CMake for compiler warningsgraham sanderson
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-07-17Merge branch 'master' into dcd_same70HiFiPhile
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-06-10Make examples standalone buildable via CMakegraham sanderson
2021-05-30Rework rp2040 examples and CMake build:graham sanderson
- Examples should be CMake buildable from their own subdirectory; such a build will error out based on matching .skip.MCU_xxx or a mismatched .only.MCU_ - It should be possible to build from a higher level and use .skip.MCU_ and .only.MCU_ to filter which examples get built - The intention is for the CMakeLists.txts in the examples to be non family specific and without MCU based IFs. I have started this work, but am not really sure the state of the esp32 stuff; in any case the plan is to have everything encapsulated in the FAMILY/family.cmake - pico_examples now just includes examples/device/CMakeLists.txt and examples/host/CMakeLists.txt directly, as they also build correctly when included from there. Note that .skip.MCU_ for esp32 in the directories it wasn't previously avaiable has not been added, as the .skip is common to the regular Makefile builds also. It isn't clear whether these examples should build for esp32, but if not .skip should be added.
2021-05-30don't override CFG_TUSB_OS in cdc_dual_ports examplegraham sanderson
2021-04-19cmake cleanuphathach
2021-04-11update rp2040 to use pico-sdk externallyhathach
also try to update ci
2021-03-18use boot2_generic_03h for adafruit feather rp2040hathach
- also use boot2_generic_03h for now for itsy bitsy and qt rp2040 - change default flash target for rp2040 to flash-pyocd
2021-03-18clean up some exampleshathach
2021-03-02update pico-sdk to more recent commithathach
- move target_link_libraries() to family.cmake - enable pico_bootsel_via_double_reset
2021-02-01added enumerate walkaround for RP2040-E5hathach
- PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1 - target linke pico_fix_rp2040_usb_device_enumeration
2021-01-26change output filename to BOARD-Directoryhathach
2021-01-25get all device example build with rp2040 (except freeRTOS)hathach
2021-01-24rp2040 dual cdc compiled and testedhathach
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