dp111
c34d5e7a71
Put break inside #if #endif
2024-08-16 21:43:41 +01: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
Ha Thach
643a26ca8d
Merge pull request #2756
...
Fix ESPs without device support
2024-08-09 10:16:22 +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
Ha Thach
dcd0f39b53
Merge pull request #2750 from hathach/fix-ch32v203-setup
...
rework fsdev driver, fix ch32v203 race condition and stability issue
2024-08-08 22:41:26 +07:00
hathach
1ea38ebe13
refactor read/write pma from/to fifo
2024-08-08 15:43:11 +07:00
hathach
bd64625df2
revert the use of EP_KIND. ch32v203 seems to unconditionally accept ZLP on EP0 OUT, which can incorrectly use queued_len of previous transfer. So reset total_len and queued_len to 0.
2024-08-08 12:40:11 +07:00
hathach
57c26fdc72
use EP_KIND for STATUS OUT to fix OUT packet is auto accepted after SETUP without usbd consent
2024-08-08 00:27:51 +07:00
hathach
3a22163067
fix v203 race condition between rx bufsize and RX_STAT which cause PMAOVR
...
fix set_rx_bufsize with invalid value for zero length packet
2024-08-07 15:16:22 +07:00
hathach
0860cd3b5e
minor rename
2024-08-06 22:20:24 +07:00
hathach
d680424f62
improve dcd_int_handler()
...
- skip DIR and use CTR TX/RX to handle complete transfer
- clear CTR first, except for setup which we need to get data first
- separate handle_ctr_setup()
2024-08-06 22:18:25 +07:00
HiFiPhile
a7d1888328
Merge pull request #2328 from HiFiPhile/rx_fb
...
UAC2: Implement feedback by fifo counting.
2024-08-05 17:07:47 +02:00
hathach
315dae6a85
finally fixed fsdev setup handling, which cause race condition for ch32v203
2024-08-05 17:43:27 +07:00
hathach
91e5a066c5
more fsdev clean up
...
hil test boards in parallel
2024-08-02 17:12:28 +07:00
hathach
e180d915c6
read/write packet enhancement, merge 16-bit and 32-bit together
2024-08-01 23:08:12 +07:00
hathach
af8609e96e
fsdev improve ep bit manipulation
2024-08-01 18:36:28 +07:00
hathach
46fd822990
increase freerto min task stack for some stm32
2024-08-01 14:24:23 +07:00
hathach
332f75cd44
simplify read/write 16-bit packet
2024-07-31 20:53:42 +07:00
hathach
7d9b399466
fix ep type bulk typo
2024-07-31 18:28:17 +07:00
hathach
7954d9cb4c
rename to fsdev_type.h, use FSDDEV_REG instead of USB
2024-07-31 18:15:22 +07:00
hathach
26b0df2c26
refactor xfer_ctl_ptr() to take epnum/dir to reduce computation
2024-07-31 17:24:41 +07:00
hathach
ce0fdc5609
refactor dcd_ep_ctr_handler
2024-07-31 17:10:43 +07:00
hathach
ee831d27ac
rename to ep_read/write(), drop USBx argument
2024-07-31 16:56:42 +07:00
hathach
3156f1c4a7
remove all pcd ep read, modify write
2024-07-31 16:52:00 +07:00
hathach
8139840d7a
fix ep_add_dtog()
2024-07-31 15:32:37 +07:00
hathach
76cc721e8f
clean up dcd_edpt_stall/clear_statll
2024-07-31 12:45:27 +07:00
hathach
e60efec6b7
improve using ep_add_status/ep_add_dtog
2024-07-31 12:09:50 +07:00
hathach
126778298e
enhance dcd_ep_ctr_rx_handler()
2024-07-31 11:35:09 +07:00
hathach
0c8d41e25e
correct ep toggle bit
2024-07-31 09:46:31 +07:00
hathach
f4aaad6869
add edpt0_open(), slightly update dtog
2024-07-30 21:35:24 +07:00
hathach
1cf8e34ae5
improve set endpoint
2024-07-30 20:32:26 +07:00
hathach
b15814b2f9
move align buffer to pma_alloc()
2024-07-30 16:29:54 +07:00
hathach
749f092174
refactor btable_set_rx_bufsize()
2024-07-30 13:05:46 +07:00
hathach
6771ef35d9
more btable set/get clean up
2024-07-30 11:17:55 +07:00
HiFiPhile
4a48544aeb
audiod_function_t clean up.
2024-07-28 12:04:25 +02:00
HiFiPhile
f48a4567a6
Merge branch 'master' of https://github.com/hathach/tinyusb into rx_fb
2024-07-28 11:59:52 +02:00
hathach
75d3a3be84
implement btable_set_addr/count
2024-07-26 00:02:06 +07:00
hathach
3b8f9a2b1f
refactor btable tx/rx into arr[2]
2024-07-25 23:51:20 +07:00
hathach
02caf00772
simplify btable rx/tx count/address access
2024-07-25 19:00:59 +07:00
hathach
a5bc0430f7
fix race condition where reset event cleaar setup count
2024-07-25 16:49:01 +07:00
hathach
0eb0baed19
fsdev: remove unused _setup_packet
2024-07-25 11:53:42 +07:00
hathach
2f8078f5b5
minor changes
2024-07-24 16:59:12 +07:00
hathach
c0f38ebf8d
fsdev read/write packet use unaligned function
2024-07-23 19:53:41 +07:00
hathach
4de46fcf97
fix a bug in fsdev introduced by #1942
2024-07-22 21:07:28 +07:00
Ha Thach
e9f9d43d67
Merge pull request #2723 from liamfraser/rp2040_tweaks
...
RP2040 tweaks
2024-07-19 21:33:50 +07:00
Ha Thach
9a418317f3
Merge pull request #2694 from feaser/keil_weak_fix
...
Additional fix related to issue #1018 . Corrects the usage of TU_ATTR_WEAK for the Keil compiler
2024-07-19 21:20:55 +07:00