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
Ha Thach
ac1fd32666
Merge pull request #2761 from hathach/hil-readd-v203
...
readd v203 to hil pool
2024-08-12 21:26:10 +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
hathach
7a9ef9e7bd
readd v203 to hil pool
2024-08-11 11:10:15 +07:00
Ha Thach
9ee7d1b77e
Merge pull request #2760 from hathach/update-pio-usb
...
change pio to fix rp2040 build
2024-08-11 10:19:52 +07:00
hathach
8b88749223
skip ch32v203 for hil test
2024-08-11 09:51:14 +07:00
hathach
2871bb0da6
fix spi_set_format() -Wnull-dereference when compiling with -Os
2024-08-11 00:51:51 +07:00
hathach
c07928e1b3
fix build with rp2040 PICO_DEFAULT_SPI rename
2024-08-10 22:07:10 +07:00
HiFiPhile
18b5affce9
Merge pull request #2759 from hjalleboii/master
...
Marked the keycode parameter of the keyboard_report functions as const since the functions don't modifies the value
2024-08-10 11:00:33 +02:00
hathach
e8f42df97a
change pio to fix rp2040 build
2024-08-10 09:47:34 +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
ea64dd4999
Update ci toolchain ( #2758 )
...
* move toolchain url to its setup action
2024-08-09 22:45:35 +07: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
e7e6fe7cd5
add riscv url
2024-08-08 22:28:13 +07:00
hathach
c3f3465a40
remove hiL build-esp, add riscv support
2024-08-08 22:04:54 +07:00
hathach
0d44977b54
add ch32v203 nano to hil pool
2024-08-08 21:38:49 +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
30e0ef221a
fix running hil in parallel
2024-08-05 19:23:35 +07: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
HiFiPhile
95cb319bde
Merge branch 'master' into vendor_fifo
2024-08-02 11:52:35 +02:00
hathach
e9a5af3512
add stm32f103ze_iar
2024-08-02 16:06:00 +07:00
Graham Sanderson
4232642899
Merge pull request #2743 from hathach/header_fix
...
rp2040: add clocks.h as set_sys_clock_khz is moving there from stdlib.h
2024-08-01 19:26:24 -05: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
Ha Thach
271e2a30e1
Merge pull request #2749 from hathach/hil-change
...
HIL test hardware changes
2024-08-01 16:12:57 +07:00
hathach
3f4f6c0ec7
increase hil timeout, reduce fuzzing from 600 to 400 seconds
2024-08-01 15:40:47 +07:00
hathach
f5d8796a6c
add f072 (fsdev 1k) to hil test
2024-08-01 15:38:59 +07:00
hathach
46fd822990
increase freerto min task stack for some stm32
2024-08-01 14:24:23 +07:00
hathach
8407252fa3
fix hil ci
2024-08-01 14:13:03 +07:00
hathach
4e114b7bfa
update hil ci
2024-08-01 14:01:35 +07:00
hathach
5fa03dd906
add stm32g0 (fsdev 2k) to hil pool
...
remove esp32s3 since cp210x cause usb bus issue in the long run
2024-08-01 13:00:38 +07:00
Ha Thach
c60934eedc
Merge pull request #2739 from hathach/enhance-fsdev
...
Enhance fsdev
2024-07-31 21:42:29 +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