summaryrefslogtreecommitdiff
path: root/src/portable/st
AgeCommit message (Collapse)Author
2021-04-23Implement functions to allow for DMA usage in audio driver.Reinhard Panhuber
- Add tud_audio_n_get_ep_out_ff(), tud_audio_n_get_ep_in_ff(), tud_audio_n_get_rx_support_ff(), and tud_audio_n_get_tx_support_ff() - Change get_linear_read/write_info() to return linear and wrapped part at once - Adjusted affected code in audio_device.c and tested with audio_4_channel.
2021-04-15minor clean uphathach
2021-04-05revert dcd_edpt_xfer_fifo() implementation for stm32_fsdevhathach
2021-03-23Fix bug in writing to constant src/dst address.Reinhard Panhuber
Copying has to be conduct in full words (at least for STM32). Renamed copy function to tu_fifo_write_n_const_addr_full_words()
2021-03-02Change for copy modes in dcd_synopsis.cReinhard Panhuber
2021-03-02Rename dcd_edpt_iso_xfer() to dcd_edpt_xfer_fifo()Reinhard Panhuber
2021-02-23Implement dcd_edpt_iso_xfer() for dcd_da146xx.c BUT WITHOUT DMA SUPPORTReinhard Panhuber
2021-02-17Add (void *) for pointer cast.Reinhard Panhuber
2021-02-17Fix wrong tu_fifo_read_n() call in dcd_stm32_fsdev.cReinhard Panhuber
2021-02-17Fix bug in evasion buffer listReinhard Panhuber
2021-02-17Implement dcd_edpt_iso_xfer() for dcd_stm32_fsdevReinhard Panhuber
Implemented a special copy strategy to copy directly from the FIFO. This function, however, is untested and should be regarded as unreliable until somebody was able to test it
2021-02-14Change FIFO use indication to ff == NULL to avoid future errors.Reinhard Panhuber
This way people don't need to pay attention for the buffer pointer
2021-02-12Complete redesign of audio driver.Reinhard Panhuber
2021-01-31Rework audio driverReinhard Panhuber
2021-01-19Change names from edpt_ISO_xfer to edpt_iso_xferReinhard Panhuber
2021-01-18Correct include path to #include "common/tusb_fifo.h"Reinhard Panhuber
2021-01-18Implement dcd_edpt_ISO_xfer() and adapt transmission schemeReinhard Panhuber
2021-01-09Merge remote-tracking branch 'upstream/master' into edpt_ISO_xferReinhard Panhuber
2021-01-08fix cihathach
2021-01-08use dcd_event_bus_reset() with speed to replace bus_signalhathach
2021-01-08another renamehathach
2021-01-08remove inline for update_grxfsizhathach
2021-01-08more minor workhathach
2021-01-08minor clean up following pr581hathach
2021-01-04Correct function declarationReinhard Panhuber
2021-01-04Minor corrections for PRReinhard Panhuber
- externerlize code into functions - correct comments
2021-01-04Remove too verbose commentReinhard Panhuber
2021-01-04Start changes - not yet finishedReinhard Panhuber
2021-01-03Clean upReinhard Panhuber
2021-01-03Rework USB FIFO allocation scheme and allow RX FIFO size reductionReinhard Panhuber
2020-11-27fix cihathach
2020-11-27add bus suspend & resume support for esp32s2hathach
2020-10-24Move into if statementJacob Potter
2020-10-24CR feedback: compare CFG_TUSB_RHPORT1_MODE instead of using new macroJacob Potter
2020-10-18Allow use of internal FS PHY on OTG_HS interfaceJacob Potter
Some ST parts (like STM32F74xxx / STM32F75xxx) allow the USB_OTG_HS core to be used with either an external high-speed ULPI PHY or an internal full-speed-only (12mbps) PHY. Currently the code assumes than an ULPI PHY is used unless the chip has an internal high-speed PHY (`#if defined(USB_HS_PHYC)`), with no provision to use the internal FS PHY.
2020-10-11Merge pull request #520 from salkinium/feature/misc_enhancementsHa Thach
STM32F3 IRQ remap option and some minor improvements
2020-10-10Merge pull request #521 from PanRe/uac2Ha Thach
Uac2
2020-10-10Dynamically check STM32F3 IRQ remap optionNiklas Hauser
2020-10-09Revert dcd_alloc_mem_for_conf() but keep changes from @kasjer for ISO EPReinhard Panhuber
Add tud_audio_set_itf_close_EP_cb()
2020-10-06stm32: fix ISTR and CTR_RX/TX race conditionsGavin Li
2020-09-28Fix minor issue.Reinhard Panhuber
- Change set_EP0_max_pkt_size() to set_EP0_max_pkt_size(void).
2020-09-28Cleanup for PR.Reinhard Panhuber
2020-09-28synopsys: Fix odd/even frame handling for ISOJerzy Kasenberg
Current implementation always sets odd/even bit for ISO transactions. This is a good strategy only if interval is 1. For ISO endpoint interval in (micro)frames is computed as 2^(interval-1), which means that odd/frame number should stay same for interval values > 1. With this change only when interval is 1 odd/even bit is modified.
2020-09-28synopsys: Remove compilation warning in dcd_edpt_closeJerzy Kasenberg
dcd_edpt_close() no longer modifies FIFO distribution. Code that that was commented out is removed along with variables that are no longer used. FIFO distribution among endpoints is handled upfront and does not need to be modified in open and close endpoint functions.
2020-09-28synopsys: Fix fifo allocation schemaJerzy Kasenberg
Recommended FIFO allocation schema includes 2 maximum endpoint sizes. Comment suggested that this is the case while it would work according to this description only in checked endpoints were ascending sizes. Also two same size endpoints would be counted as one. That is fixed by way sz is filled. Calculation used too much modulo operation while single division was enough to account for odd FIFO sizes. Extra space that is evenly distributed between Bulk and control endpoints was incorrectly calculated it could prevent allocation of ISO endpoint FIFO when bulk endpoints existed with smaller endpoint numbers. Minimum endpoint FIFO size is 16 32bit words, FIFO space requirement is now observed.
2020-09-06Start of sampling works.Reinhard Panhuber
2020-09-04Merge remote-tracking branch 'upstream/master' into uac2Reinhard Panhuber
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