summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-20stm32u5: Fix submodules pathsJerzy Kasenberg
Local paths were commited to submodule definitions This just removes prefix for submodules path and name
2022-10-19Merge pull request #1680 from LynnL4/port-stm32u5xxHa Thach
Port stm32u5xx
2022-10-19Merge pull request #1668 from kkitayam/add_support_for_mjpegHa Thach
Add support for MJPEG on UVC
2022-10-19Merge pull request #1523 from maddyaby/dcd_edpt_openHa Thach
Allow more endpoint packet sizes for SAMD
2022-10-19Merge pull request #1691 from hadess/wip/hadess/fix-deps-typoHa Thach
Fix typo in getting_started guide
2022-10-18Fix typo in getting_started guideBastien Nocera
Fixes: 1234111 ("add get-deps target")
2022-10-18esp: Fix Isochronous transfersTomas Rezucha
On ESP32-S2/S3 ISO transfers must be configured for even or odd frame. Closes https://github.com/hathach/tinyusb/issues/1382
2022-10-17minor renamehathach
2022-10-15hid: add configurable report size for fidogaoyichuan
2022-10-15hid: add fido hid descriptor templatesgaoyichuan
2022-10-14Merge pull request #1646 from battlesnake/feedback-prototype-fixHa Thach
audio_device: prototype added for function referenced before use
2022-10-13(void) rhport for unused parametertswan-quasi
2022-10-13Add support for STM32U5 mcuLynnL4
2022-10-12double cast of pointer to remove errortswan-quasi
2022-10-12Fix pointer type to calculate streaming parameterkkitayam
2022-10-12Rename descriptor macros for consistencykkitayam
2022-10-11lpc55s69 isochronous, dummy address for endpoint buffers to prevent ↵tswan-quasi
accidental writes
2022-10-11Add stm32u5xx offical driver.LynnL4
2022-10-10Merge pull request #1623 from SudoMaker/masterHa Thach
Initial PIC32MM/MX & PIC24 support
2022-10-10Merge pull request #1664 from mingpepe/masterHa Thach
Fix typo for log in dcd_rp2040.c
2022-10-08Add motion jpegkkitayam
2022-10-07Fix max payload size to clip at 1023kkitayam
2022-10-06Fix pointerkkitayam
2022-10-06Microchip PIC24/dsPIC33 device mode supportReimuNotMoe
2022-10-05Fix typo for log in dcd_rp2040.cmingpepe
2022-10-03Fix descriptor searchingkkitayam
2022-09-17audio_device: prototype added for function referenced before useMark K Cowan
2022-09-13[rp2040] Wrap GCC pragmas in #ifdef __GNUC__Ben Avison
IAR generates warning Pe161 'unrecognized #pragma'.
2022-09-13IAR doesn't support __attribute__((fallthrough))Ben Avison
IAR generates warning Pa167 'the "fallthrough" attribute is not supported'. It doesn't generate warnings when one switch case falls through to another, so simply make TU_ATTR_FALLTHROUGH expand to an empty string. Also replace one instance of __attribute__ with the macro.
2022-09-13Move variable into its own curly-brace scopeBen Avison
IAR generates warning Pe546 'transfer of control bypasses initialization of variable "invInvTag"'.
2022-09-13Remove unused static dataBen Avison
This affects struct rspMsg in usbtmc_app.c (unconditionally) and uint8_t termChar in usbtmc_device.c (when NDEBUG is defined). IAR generates warning Pe550 'variable was set but never used'.
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-13Refactor pointer arithmetic on void*Ben Avison
This is a GCC extension, illegal in ISO C. IAR generates errors Pa152 'these operand types cannot be used here' and Pe852 'expression must be a pointer to a complete object type'. Replace with uint8_t*.
2022-09-13Fix compile errorskkitayam
2022-09-13Change images to MJPEGkkitayam
2022-09-13Merge pull request #1629 from jmark1m/masterHa Thach
Fix bug #1628 by preventing shared irq slots for filling up
2022-09-13Merge pull request #1642 from kasjer/kasjer/nrf5x-fix-out-iso-packet-size-reportHa Thach
nrf5x: Fix reception of large ISO packets
2022-09-13nrf5x: Fix reception of large ISO packetsJerzy Kasenberg
ISO packet size is up to 1023 for full speed device. Upon completion of ISO reception, reported length of incoming packet was truncated to one byte only. This results in incorrect data stream for higher bit rates 48 samples * 4 bytes per sample * 2 channels = 384 bytes of data and 128 was reported. There is no change in logic extending xact_len to uint16_t fixes the issue.
2022-09-13Merge pull request #1641 from hathach/fix-1634Ha Thach
re-added code in pr 1438 to fix compile with h7 with 1 usb otg
2022-09-13re-added code in pr 1438 to fix compile with h7 with 1 usb otghathach
2022-09-12[rp2040] Explicit cast value of `hw_set_alias`Ben Avison
Some compilers don't support the GNU extension `typeof` so their definitions of `hw_set_alias` can't inherit their type from their argument, and the best we can do is have `hw_set_alias` act the same as `hw_set_alias_untyped`. This requires an explicit cast when the macro is used instead, otherwise IAR generates error Pe132 'expression must have pointer-to-struct-or-union type but it has type "void *"'. The same goes for `hw_clear_alias`.
2022-09-12[rp2040] Remove non-portable return statementsBen Avison
IAR generates error Pe118 'a void function may not return a value'.
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-09-07Fix bug #1628 by preventing shared irq slots for filling upjmark1m
2022-09-03Initial PIC32MM/MX & PIC24 supportReimuNotMoe
2022-08-26Merge pull request #1614 from kasjer/kasjer/fix-nrf5x-with-isoHa Thach
nrf5x: Fix endpoint internal state when closed
2022-08-26nrf5x: Fix endpoint internal state when closedJerzy Kasenberg
Field started (regardind transfer) was only cleaed when transfer was finished. For audio devices set interface is called many times. When there is no audio (silence) set interface requests zero lenght bandwithd that in turn calls dcd_edpt_close(). When endpoint is closed due to set interface request transfer should not longer be started since it will block next start transfer with assert. This just sets 'started' to false when endpoint is closed.
2022-08-25Merge pull request #1613 from Lan-Hekary/video-descriptors-fixHa Thach
Remove Hardcoded interface numbers from video descriptors