hathach
455bddddcd
minor clean up
2022-04-26 18:47:09 +07:00
hathach
4d11c658ff
improve pio usb endpoint handler
2022-04-26 13:08:03 +07:00
hathach
26a25279bc
follow pio usb changes
2022-04-26 00:35:16 +07:00
hathach
2f9b9a31be
more with pio usb
2022-04-22 18:26:58 +07:00
hathach
12debd7763
keep up with pio usb
2022-04-22 01:06:17 +07:00
hathach
a32cb1bb93
clean up pio driver
2022-04-18 17:49:21 +07:00
hathach
b5a9537eea
support pio dcd endpiont stall
2022-04-16 01:19:51 +07:00
hathach
05bfc1a9eb
pio device works well
2022-04-15 01:04:12 +07:00
hathach
cc5a4720e5
catch up with pio lib
2022-04-14 22:00:47 +07:00
hathach
d5d4909c20
proof of concpet that device pio-usb work with host pio-usb
2022-04-08 13:36:05 +07:00
hathach
d97c154695
add need_pre for pio usb, but not work out well
2022-04-05 00:04:47 +07:00
hathach
d7d7e61f34
correct pio usb speed, and close device
2022-04-03 22:48:08 +07:00
hathach
7ea75d3c09
use pio usb host init
2022-04-03 20:44:16 +07:00
hathach
f6851cf187
clean up hcd pio
2022-04-03 00:17:58 +07:00
hathach
f881e77e66
extracting hw root port
2022-04-02 19:19:00 +07:00
hathach
c25f835aea
update to use pio hw endpoint
2022-04-01 23:31:43 +07:00
hathach
db6cba6a7b
rename pio to pio_usb
2022-04-01 16:38:41 +07:00
hathach
e6e3dfedc8
hid example work well
2022-04-01 16:34:36 +07:00
hathach
75bca96bc6
pio usb control work well including stall response
2022-04-01 16:01:24 +07:00
hathach
e94d11a5b3
implement pio_usb_irq_handler
2022-03-31 12:56:53 +07:00
hathach
e2f0aef93b
make use pio_usb_port_reset_start/end
2022-03-30 16:41:55 +07:00
hathach
45052c625e
Merge branch 'master' into pio-host
2022-03-20 00:51:00 +07:00
hathach
96165a1950
rename HCD_MAX_XFER to CFG_TUH_ENDPOINT_MAX
...
minor clean up
2022-03-04 17:07:04 +07:00
Scott Shawcroft
2cd73ca602
Add host string descriptor functions
...
Plus typo fixes, GCC11 array bounds fix, snprintf for malloc-free
debug and pragmas for alignment checks.
2022-03-03 21:53:12 -08:00
hathach
fa62d5abc9
got interrupt endpoint working
2022-03-03 21:57:29 +07:00
hathach
635fb9dcdd
try to fix ci
2022-03-02 12:33:47 +07:00
hathach
918f3e9cae
minor rename
2022-03-02 12:22:20 +07:00
hathach
1d29817139
start to add pio usb (host) support
...
run as proof of concept
2022-03-01 23:55:53 +07:00
Ha Thach
7c627f58d7
Merge pull request #1343 from Daft-Freak/patch-1
...
Open OUT endpoint for HID host
2022-02-28 20:00:40 +07:00
hathach
31aa077cb0
rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED
2022-02-25 18:35:21 +07:00
hathach
d10326cb4e
rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
...
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25 18:35:21 +07:00
Charlie Birks
c0a65ba0f6
Support interrupt OUT in RP2040 HCD
2022-02-23 12:25:01 +00:00
Valentin Milea
ae970ba2e2
Handle xfer events before closing EP
2021-12-08 12:34:00 +02:00
Valentin Milea
36e69b86bf
Remove buffer reclaim logs
2021-12-07 15:35:30 +02:00
Valentin Milea
48e1f6d899
Handle the closing of endpoints on RP2040
2021-12-04 16:04:48 +02:00
hathach
3e3fe1e429
improve hcd_device_close() for rp2040
2021-11-30 17:36:52 +07:00
rppicomidi
06f99c220e
implement hcd device close
2021-11-30 17:17:06 +07:00
Liam Fraser
e692fa9ae4
RP2040 HCD: Move invalid ep->active assert in hw_trans_complete. The check for ep->active should only happen if a setup packet was just sent. Otherwise the transaction is handled in hw_handle_buff_status.
2021-11-05 09:39:31 +00:00
hathach
5af989384b
remove ep descriptor wMaxPacketSize bitfield due to endian issue
2021-10-24 13:11:21 +07:00
graham sanderson
06d9555389
More warning cleanup
...
- physically suppress warnings in TinyUSB headers using pragmas so they don't break -Werror compilation of external files that include them
- fix compiler warnings in rp2040 port
- add cmake method to rp2040 port to allow an external project to suppress warnings in TinyUSB itself
2021-10-14 15:23:26 -05:00
graham sanderson
7667299b48
Remove compiler warning
2021-10-14 12:13:39 -05:00
hathach
d6e9fe38be
rp2040 implement dcd_edpt_close_all()
...
aslo rename reset_ep0_pid() and clean up. We only need to reset pid when
setup packet received
2021-09-01 19:44:12 +07:00
hathach
fc889ece74
rp2040 correct ep set/clear stall
...
- stall will remove pending (not complete) transfer. Correct reset data
toggle when clear stall.
- remove buf ctrl debug code
2021-09-01 16:52:27 +07:00
hathach
ab0c3e8dd0
fix rp2040 chapter 9 TD 9.6 test
2021-08-31 17:41:08 +07:00
hathach
71e77e47fa
add dcd_edpt_close_all() for clear existing configured state
...
correctly responded to TD 9.13 Set Configuration Test
2021-08-26 17:07:03 +07:00
hathach
88bb8fac3d
rename host API to be consistent with naming on device stack
...
- tuh_device_get_speed() to tuh_speed_get()
- tuh_device_configured() to tuh_mounted()
- tuh_device_ready() to tuh_ready()
2021-08-24 12:37:04 +07:00
hathach
8dc16dd3a7
fix rp2040 build
2021-08-24 01:19:06 +07:00
hathach
17ef9f4843
add ready check for edpt claim
2021-08-12 15:54:04 +07:00
hathach
4ad47d9e26
bus_reset will reset all endpoints
...
allow for dynamic configuration as well as state-less enumeration
2021-08-12 15:40:26 +07:00
hathach
4f2999bc04
white space
2021-08-12 00:31:26 +07:00