Commit Graph

144 Commits

Author SHA1 Message Date
hathach
4de46fcf97 fix a bug in fsdev introduced by #1942 2024-07-22 21:07:28 +07:00
Ha Thach
044f4d1801 Merge pull request #2676 from Okarss/fsdev_documentation
[FSDEV] Update the STM32 documentation
2024-06-21 20:45:44 +07:00
Okarss
5083d1eb33 Update Host mode information for FSDEV devices 2024-06-18 12:12:44 +03:00
Ha Thach
007a8bd46d Merge pull request #2672 from tinic/master
Add support for STM32U535xx/STM32U545xx
2024-06-15 10:56:24 +07:00
Okarss
5f060a357d Update the STM32 documentation 2024-06-14 21:23:17 +03:00
Okarss
fb6a6acbff Revert the DSB because of RISC-V 2024-06-14 18:39:48 +03:00
Okarss
00062ddb0c [STM32 FSDEV] Simplify toggle bit logic 2024-06-14 18:16:09 +03:00
Tinic Uro
60d7fcb1ee Use correct backend. 2024-05-30 13:26:14 -07:00
hathach
4ce439a75a add ch32 support for fsdev driver. v20x can select fsdev or usbfs with make/cmake PORT=0/1. default to fsdev 2024-05-24 13:58:44 +07:00
Ha Thach
fb21b6a67d Merge pull request #2134 from clhenry/non-bus-powered-re-enumeration
Non-bus-powered MSP430 support.
2024-04-15 23:14:10 +07:00
hathach
bf649988ef add blocking delay for msp430 with max 25mhz 2024-04-15 12:06:13 +07:00
HiFiPhile
049ceda315 Implement dcd_edpt_close_all() 2024-04-11 22:02:59 +02:00
HiFiPhile
dfef0bc81b Cleanup 2024-04-11 22:01:57 +02:00
hathach
0f775630c7 rename, invert logic for iso_in_sending. Also limit its usage to ISO endpoint 2024-04-11 20:53:44 +07:00
hathach
535571c3d2 - remove redundant call of pcd_set_ep_rx_cnt()
- minor code format
2024-04-11 19:25:02 +07:00
HiFiPhile
402b084646 Format doc. 2024-04-09 23:00:29 +02:00
HiFiPhile
146c3c6945 Cleanup. 2024-04-09 22:59:48 +02:00
HiFiPhile
c0824472e8 Enable double buffer only for PMA > 1024b 2024-04-09 22:15:18 +02:00
HiFiPhile
472996e2bf Ignore spurious RX interrupt. 2024-04-09 18:32:03 +02:00
HiFiPhile
973d29acd0 Rework ISO double buffering. 2024-04-09 18:32:03 +02:00
HiFiPhile
bf3e9b8653 Refactor edpt_xfer(), support double buffering in dcd_pma_alloc(). 2024-04-09 18:32:02 +02:00
HiFiPhile
00db422745 Cleanup ep/pma free, ISO ep should use alloc/activate. 2024-04-09 18:32:02 +02:00
hathach
fc54ad43b1 move walkaround to dcd_ep_ctr_rx_handler(), increase cycle_count from 10 to 20 (40 cycle) 2024-03-31 21:54:40 +07:00
hathach
27afa56844 rename dcd_stm32_fsdev_pvt_st.h to simply dcd_stm32_fsdev.h 2024-03-31 18:42:49 +07:00
Okarss
2d3d148912 [STM32 FSDEV] Align names for consistency 2024-01-11 21:02:14 +02:00
Okarss
545821399b [STM32 FSDEV] Introduce a typedef for bus access width 2024-01-11 00:59:39 +02:00
Okarss
0d4b24e56c [STM32 FSDEV] Fix ISR race conditions 2024-01-10 05:43:20 +02:00
HiFiPhile
f3d713ac73 Fix CI & typo. 2023-12-13 14:32:23 +01:00
henneboi
93c40b6966 Add Support stm32h5 for stm32h573i based on stm32_fsdev G0 implementation 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-12-12 16:04:21 +01:00
Mengsk
412b557a08 Cleanup unnecessary code for 16bit access. 2023-04-17 15:34:20 +02:00
HiFiPhile
818bda18c2 Fix FIFO transfer and buffer alignment. 2023-04-14 23:37:07 +02:00
HiFiPhile
2f2c8ce9ec Fix GCC build. 2023-04-14 21:00:55 +02:00
HiFiPhile
413b0a7da5 Use PLL clock. 2023-04-14 17:12:47 +02:00
HiFiPhile
cbf4b1aec8 Merge branch 'master' of https://github.com/hathach/tinyusb into pr1942 2023-04-14 13:16:52 +02:00
John Cronin
718bcdb8bc Add STM32L5 support - no OTG similar to some L4s 2023-04-03 13:56:16 +01:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
Hubert Denkmair
f8a21fff17 dcd_write_packet_memory: use volatile modifier for destination pointer 2023-03-12 15:51:07 +01:00
Hubert Denkmair
410ad4d0f9 add basic STM32G0 support 2023-03-08 12:05:58 +01:00
hathach
5d3084a714 add TUP_USBIP_FSDEV and TUP_USBIP_FSDEV_STM32, clean up ifdef with stm32 2023-03-01 11:22:04 +07:00
hathach
ffdc100cb9 rename ep_num to ep_idx, minor clean up 2023-02-28 17:11:59 +07:00
Mengsk
8db462bf6e Add fix to dcd_edpt_iso_activate() 2023-01-05 16:54:42 +01:00
Simon Kueppers
d6b612257e Fixed bug where with some devices, the TU_ASSERT inserted with this commit gets triggered for ISOCHRONOUS endpoints. It is necessary for those endpoints to set the NUM_BLOCK and BLSIZE for the receiving buffer in both, USB_COUNTn_TX and USB_COUNTn_RX. Despite the datasheet showing those fields only for the USB_COUNTn_RX register 2023-01-05 16:23:53 +01:00
Mengsk
69475cd1bf Remove tu_stm32_sof_cb 2023-01-02 12:06:26 +01:00
Mengsk
fc32280f42 Fix buffer allocation overflow. 2022-12-30 15:10:00 +01:00
Mengsk
21bdafcfef Add ISO buffer allocation. 2022-12-30 01:08:04 +01:00
Mengsk
07ad64adfe Do not set USB_EP_RX_NAK for ISO EP. 2022-12-29 23:30:24 +01:00
Mengsk
0bd41d5354 Fix CI. 2022-12-29 21:37:44 +01:00
Mengsk
fe8c170c98 Add dcd_edpt_iso_alloc() / dcd_edpt_iso_activate() for ISO EP buffer management. 2022-12-29 19:19:27 +01:00
Mengsk
cece59df22 Generally enable ISO xfer. 2022-12-29 12:33:44 +01:00
Mengsk
ef2f17a514 Add hardware endpoint allocator. 2022-12-29 12:33:43 +01:00