Commit Graph

22 Commits

Author SHA1 Message Date
hathach
979af6c2a8 clean up endpoint set/clear stall 2021-08-11 20:29:39 +07:00
hathach
832d22d7ad force single buffered for device mode, out endpoint 2021-06-17 01:55:35 +07:00
hathach
1af64f9729 remove sent_setup from hw endpoint 2021-06-13 15:31:00 +07:00
hathach
b39faa15ef map pico_info to log2, pico_trace to log3 2021-06-11 18:44:08 +07:00
hathach
a6d22f5a68 replace pico_warn by log level 1 2021-06-11 18:40:01 +07:00
hathach
66c8a13f13 remove unused variable in hw endpoint
last_buf, buf_sel, transfer_size
2021-06-11 18:26:41 +07:00
hathach
1d48320d8a rename hw endpoint
- total_len to remaining_len
- len to xferred_len
2021-06-11 17:58:29 +07:00
hathach
5d6e381ef6 refactor rp2040 usb
- make _hw_endpoint_xfer_sync and _hw_endpoint_start_next_buffer private
- drop prefix _ from _hw_endpoint_xfer_continue and
_hw_endpoint_reset_transfer
2021-06-11 17:34:51 +07:00
hathach
a1a03c92f6 double buffered work with host 2021-06-11 17:05:49 +07:00
graham sanderson
c81bc38d42 Add __unused to variables that are only used if TU_LOG does something 2021-06-03 10:10:44 -05:00
hathach
6498ee1996 fix incorrect data toggle when max packet size < 64
fix host buf_sel panic with "already available"
2021-05-30 23:35:54 +07:00
Ha Thach
559ff80643 Merge pull request #684 from hathach/rp2040-host-example
add rp2040 to host example build
2021-03-02 13:03:52 +07:00
Ha Thach
5a753c1ab0 Merge pull request #675 from majbthrd/rp2040epaddr
rp2040: use TU endpoint conventions and remove redundant variables
2021-02-27 00:38:53 +07:00
hathach
f6b48c07fc add rp2040 to host example build 2021-02-26 14:05:08 +07:00
majbthrd
efea18a888 Merge branch 'master' into rp2040epaddr 2021-02-25 09:15:42 -06:00
majbthrd
0632ecf556 Merge branch 'master' into rp2040device 2021-02-25 08:57:09 -06:00
Peter Lawrence
999ef227d0 rp2040: requested code mode in rp2040_usb.h 2021-02-25 08:45:47 -06:00
Peter Lawrence
e00178a1af rp2040: don't compile in host code when in device mode 2021-02-23 14:04:56 -06:00
Peter Lawrence
c5422a5c48 rp2040: use TU endpoint conventions and remove redundant variables 2021-02-23 12:06:41 -06:00
Peter Lawrence
5a8ae31316 rp2040: leverage existing macro for capping endpoints in pico-sdk 2021-02-23 10:08:38 -06:00
Peter Lawrence
592d047936 rp2040: correctly size variables to reduce RAM usage 2021-02-22 20:53:16 -06:00
graham sanderson
e0aa405d19 RP2040 support 2021-01-19 19:52:07 -06:00