summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2021-04-20Fix pointer alt_setting to be cleared when driver gets initializedReinhard Panhuber
2021-04-14Improve user feedback in case of wrong configuration of audio driverReinhard Panhuber
2021-04-12Remove DFU mode and rtJeremiah McCarthy
2021-04-08Fix defines in audio_device.cReinhard Panhuber
2021-04-08Remove depracted defines in audio_device.cReinhard Panhuber
2021-04-07Resolve gcc warnings for no parameter functionsJeremiah McCarthy
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-06minor clean uphathach
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-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-03Fix wrong read mutexes in audio_device.cReinhard Panhuber
2021-04-03Fix wrong pointer type in audio_device.cReinhard Panhuber
2021-04-03Fix potential bug in support FIFO sizesReinhard Panhuber
2021-04-03Add missing #defines in uac2_headset exampleReinhard Panhuber
2021-04-03Fix error in #defines in uac2_headsetReinhard 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-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-02Merge pull request #766 from hathach/enhance-midiHa Thach
Enhance midi
2021-04-02correct midi stream read behavior to read until user buffer is full or no ↵hathach
more data from usb fifo
2021-04-02refactor midi read buffer to streamhathach
2021-04-02rename midi write()/read() to stream_write() stream_read()hathach
also add deprecated for warning and rename hint
2021-04-02removed tud_midi_write24()hathach
2021-04-02refactor midi write into streamhathach
2021-04-02refactor midi stream readhathach
2021-04-02fix midi tx fifo overflow cause data corruptionhathach
rename
2021-03-31code formathathach
2021-03-30remove tud_midi_read_flush()hathach
2021-03-30rename tud_midi_receive/send to tud_midi_packet_read/writehathach
2021-03-30correct hid key enter = 0x28, return = 0x9Ehathach
2021-03-30add hid keys from 0x6B to 0xA4hathach
2021-03-26Minor cleanupJeremiah McCarthy
2021-03-26Add DFU Class per Version 1.1 SpecJeremiah McCarthy
2021-03-18Merge pull request #724 from xmos-jmccarthy/masterHa Thach
USB TMC Updates
2021-03-17Implement requested changes for PR724Jeremiah McCarthy
2021-03-16Update usbtmc_device.cMichael Bruno
Fix buffer alignment in TMC device class
2021-03-14Intermediate commitReinhard Panhuber
2021-03-12use !tu_fifo_empty() instead of tu_fifo_count()hathach
2021-03-12Merge branch 'cdc_read' of https://github.com/HiFiPhile/tinyusb into ↵hathach
HiFiPhile-cdc_read
2021-03-11Add fifo empty check.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2021-03-10Merge remote-tracking branch 'upstream/edpt_ISO_xfer' into edpt_ISO_xferReinhard Panhuber