summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-07Revise per initial commentsJeremiah McCarthy
Returns the RT driver to the function state of previous iteration, which did not support the will_detach. Behavior should be fine without this feature. This removes much of the added bloat to track state, and handle requests in the APP_DETACH state which is no longer required. Removes the optional bloat added to the RT driver, such as responding to GETSTATE requests. Fixes the DFU Mode to extract the attr bits from the functional descriptor when opened. Fixes some incorrect bitwise if checks. Also, updates some naming of functions to be consistent with the rest of the library.
2021-04-07Optimize encode/decode - refactor unnecessary repetitive divisionReinhard Panhuber
2021-04-07more cleanuphathach
2021-04-07remove tu_fifo_backward_write/read_pointer APIhathach
since it is illegal from fifo perspective
2021-04-07more _ff_pull/push clean uphathach
2021-04-07clean up _ff_push_nhathach
2021-04-07use tu_unaligned_write32() for _ff_push_const_addrhathach
2021-04-07renamehathach
2021-04-07fix cast-align warninghathach
2021-04-06more clean up for _ff_pull_const_addr_in_full_words()hathach
2021-04-06refactor _ff_pull_n() with const addrhathach
2021-04-06minor clean uphathach
2021-04-06Merge branch 'master' of github.com:hathach/tinyusb into edpt_ISO_xferhathach
2021-04-06add tu_unaligned_read32/write32 (#772)Ha Thach
* add tu_unaligned_read32/write32 * added tu_unaligned_read16/write16 * add TU_ATTR_ALWAYS_INLINE, add to most of simple inline function
2021-04-06code formathathach
2021-04-05Add DFU runtime and mode "class"Jeremiah McCarthy
With the runtime and mode portions in separate classes, a single application should only be building with one or the other enabled. In some applications both might be desired at build time. The CFG_TUD_DFU_RUNTIME_AND_MODE option creates a DFU class, which asks the application which mode to initialize to. This allows a runtime change between RT and DFU mode, by just reinitializing tusb.
2021-04-05Remove unreachable callbackJeremiah McCarthy
2021-04-05Fix bug during initialization of DFU ModeJeremiah McCarthy
2021-04-05Separate DFU RT and Mode. UntestedJeremiah McCarthy
2021-04-06fix buildhathach
2021-04-06audio driver only use USE_LINEAR_BUFFER = 0 for stm32 synopsys driverhathach
2021-04-06revert dcd_edpt_xfer_fifo() implementation for esp32s2hathach
2021-04-06revert dcd_edpt_xfer_fifo() implementation for nuc120 121hathach
2021-04-06revert dcd_edpt_xfer_fifo() implementation for msp430hathach
2021-04-05Fix incorrect DNLOAD request len passed to appJeremiah McCarthy
Fixes bug where the app callback was getting the length of the status request transfer rather than the length of the data stage payload. TODO: Right now this returns the expected length, when it really should be returning the transfer length.
2021-04-05revert dcd_edpt_xfer_fifo() implementation for stm32_fsdevhathach
2021-04-04revert dcd_edpt_xfer_fifo() implementation for nuc505hathach
2021-04-04revert dcd_edpt_xfer_fifo() implementation for samghathach
samg fifo is accessed byte by byte (although the register is 32 bit).
2021-04-03Fix wrong read mutexes in audio_device.cReinhard Panhuber
2021-04-03Fix uac2_headset include hassle be declaring value by handReinhard Panhuber
2021-04-03Fix uac2_headsetReinhard Panhuber
2021-04-03Fix wrong pointer type in audio_device.cReinhard Panhuber
2021-04-03Fix uac2_headset exampleReinhard Panhuber
2021-04-03Fix potential bug in support FIFO sizesReinhard Panhuber
2021-04-03Fix typo in uac2_headsetReinhard Panhuber
2021-04-03Fix old defines in uac2_headsetReinhard Panhuber
2021-04-03Add missing #defines in uac2_headset exampleReinhard Panhuber
2021-04-03Fix #define error in uac2_headsetReinhard Panhuber
2021-04-03Fix error in #defines in uac2_headsetReinhard Panhuber
2021-04-03Fix #define in audio_testReinhard Panhuber
2021-04-03Fix #define error in audio_device.hReinhard Panhuber
2021-04-03Fix #define error in audio_device.hReinhard Panhuber
2021-04-03Fix #define errors in audio_device.hReinhard Panhuber
2021-04-03Delete old settingsReinhard Panhuber
2021-04-03Merge remote-tracking branch 'upstream/master' into edpt_ISO_xferReinhard Panhuber
2021-04-03Generalize audio driver for 3 audio functions plus a lot more.Reinhard Panhuber
- Audio format and parameters are parsed from descriptors thus user no longer needs to give them explicitely - Tested for 4 channel software type I PCM encoding with 16 bit with 1 channel per FIFO and 2 channels per FIFO (this is I2S specific)
2021-04-02update readme and contributors for renesas rx63n and silabs efm32gg12 port ↵Ha Thach
(#767) * update readme and contributors for renesas rx63n and silabs efm32gg12 port also add some doc for changelog * typo * update more boards * more typo * typo 3
2021-04-02Merge pull request #766 from hathach/enhance-midiHa Thach
Enhance midi
2021-04-02revert make optimize flaghathach
2021-04-02correct midi stream read behavior to read until user buffer is full or no ↵hathach
more data from usb fifo