summaryrefslogtreecommitdiff
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-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-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-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
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-23Merge pull request #1611 from hathach/fix-release-bodyHa Thach
try to fix release body in tinyusb_src (not tested)
2022-08-23try to fix release body in tinyusb_src (not tested)hathach
2022-08-23Merge pull request #1609 from hathach/release-0.14.0-p20.14.0Ha Thach
update repository.yml
2022-08-23update repository.ymlhathach
2022-08-19Update feature_request.ymlHa Thach
2022-08-19Merge pull request #1569 from hathach/release-0.14.0Ha Thach
increase version to 0.14.0 for release
2022-08-19more docs updatehathach
2022-08-17Merge pull request #1603 from Ryzee119/hub_improvHa Thach
Host hub clear port and device interrupts
2022-08-16Hub: Clear other port feature changesRyzee119
2022-08-16Hub: Handle hub device status change interruptRyzee119
2022-08-15Merge pull request #1489 from kasjer/kasjer/fix-nrf5x-dma-accessHa Thach
nrf5x: Fix DMA access
2022-08-15Hub: Rename port status callback to be more genericRyzee119
2022-08-15Hub: Expand hub helpers to handle device eventsRyzee119
2022-08-10Merge pull request #1597 from kasjer/kasjer/dfu-coexistenceHa Thach
dfu: Allow DFU coexistence with other interfaces (BTH, RNDIS, future one)
2022-08-10Merge pull request #1588 from majbthrd/stm32l052Ha Thach
add 'stm32l052dap52' (STM32L052K8 MCU) board target
2022-08-09dfu: Allow DFU coexistence with other interfacesJerzy Kasenberg
dfu_moded_open() only works correct when its called on DFU interface descriptor. It means that DFU is the only one interface in configuration or driver is called after all others interface drivers were tried and gave up. If other interface is supported and but driver for DFU is called first (this is the case for BTH and RNDIS). Code after while loop (that was not entered) has an TU_ASSERT that will make set_configuration to fail. Now TU_VERIFY is called first to make sure open code is called for DFU only and not other interface descriptors like in other drivers.
2022-08-03add 'stm32l052dap52' (STM32L052K8 MCU) board targetPeter Lawrence
'dap52' is Olimex's name of their STM32L052-based fork of 'dap42'
2022-08-01Merge pull request #1586 from hathach/fix-TUD_OPT_HIGH_SPEEDHa Thach
fix issue with TUD_OPT_HIGH_SPEED
2022-08-01fix issue with TUD_OPT_HIGH_SPEEDhathach
2022-07-28update issue templatehathach
2022-07-25update dochathach
2022-07-19Merge pull request #1514 from maddyaby/audiod_typoHa Thach
Fix typo in audiod_rx_done_cb in audio_device.c
2022-07-19increase version for releasehathach
along with minor doc update
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-14Merge pull request #1554 from kilograham/rp2040_warning2Ha Thach
Rework CMake example warnings some more
2022-07-14abtract attribute fallthroughhathach
2022-07-12disable bad gcc 6 warninggraham sanderson
2022-07-12RP@040: rework CMake for compiler warningsgraham sanderson
2022-07-12Merge pull request #1552 from hathach/fix-old-gccHa Thach
Fix warnings when compiling rp2040 with older version of gcc
2022-07-12minor update to webusb serial examplehathach
2022-07-12fix incorrect null-dereference warnings when compiling with gcc7hathach
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-09USBTMC: explicit type conversions fixNConrad
2022-07-01Merge pull request #1544 from hathach/ci-parallel-buildHa Thach
Ci parallel build