Commit Graph

117 Commits

Author SHA1 Message Date
hathach
3eb0451879 change CFG_TUSB_MEM_DCACHE_LINE_SIZE_DEFAULT (not defined) to 1
use stock iar linker
2025-07-07 20:31:49 +07:00
HiFiPhile
3287cfaf76 Use DMA enable for DCache condition
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-07-05 12:50:00 +02:00
HiFiPhile
e84efd2771 Add STM32 DWC2 cache support
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-06-13 15:21:04 +02:00
hathach
7d66a3e775 merge n6 and h7rs (same config) 2025-06-12 21:20:49 +07:00
James Sandison
56c9521abd chore: squash previous commits from other branches 2025-06-04 11:21:27 +10:00
hathach
9aea7751f2 dwc2 only enter critical in isr with multiple core CPUs 2025-05-19 20:04:20 +07:00
hathach
22a6777c2d enable CFG_TUD/THU_MEM_DCACHE_ENABLE for imxrt with M7 by default 2024-12-17 20:53:50 +07:00
hathach
c514a8c879 Merge branch 'master' into fork/pschatzmann/rp2040-iso 2024-11-28 11:02:23 +07:00
David (Pololu)
568c785da1 Add support for the STM32C0 and the NUCLEO-C071RB. 2024-11-27 22:28:32 +07:00
hathach
d9ef3cd1b3 default CFG_TUH_DWC2_DMA_ENABLE to 0 2024-11-27 11:54:11 +07:00
hathach
123f1affb7 update device_info example to work with p4 dcache 2024-11-27 00:01:37 +07:00
hathach
833eb7d22d change dcd_dcache_*() API return type from void to bool 2024-11-25 19:11:19 +07:00
hathach
1533e693ee TUD_EPBUF_TYPE_DEF ncm_device 2024-11-22 15:45:08 +07:00
hathach
dbdc5a239c - move freertos_hooks to board.c
- add device/midi_test_freertos example
- update bth/dfu/midi device for cache line size
2024-11-21 17:49:38 +07:00
hathach
b3b8bd88cb add CFG_TUD_MEM_DCACHE_ENABLE, CFG_TUD_MEM_DCACHE_LINE_SIZE option 2024-11-20 21:30:29 +07:00
Ha Thach
9e674d4fae Merge pull request #2881 from hathach/enhance-dwc2-dcd 2024-11-19 05:08:07 +07:00
Chintalagiri Shashank
c291b831e8 Make HS USB default for STM32H7RS 2024-11-16 12:32:26 +05:30
Chintalagiri Shashank
a780071d20 Add support for STM32H7RSxx 2024-11-16 12:32:26 +05:30
hathach
daef846aa7 rename CFG_TUD_DWC2_DMA to CFG_TUD_DWC2_DMA_ENABLE 2024-11-14 13:26:11 +07:00
hathach
5d00488907 get hcd work esp32p4 but only in slave mode. In DMA channel's HCDMA is increased but data transfer over USB is not correct. 2024-11-08 17:23:43 +07:00
pschatzmann
1b17bc04f9 RP2040 New ISO API 2024-10-15 23:09:05 +02:00
hathach
db15f63736 Merge branch 'master' into fork/Maerdl/master 2024-10-02 18:22:06 +07:00
Haefner, Martin
3fa7da95bd support stm32U0 device 2024-10-01 15:24:11 +02:00
hathach
67e5577b42 added p4, seems to work well and enumerated 2024-09-30 11:53:18 +07:00
hathach
7e472fa3ca try to add esp32 p4 and esp-idf v5.3 support 2024-09-30 11:53:18 +07:00
hathach
a1244381b3 add CFG_TUD_DWC2_DMA, make it compile time option 2024-09-24 17:55:15 +07:00
hathach
0bb7b992d8 dwc2: for esp32 force disconnect/connect using USB_WRAP otg pad override (DM=DP=0) in addition to dwc2's dctrl 2024-09-04 20:56:04 +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
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