summaryrefslogtreecommitdiff
path: root/examples/device
AgeCommit message (Collapse)Author
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-27suppress error with net examplehathach
2022-06-27prevent error on specific warnings for net lwip & dual example for rp2040hathach
2022-06-27fix all device examples warningshathach
2022-06-27Merge branch 'master' into add-more-warningshathach
2022-06-27change report len in hid API from uint8_t to uint16_thathach
since HS interrupt endpoint can be up to 1024, 8-bit is not enough. affected APIs are: - tud_hid_n_report() / tud_hid_report() - tud_hid_report_complete_cb()
2022-06-27fix most warnings with rp2040 -wconversionhathach
2022-06-24USBTMC: Update test python code to use the new pyvisa namespace, and other ↵NConrad
misc fixes
2022-06-24suppress redundant-decls warnings for freertos exampleshathach
2022-06-24add more warning option, also fix -Wconversion with rp2040hathach
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-21Update USBTMC descriptors to support high speed, set USB version to 2.0.0 ↵NConrad
for all cases.
2022-06-17correct bulk size for highspeed endpoint in dynamic_configuration and usbtmc ↵hathach
exmaples
2022-06-06more example updatehathach
2022-06-06clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of ↵hathach
CFG_TUSB_RHPORT0_MODE
2022-06-03remove static port defined for device/hosthathach
2022-06-02rhport argument in usbd_ API() is not used (always use the initialized port)hathach
remove the usage of TUD_OPT_RHPORT in class driver
2022-06-02rework make freertos port handlingRafael Silva
this allows ports to specify a freertos port outside the FreeRTOS-Kernel lib directory, which would otherwise not be possible Signed-off-by: Rafael Silva <[email protected]>
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-06-01remove cmake compile macro for net example (use lwipopts.h instead)hathach
2022-05-28Fix printf long int compiler errorLeon Loeser
2022-05-21Merge branch 'master' into ch32v307Ha Thach
2022-05-20Minor cleanup of RP2040 code post addition of Pico-PIO_USBgraham sanderson
* Removed some compiler warnings, and cleaned out unnecessary warning suppression from CMake suppress_tinyusb_warnings() * Made explicit family_configure_dual_usb_example() for DUAL mode examples as family_configure_target() may not generally be called multiple times for the same target * Renamed library pico_pio_usb to tinyusb_picio_pio_usb to be clearer and avoid conflict if someone already has a pico_pio_usb in their project * Added family_add_pico_pio_usb() method for adding Pico-PIO_SUB support to an existing example * Allowed tinyusb_pico_pio_usb to be added to regular apps using the Pico SDK
2022-04-27clean uphathach
2022-04-27add TU_ATTR_FAST_FUNC for rp2040 __not_in_flash() sectionhathach
2022-04-21Merge branch 'master' into pio-hosthathach
2022-04-20update example for better cdc echohathach
2022-04-20add note for tud_task() behavior in freertos examplehathach
2022-04-20add tud_task_ext(), tuh_task_ext() as exteneded version that take timeout ↵hathach
and in_isr also allow exit tud_task,tuh_task after processing all events for running other background task for user
2022-04-20fix freertos issue when 1 tick > 1 mshathach
2022-04-15pio device works wellhathach
2022-04-14catch up with pio libhathach
2022-04-08proof of concpet that device pio-usb work with host pio-usbhathach
2022-03-22Skip freertos for ch32v307Greg Davill
2022-03-09Merge pull request #1360 from ccrome/uac2_headset_descriptor_updateHa Thach
in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR, _nitfs should be 3.
2022-03-04fix build with esp32s2, also use dwc2 for esp examplehathach
2022-03-01in TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR, _nitfs should be 3.caleb crome
I believe that there is a mistake in the definition of TUD_AUDIO_HEADSET_STEREO_DESCRIPTOR. The nitfs in the audio descriptor is always 3 regardless of ITF_NUM_TOTAL.
2022-02-25fix uac2_headset buildhathach
2022-02-25auto detect max rhport speed based on mcuhathach
2022-02-18fix build with latest esp idfhathach
2022-02-15msc example response PREVENT_ALLOW_MEDIUM_REMOVAL command as unsupported commandhathach
LUN1 of msc_disk_dual will be set to not ready to simulate medium not present (e.g SD card removed)
2022-01-25Merge branch 'master' into masterHa Thach
2022-01-19enable ci build for RX65X host examplehathach
update comment for unit not ready 3a-00 additional sense
2022-01-17Merge pull request #1276 from kkitayam/fix_video_capture_frame_intervalHa Thach
Fix video_capture example fails enumeration when 8FPS
2022-01-17Merge branch 'master' into port-ft90xHa Thach
2022-01-13Fix dwFrameIntervalStep and dwMaxFrameIntervalkkitayam
dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by dwFrameIntervalStep.
2022-01-05Skip dfu and usbtmc on pi zeroScott Shawcroft
2022-01-05Unify skip and only logic for build scriptsScott Shawcroft
And switch to a single file that can include mcu, family or board.
2022-01-05Skip net and freertos examplesScott Shawcroft
2021-12-29skip freertos example for f1c100shathach
2021-12-15Update midi_test endpoints and FT9xx codeGordon McNab