summaryrefslogtreecommitdiff
path: root/src/class
AgeCommit message (Collapse)Author
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-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-20Fix formatting, get rid of all tabs.Reinhard Panhuber
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-20Merge branch 'master' into uac2Reinhard Panhuber
Conflicts: src/device/usbd.c
2020-06-20Get update from tinyusb.Reinhard Panhuber
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
2020-06-11Merge branch 'master' into uac2Reinhard Panhuber
2020-05-28Add bt hci device classJerzy Kasenberg
Code implements USB transport for bluetooth HCI.
2020-05-28check max_len for vendor and hidhathach
2020-05-28rename to drv_len to be consistenthathach
2020-05-28initial transfer failed in open() shouldn't cause the driver open to fail.hathach
2020-05-28update vendor open()hathach
2020-05-28update usbtmc open()hathach
2020-05-28update net open()hathach
2020-05-28update midi open()hathach
2020-05-28update hid open()hathach
2020-05-28improve mschathach
2020-05-28change signature for dfu runtimehathach
2020-05-27changing usbd driver open() return type, add max_lenhathach
only done with cdc and msc, push this interim for feedback first
2020-05-22Add basic UAC2 structure - untestedReinhard Panhuber