Commit Graph

484 Commits

Author SHA1 Message Date
hathach
dd1822ba03 reduce ep stream footprint by using is_mps512 since it only support bulk so far 2024-09-10 18:37:53 +07:00
hathach
3ab63fbc65 remove vendor ep_addr, use stream api instead 2024-09-10 18:27:22 +07:00
hathach
7373a02396 minor clean up 2024-09-10 18:13:38 +07:00
hathach
cc816dc9c0 change edpt stream api to take hwid from API to reduce memory footprint 2024-09-10 17:41:20 +07:00
hathach
c0030810dd update edpt_stream to support non-buffered (no fifo) mode 2024-09-10 16:15:51 +07:00
hathach
867f17acea change vendor device to use edpt stream API 2024-09-10 10:44:22 +07:00
hathach
088486186f rename TUD_ENDPOINT_EXCLUSIVE_NUMBER to TUD_ENDPOINT_ONE_DIRECTION_ONLY 2024-08-19 19:05:33 +07:00
hathach
8fdd8d9a7b implement dcd_edpt_iso_alloc/dcd_edpt_iso_activate for musb. video_capture example with iso kind of work but not smoothly. audio example does not seems to work as expected 2024-08-19 12:04:24 +07:00
hathach
a6bee747b6 define and use TUD_ENDPOINT_EXCLUSIVE_NUMBER 2024-08-17 18:07:36 +07:00
hathach
eaf9cc1beb more refactor to simplify musb driver 2024-08-17 13:33:53 +07:00
hathach
a9df933e0d add TUP_USBIP_MUSB macro, minor rename 2024-08-15 15:24:04 +07:00
hathach
761399b5e0 Merge branch 'refs/heads/master' into fork/BrentK-ADI/max32_port 2024-08-14 06:33:42 +07:00
Scott Shawcroft
00eb0144cb Fix ESPs without device support
The newer tusb_option.h assumes that there is a number of device
endpoints to check against.
2024-08-08 12:55:30 -07:00
hathach
6fb6602a09 - add tud_cdc_n_ready() though not used
- usbd now change _usbd_dev.cfg_num before calling driver's open()
2024-07-19 18:08:04 +07:00
hathach
4ce1cce40a simplify dwc2 test mode
- all dwc2 ip seems to support test mode in both fs/hs -> remove TUP_USBIP_DWC2_TEST_MODE
- remove dcd_check_test_mode_support(), all should be supported
- move enum tusb_feature_test_mode_t to tusb_types.h
2024-07-12 20:17:14 +07:00
Brent Kowal
2353c4ffba Add MAX78002 Support
-Added support for MAX78002, MAX78002EVKIT
 -Added provisions for remaining MAX32 USB parts
2024-07-01 17:31:38 -04:00
Brent Kowal
0f288326cc Initial Commit for MAX32 Support
Initial commit for the port of TUSB to MAX32xxx parts, staring with MAX32690
 - Added dcd_max32.c (based on dcd_musb.c) for interfacing with the peripheral
 - Added MAX32690 part family support
 - Added max32690evkit board support
 - Updated examples for unique EP number requirement
 - Updated get_deps.py to fetch the MSDK

Known Issues / Additional Testing Required
 - msc_dual_lun only shown 1 volume on Windows
 - USBTMC does not have a valid Windowsdriver
 - DFU does not have a valid Windows driver
 - WebUSB is "Device not Recognized"
 - Need to test build scripts with IAR and Clang
