summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2022-09-13Don't assume different enum types can be combinedBen Avison
IAR generates warning Pa089 'enumerated type mixed with another enumerated type'.
2022-09-13Don't assume ints automatically convert to enumsBen Avison
IAR generates warning Pe188 'enumerated type mixed with another type'.
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-09-12IAR declares strncasecmp in string.h not strings.hBen Avison
strings.h is not an ISO header file, so IAR generates fatal error Pe1696 'cannot open source file "strings.h"'. Even though strncasecmp isn't an ISO C library function, IAR's runtime library defines it, though it declares it in string.h instead.
2022-08-23Remove Hardcoded interface numbers from video descriptorsAhmed El-Sharnoby
Removing the Hardcoded interface numbers from the video descriptors allow the user to add other interfaces before or after the Video Control Interface and Video Streaming Interface
2022-08-03add 'stm32l052dap52' (STM32L052K8 MCU) board targetPeter Lawrence
'dap52' is Olimex's name of their STM32L052-based fork of 'dap42'
2022-07-19Merge pull request #1568 from hathach/revert-hid-callback-len-temporarilyHa Thach
temporarily revert len back to uint8_t in tud_hid_report_complete_cb() 0.14.0 release
2022-07-18Merge pull request #1531 from pigrew/usbtmc_highspeedHa Thach
USBTMC: Fixes and support for high-speed USB
2022-07-17temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for ↵hathach
up coming release
2022-07-12RP@040: rework CMake for compiler warningsgraham sanderson
2022-07-12minor update to webusb serial examplehathach
2022-07-11only enable warnings with approriate gcc version for rp2040hathach
2022-07-11Merge pull request #1543 from robert-hh/1170_0.13.0Ha Thach
mimxrt: Change the definitions for MIMXRT boards.
2022-07-11fix rt1050 evk build with latest mcu-sdkhathach
2022-07-11bump up mcux-sdk for rt11xx, add back OPT_MCU_MIMXRT11XXhathach
2022-07-01add get-deps targethathach
update ci to get-deps first
2022-06-29Merge pull request #1539 from hathach/improve-ciHa Thach
Improve ci
2022-06-29fix end symbol for samx7x and same5xhathach
2022-06-29skip freertos example for F1C100Shathach
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-27suppress error with net examplehathach
2022-06-27prevent error on specific warnings for net lwip & dual example for rp2040hathach
2022-06-27fix all warnings with host 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-27clean up usbd log levelhathach
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-24fix redundant-decls warnings by usbd/usbhhathach
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-16Merge pull request #1480 from Ryzee119/multihub_rebaseHa Thach
Host: Add support for multi-level usb hubs
2022-06-16add note for recursive calls of process_device_unplugged() in case of hubhathach
2022-06-06update all host exampleshathach
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-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-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-05-16print addres of mouse inputhathach
2022-05-11clean up examplehathach
2022-05-10clean uphathach