summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
2020-09-03New function to modify fifo overwritabilityJan Dümpelmann
2020-09-03Turn transmit fifo overwritable in no DTR modeJan Dümpelmann
2020-09-03Remove connected check for write flushingJan Dümpelmann
2020-09-03fix #449 remove obsolete pipehandle from hid hosthathach
2020-09-01add more logging to host stackhathach
tested host with lpc4357, don't use fpu with lpc m4 since it seems to cause hardfault (stack does not make use of fpu anyway).
2020-09-01Allow epin_buf to be written directly into in case no TX FIFOs are used.Reinhard Panhuber
This is helpful if you have already encoded audio data and want an efficient way to send it. However, this approach is NOT THREADSAFE so far and works realiably ONLY IF tud_audio_n_write_ep_in_buffer() is NOT called form an interrupt!
2020-09-01Merge branch 'master' into update-hosthathach
2020-08-29Fix comment.Reinhard Panhuber
2020-08-29Fix CFG_TUD_AUDIO_RX_FIFO_SIZE defines.Reinhard Panhuber
2020-08-29Change min to tu_min16.Reinhard Panhuber
2020-08-25audio_device: Change CFG_TUD_AUDIO_TX_BUFSIZE to CFG_TUD_AUDIO_TX_FIFO_SIZEJerzy Kasenberg
CFG_TUD_AUDIO_TX_BUFSIZE seems to be used only in 3 preprocessor condition while in other places CFG_TUD_AUDIO_TX_FIFO_SIZE is used.
2020-08-25audio_device: Fix NULL pointer access in audiod_xfer_cbJerzy Kasenberg
b_bytes_copied was pointer with NULL value instead of plain variable. NULL pointer was passed to audio_tx_done_cb() and dereference as well. Now variable is not a pointer.
2020-08-25audio_device: Fix FIFO element size discrepanciesJerzy Kasenberg
Buffer for TX and RX FIFO was not taking into account size of element leading to out of bound access. audio_tx_done_type_I_pcm_ff_cb() reported copied bytes was not returning correct value number if channels was omitted in computation. Transfer size calculation uses simpler arithmetic.
2020-08-24fix typohathach
2020-08-24improve midihathach
- fix #436 tud_midi_rx_cb() not invoked - fix xfer_cb() not handle ep in - add ZLP if needed
2020-08-24audio_device: Fix descriptor limit calculationJerzy Kasenberg
In several place p_desc_end calculation was not taking into account that starting pointer (_audiod_itf[idxDriver].p_desc) was pointing past interface association descriptor. It would result in accessing random memory.
2020-08-21Merge pull request #434 from gh2o/masterHa Thach
Add TX callback to CDC device
2020-08-20Fix formatting, get rid of all tabs.Reinhard Panhuber
2020-08-20Slight optimization for cdc tx refillGavin Li
2020-08-20Smarter CDC TX refill logicGavin Li
2020-08-19Commit before sharing.Reinhard Panhuber
Setup a test example - UNTESTED! Missing: Start transmitting audio data in set_interface.
2020-08-16Merge remote-tracking branch 'upstream/master' into uac2Reinhard Panhuber
Conflicts: src/device/usbd.c src/device/usbd.h src/portable/st/synopsys/dcd_synopsys.c
2020-08-16Add EP close. Fix bug in set_interface within audio.Reinhard Panhuber
2020-08-11use usbd_edpt_open in bth driverhathach
2020-08-07allow application driver to overwrite built-in onehathach
- position application driver before built-in - remove dcd.h from public include.
2020-08-01correct isr context for nrf DCD_EVENT_UNPLUGGEDhathach
also rename debug lookup to prevent conflict
2020-07-29Merge pull request #412 from hathach/fix-net-cast-alignHa Thach
suppress cast-align warnings for net device driver
2020-07-25Fix structure definition audio_control_range_X_n_tReinhard Panhuber
2020-07-25Merge remote-tracking branch 'upstream/master' into uac2Reinhard Panhuber
2020-07-25Get and set requests workReinhard Panhuber
2020-07-20Make definition of CFG_TUD_AUDIO_CTRL_BUF_SIZE mandatoryReinhard Panhuber
2020-07-20Implement control EP0 buffer and get rid of CFG_TUD_AUDIO_USE_TX_FIFOReinhard Panhuber
2020-07-19Implement all missing A.17 control selectorsReinhard Panhuber
2020-07-18Add A.17.4 - Terminal Control SelectorsReinhard Panhuber
2020-07-17add new name warning to cdc and midi (skip msc, hid warning for now)hathach
2020-07-17Intermediate commit.Reinhard Panhuber
2020-07-16rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZEhathach
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-07-16add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lunhathach
2020-07-16add tud_speed_get()hathach
- define both fs and hs configuration descriptor - rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
2020-07-10Improve comment on CDC tud_cdc_write_available()Craig Hutchinson
Fixes #460
2020-07-08Merge pull request #447 from hathach/add-stm-hsHa Thach
Add support for STM32 OTG HS core
2020-07-01fix dfu-rt to response to SET_INTERFACE and DFU_GETSTATUShathach
fix #450
2020-06-30Merge branch 'master' into add-stm-hshathach
2020-06-20Call tud_cdc_tx_cb right after flush to keep tx fifo fullGavin Li
2020-06-20Merge branch 'master' into uac2Reinhard Panhuber
Conflicts: src/device/usbd.c
2020-06-20Get update from tinyusb.Reinhard Panhuber
2020-06-18Add tx callback to cdc deviceGavin Li
Useful for continuous transmission of data, which is difficult currently because there is no notification of tx completion.
2020-06-17Fix IAR warnings.Mengsk
Pa039 : use of address of unaligned structure member. Pe188: enumerated type mixed with another type.
2020-06-16fix hs port1 build with net endpointhathach
2020-06-13Fix mic audio descriptor, fix too strict check on IAD desc. in usbd.cReinhard Panhuber