2024-06-28 16:55:27 -04:00
Ha Thach
007a8bd46d Merge pull request #2672 from tinic/master
Add support for STM32U535xx/STM32U545xx
2024-06-15 10:56:24 +07:00
hathach
33f5547ed4 add ch32v103 bsp support, compile but does not run, probably due to compile/linker issue 2024-06-14 16:06:37 +07:00
Tinic Uro
bc576e7cee Make it work. 2024-06-12 08:33:10 -07: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
hathach
927015baae wch usbfs/usbhs need to specify which driver to use. for v307 default to highspeed 2024-05-24 11:38:44 +07:00
Ha Thach
a068b81674 Merge pull request #2362 from dragonlock2/master
Add CH32V20x USB OTG/FS Driver
2024-05-20 18:47:22 +07:00
hathach
b19295c1c1 use correct wch usbhs, usbfs for ch32v307 using CFG_TUD_MAX_SPEED 2024-05-20 17:26:04 +07:00
hathach
5fee292606 temp code 2024-05-20 11:54:48 +07:00
Ha Thach
ccc7a36043 Merge pull request #2648 from tannewt/esp32c2_h2
Add esp32c2 and esp32h2 for max3421 support
2024-05-17 11:01:30 +07:00
Scott Shawcroft
d3098747c0 Add esp32c2 and esp32h2 for max3421 support 2024-05-16 11:17:05 -07:00
Matthew Tran
db60fa1c63 add CH32V20x USB OTG/FS driver 2024-05-15 20:01:00 +07:00
HiFiPhile
e250b82377 Adjust logic. 2024-05-13 22:26:19 +02:00
HiFiPhile
0fce7d1f54 Merge branch 'master' into test-mode-support 2024-05-13 21:08:11 +02:00
Ha Thach
104a5daef4 Merge pull request #2618 from HiFiPhile/fifo_const_split
tusb_fifo: skip constant address functions if not used
2024-05-06 18:31:29 +07:00
hathach
ea3f1d39e8 add cmake for pi zero (renamed from pi zero_w), build but the flash size seem wrong (only 24 bytes for text) 2024-05-02 13:29:29 +07:00
HiFiPhile
c303b5d81d Guard const addr fifo functions with TUP_MEM_CONST_ADDR. 2024-04-29 22:35:55 +02:00
hathach
223ce56625 - add esp32 c3, c6 mcu option
- skip breakpoint for espressif riscv
2024-04-26 00:10:57 +07:00
hathach
03ccc8d8df revert a change in tusb_mcu 2024-04-25 20:41:44 +07:00
hathach
2e995d7cf4 adding support for esp32 for use with max3421e host 2024-04-25 20:23:40 +07:00
HiFiPhile
5f473d51cf Fix IAR breakpoint test. 2024-04-25 11:51:04 +07:00
hathach
3442a87d5b - clang h743 build and run cdc_msc ok
- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
2024-04-19 23:16:57 +07:00
hathach
1e41b9725a remove the usage of TU_BIT() and TU_GENMASK() from tusb_types.h 2024-04-10 10:13:36 +07:00
hathach
6c2f71ad19 make veryfi static in ccrx consistent with the rest 2024-04-09 17:12:15 +07:00
Matthias Schär
5c7876d444 Fixed behavior of the PRCR register. Previous write protection will be recovered. 2024-04-09 12:13:38 +07:00
Ha Thach
872864e397 Merge pull request #2567 from HiFiPhile/iso_alloc
ISO endpoint allocation improvments
2024-04-08 16:24:50 +07:00
hathach
caf2c5e0b7 reverted un-related file changes 2024-04-05 17:04:33 +07:00
HiFiPhile
db28437218 Move endpoint alloc define to tusb_mcu.h 2024-04-02 20:54:33 +02:00
hathach
18a458679f Merge branch 'master' into MCX 2024-04-02 18:14:49 +07:00
hathach
5774ac9886 add tu_edpt_stream_deinit() 2024-03-22 12:53:31 +07:00
hathach
2cf171095e code format 2024-03-22 12:45:23 +07:00
Ha Thach
21de8245ae Merge pull request #2168 from emb4fun/nxp_k64
Added support for the NXP K64 series
2024-02-24 01:11:01 +07:00
Jerry Palacios
ec91660119 Revert "Merge branch 'hathach:master' into MCX"
This reverts commit 6afd4a5789, reversing
changes made to 5c14bd13da.
2024-02-22 16:11:23 -06:00