3822 Commits

Author SHA1 Message Date
Ha Thach
4b107a2b9e
Merge pull request #2450 from HiFiPhile/vendor_fifo
Allow vendor class to be used without FIFO.
2024-09-11 10:10:06 +07:00
hathach
9b4bb61cbd
ep stream init: wrap with OSAL_MUTEX_REQUIRED, only create fifo mutex if needed 2024-09-10 20:41:01 +07:00
hathach
7909a62569
fix warnings 2024-09-10 18:47:58 +07:00
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
bbeae09259
update vendor device to use edpt stream which also support non-buffereed (no fifo) mode 2024-09-10 17:45:03 +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
HiFiPhile
3eea46056e
Merge pull request #2788 from dp111/cppcheck
make function prototypes match functions( found by cppcheck)
2024-09-04 20:06:47 +02: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
dp111
8ab1e4fbd0 make function prototypes match ( found by cppcheck) 2024-09-03 19:38:34 +01:00
HiFiPhile
4349e99fb2
Merge pull request #2786 from dp111/breakinside
Put break inside #if
2024-09-02 13:50:59 +02:00
HiFiPhile
ee551909b2
Merge pull request #2783 from donatieng/don/bth_device-zlp
Bluetooth Device: Issue ZLP on ACL IN ep when transfer is multiple of endpoint max packet size
2024-09-02 13:50:44 +02:00
Ha Thach
29e025cbf5
Merge pull request #2731 from cumhuronat/master
Fix: Properly Handle NAK Response in MAX3421E driver
2024-08-30 18:10:15 +07:00
Donatien Garnier
cef4c466b3 Bluetooth Device: Issue ZLP on ACL IN ep when transfer is multiple of endpoint max packet size 2024-08-30 07:53:49 +00:00
Ha Thach
64e62bad0d
Merge pull request #2784 from tannewt/fix_esp32_sx_resume
Fix ESP32-SX resume
2024-08-30 09:50:35 +07:00
Scott Shawcroft
6890975f80
Fix ESP32-SX resume
The interrupt handler pipes through the resume event but the
interrupt wasn't enabled in the first place.
2024-08-29 14:04:49 -07:00
Reinhard Griech
1d2c9f929d change order, fixes #2778 2024-08-29 15:31:29 +02:00
Mengsk
cefee1a743 Merge remote-tracking branch 'tinyusb/master' into vendor_fifo 2024-08-27 12:13:29 +02:00
hathach
27ddf19631
add sndfifo owner info to skip rewriting data for retrying NAKed 2024-08-26 14:27:23 +07:00
Cumhur Onat
c7851e8dcb
only check SNDBAV IRQ if there is data to send 2024-08-23 10:54:28 +07:00
Cumhur Onat
5bb2e66ce7
fix for out retry attempts with nak response 2024-08-23 10:54:28 +07:00
hathach
ea4f9ceb58
remove weak from dcd_edpt_close() for port without TUP_DCD_EDPT_ISO_ALLOC 2024-08-19 20:08:55 +07:00
hathach
088486186f
rename TUD_ENDPOINT_EXCLUSIVE_NUMBER to TUD_ENDPOINT_ONE_DIRECTION_ONLY 2024-08-19 19:05:33 +07:00
hathach
635bdc1fce
fix ci build 2024-08-19 17:36:11 +07:00
hathach
0c9d7a2185
add hwfifo_flush() 2024-08-19 13:11:48 +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
76eb2f5066
more musb update 2024-08-18 16:34:58 +07:00
hathach
fe7ffc8eda
rename register bit definition to prevent conflict 2024-08-17 19:08:48 +07:00
hathach
123830c1f0
remove unused register def 2024-08-17 19:06:19 +07:00
hathach
a6bee747b6
define and use TUD_ENDPOINT_EXCLUSIVE_NUMBER 2024-08-17 18:07:36 +07:00
hathach
993473312b
minor update 2024-08-17 17:11:54 +07:00
hathach
e9109f36ba
refactor fifo configure/setup for dynamic and static fifo 2024-08-17 16:37:27 +07:00
hathach
eaf9cc1beb
more refactor to simplify musb driver 2024-08-17 13:33:53 +07:00
dp111
c34d5e7a71 Put break inside #if #endif 2024-08-16 21:43:41 +01:00
hathach
33e3ea3645
remove analog PHY from musb_regs_t
hil: remove ch32v203 since not reliable enough
2024-08-15 23:46:33 +07:00
hathach
6152adb17f
use musb_ep_csr_t for indexed CSR, also use indexed csr for TI access as well. Merge ep0 and epn together 2024-08-15 19:39:20 +07:00
hathach
7d8d364332
update musb fifo usage 2024-08-15 16:52:50 +07:00
hathach
e339702a2a
adding universal register structs for musb 2024-08-15 16:41:20 +07:00
hathach
a9df933e0d
add TUP_USBIP_MUSB macro, minor rename 2024-08-15 15:24:04 +07:00
hathach
0be427bae9
use max32 cmsis, fix NVIC_GetEnableIRQ() not defined when using with CMISIS < 5 2024-08-14 23:59:35 +07:00
hathach
f6b96f7ea9
fix spelling, add max32 to ci with arm-gcc build 2024-08-14 22:56:59 +07:00
hathach
761399b5e0
Merge branch 'refs/heads/master' into fork/BrentK-ADI/max32_port 2024-08-14 06:33:42 +07:00
HiFiPhile
96c5c72e97
Fix double buffer not disabled for smaller devices. 2024-08-13 10:19:08 +07:00
HiFiPhile
549f20d179
Fix buf_id read for ISO transfer. 2024-08-13 10:19:07 +07:00
HiFiPhile
5666aa196f
Fix tusb_dir_t warning. 2024-08-13 10:19:06 +07:00
hathach
a621c4b6fc
fix more race with ch32v203 and setup when queuing zlp.
improve hil test failed output
2024-08-12 16:39:25 +07:00
Hjalmar
b786d6f4e6 Marked the keycode parameter of the keyboard_report functions as const since the functions don't modifies the value 2024-08-09 21:08:32 +02:00