summaryrefslogtreecommitdiff
path: root/src/portable
AgeCommit message (Collapse)Author
2024-03-31move walkaround to dcd_ep_ctr_rx_handler(), increase cycle_count from 10 to ↵hathach
20 (40 cycle)
2024-03-31rename dcd_stm32_fsdev_pvt_st.h to simply dcd_stm32_fsdev.hhathach
2024-03-31code formathathach
2024-03-31minor clean uphathach
2024-03-30Code refactor.HiFiPhile
2024-03-30Flush FIFO on bus reset.HiFiPhile
2024-03-30dwc2: add endpoint allocation support.HiFiPhile
2024-03-29fix rp2 debug build with level 3hathach
2024-03-26implement hcd_deinit() for max3421hathach
2024-03-25Merge pull request #2515 from Lurcy38/ReAlignMasterHa Thach
2024-03-25fix pre-commitHa Thach
2024-03-25Update dcd_stm32_fsdev_pvt_st.hHa Thach
2024-03-24Merge pull request #2472 from cdesjardins/masterHiFiPhile
Do not enable the Mode mismatch interrupt source, it is not cleared
2024-03-22Merge pull request #2526 from hathach/fix-uvc-hardfaultHa Thach
Fix uvc hardfault
2024-03-21Merge pull request #2527 from tannewt/idf5.2.1Ha Thach
Tweaks for ESP-IDF 5.2.1
2024-03-20Tweaks for ESP-IDF 5.2.1Scott Shawcroft
2024-03-20improve uvc debug messagehathach
2024-03-14dcd_stm32_fsdev.c: Fix a bug seend with stm32h5xxx when the driver is ↵henneboi
compiled with cubeide O1/O2/O3
2024-03-13- only abort ep0 if it is activehathach
- rename reset_ep0_pid() to reset_ep0() - minor update log message
2024-03-12Merge branch 'master' into fix-rp2040-ctrl-xferhathach
2024-03-11reformat codehathach
2024-02-26work around possible RP2040 erratumTaylor Yu
RP2040 device controller does not seem to clear pending transactions configured in EP0 buffer controls when the host aborts a control transfer. This causes assertion failures, including when a buffer AVAILABLE flag set for a previous transfer causes an unexpected transaction completion.
2024-02-24only save/restore CLK_RECOVER_IRC_EN/CTRL if ↵hathach
FSL_FEATURE_USB_KHCI_IRC48M_MODULE_CLOCK_ENABLED is defined to 1
2024-02-24Merge pull request #2168 from emb4fun/nxp_k64Ha Thach
Added support for the NXP K64 series
2024-02-24fix build with cpu without USB_CLK_RECOVER using old dcd_khci driverhathach
2024-02-24frdm k64f usb work well, add kinetis_k to ci cmakehathach
2024-02-20Merge pull request #2463 from kasjer/kasjer/nrf5x-isoout-corruption-detectionHa Thach
nrf5x: Handle ISOOUT CRC errors
2024-02-19fix wrong volatile usage in ohci gtdHa Thach
2024-02-15Do not enable the Mode mismatch interrupt source, it is not clearedChris Desjardins
If this interrupt ever hits it will result in an infinite interrupt loop as it is never cleared.
2024-02-12nrf5x: Handle ISOOUT CRC errorsJerzy Kasenberg
NRF5x USB controller can detect ISO OUT CRC errors. In such case USBEVENT is signaled with EVENTCAUSE_ISOOUTCRC set. Even if controller detects corrupted ISO OUT packet it allows to data transfer from ednpoint to RAM however packet is corrupted and code could just as well drop packet altogether. With current implementation incoming ISO OUT packets were put in FIFO and exact information how much data already in FIFO is correct was hard to keep track of. If was observed that on certain configurations HS hub when FS device was connected occasionally sent invalid (short) packet. In such case if packet length was reported odd audio stream was not recognizable any more. With this change corrupted packets are not passed to upper layers and are silently dropped.
2024-02-04Merge branch 'hathach:master' into nxp_k64Michael Fischer
2024-02-01Merge branch 'master' into src/portable/synopsys/dwc2/fix_sof_int_handlingHiFiPhile
2024-01-12Merge pull request #2401 from Ryzee119/ohci_more_devHa Thach
[OHCI] Allow more than 16 devices
2024-01-12Merge pull request #2402 from Okarss/masterHa Thach
[STM32 FSDEV] Fix ISR race conditions
2024-01-11[STM32 FSDEV] Align names for consistencyOkarss
2024-01-11move gtd extra out of control struct to save sramhathach
also rename gtd_data to gtd_extra
2024-01-11[STM32 FSDEV] Introduce a typedef for bus access widthOkarss
2024-01-10Disable ULPI clock during sleep on stm32f7 when using internal phyAlex Voinea
2024-01-10[OHCI] Allow more than 16 devicesRyzee119
2024-01-10[STM32 FSDEV] Fix ISR race conditionsOkarss
2023-12-26allow rp2040 to use max3421e as host controllerhathach
- fix warnings build hcd max3421 with rp2040 - add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1 will enable this - add max3421 driver implementation for rp2040 family - update tusb_config for host to allow easy enable host selection for rp2040 (default/pio-usb/max3421)
2023-12-21dcd_nrf5x: Fix dcd_edpt_open for iso endpointJerzy Kasenberg
When ISO endpoint handling was introduced two lines that clear stall and data toggle bit were left unchanged and they were effective for ISO enadpoint as well. This is incorrect behavior since EPSTALL and DTOGGLE registers have only 3 bits for address. Leaving code that clears toggle bit results in endpoint 0 toggle bit being reset when iso endpoint (8) is opened. Now code that clears stall and toggle bit is applied to non-iso endpoint only as it was done before iso handling was introduced.
2023-12-13Fix CI & typo.HiFiPhile
2023-12-12Add Support stm32h5 for stm32h573i based on stm32_fsdev G0 implementation ↵henneboi
Tested on Windows with IAR and gcc toolchain ( via cubeide) Tested only with audio examples, but sould be ok for other examples Cmake pacthed : but not tested Linux build : not tested Added a temporary workaround in make file to support H5 HAL repo ( ARMCC_VERSION=0)
2023-11-29Merge pull request #2346 from IngHK/LogLineEndsHa Thach
made log line end consistent \r\n
2023-11-24made log line end consistent \r\nIngHK
2023-11-24Merge branch 'master' into feature/ch32f20xHa Thach
2023-11-22fix h7 running on fullspeed phy has issue with WFI if not disable ULPI clockhathach
2023-11-22add spec version to dwc2 infohathach
2023-11-20add tuh_max3421_reg_read(), tuh_max3421_reg_read() for application usagehathach
added max3241 for feather m4 and tested