Commit Graph

48 Commits

Author SHA1 Message Date
hathach 43656dc0a7 more clean up 2021-06-10 23:29:02 +07:00
hathach cf0a475a2e clean up 2021-06-10 22:00:59 +07:00
hathach c7f51cde40 implement usbh_edpt_busy (WIP), remove hcd_edpt_busy 2021-06-10 17:19:21 +07:00
hathach 7e6cba7359 remove hcd_edpt_stalled() 2021-06-10 16:55:12 +07:00
hathach 501de2a5e8 fix computing transferred bytes with E4 2021-06-08 10:29:22 +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
Ha Thach 8ea0dfba68
Merge pull request #865 from kilograham/pico-0.10.0
Pico 0.10.0
2021-06-03 01:02:54 +07:00
hathach 4e98ce9147
use hcd_frame_number() instead of uframe 2021-05-31 18:15:47 +07:00
hathach 3fb80e76ce remove obsolete hcd_pipe_queue_xfer()/hcd_pipe_xfer() 2021-05-31 12:08:37 +07:00
hathach c2a0c1507b add more comment 2021-05-30 23:44:29 +07:00
hathach 54c9150574 add errata number 2021-05-30 23:41:59 +07: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
graham sanderson 3973ec4b5e rp2040: fix debug compilation error 2021-05-30 08:16:15 -05:00
hathach 164778a716 update limit each transfer not less than 64 2021-05-28 17:42:13 +07:00
hathach b36b211c26
clean up tusb_fifo.h include 2021-05-27 17:58:42 +07:00
corvus-ossifragus 72f5202086 Update trace statements that referenced deprecated structure elements. 2021-05-10 10:09:09 -04:00
corvus-ossifragus 13b510ad8e Update hcd_rp2040.c
Remove reference to the deprecated "num" and "in" members  of struct hw_endpoint which still exist in an assert statement and break DEBUG builds.
2021-05-07 16:49:48 -04:00
hathach a397353916 fix ci build with rp2040 2021-03-10 17:58:39 +07:00
hathach 8cabbb28df fix enum walkaround forever check for SE0 when pull up is disabled 2021-03-04 18:36:18 +07:00
hathach a298045f6c clean up 2021-03-02 23:30:21 +07:00
hathach 9d5e369170 rp2040 add disconnection detection
- also use dcd_event_bus_reset()
- Add TODO for suspend, resume later on (need to test with/without vbus
detection).
2021-03-02 23:24:36 +07:00
hathach 1676a836d1 fix rp2040 host build 2021-03-02 14:54:12 +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
Peter Lawrence eb44b6f7db rp2040: improve _hw_endpoint_init() 2021-02-26 11:07:34 -06:00
hathach f6b48c07fc
add rp2040 to host example build 2021-02-26 14:05:08 +07:00
Ha Thach 0c05a02e67
Merge pull request #682 from hathach/rp2040_fix_hcd_init
Update RP2040 hcd_init to have rhport argument.
2021-02-26 11:52:48 +07:00
Liam Fraser e6e7c73f6e Update RP2040 hcd_init to have rhport argument. 2021-02-25 15:48:19 +00: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 762f262be7 rp2040: requested change from TU_MIN to tu_min16 2021-02-25 07:58:54 -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
hathach 43ca626774 merge iso and cbi transaction size to max ep size 2021-02-22 12:27:02 +07:00
ndinsmore cb5b9eb2f6
Remove stray. commented out line 2021-02-19 08:33:06 -05:00
ndinsmore ac87a4547d
Change to using tu_min32
This was a github edit, not tested
2021-02-18 08:25:04 -05:00
Nicholas R Dinsmore 27f4b6f5a4 Included size check for ISO buffers 2021-02-17 18:22:24 -05:00
Nicholas R Dinsmore 79b360f0a6 Enable iso buffers per rp2040 spec 2021-02-17 13:22:34 -05:00
ndinsmore 09868434cd
Fixes RP2040 buffer reallocation overrun problem (#642)
Fix running out of memory on a device that repeatedly closes and opens an endpoint. This is a workaround at the moment. A better solution would be to implement reclaiming usb buffer memory when closing an endpoint (i.e. implement dcd_edpt_close).
2021-02-12 08:16:46 +00:00
Ha Thach 78f50518a4
Merge pull request #610 from hathach/rp2040-followup2
Rp2040 followup2
2021-02-01 12:44:53 +07:00
hathach 1abf9eeb80 clean up rp2040 assigned_address, remove panic from remote_wakeup 2021-01-27 13:18:03 +07:00
hathach c3c4f65fea wrap rp2040_usb around opt mcu 2021-01-27 13:04:38 +07:00
Peter Lawrence edc2224118 rp2040: start to adopt TU coding conventions 2021-01-23 20:21:58 -06:00
Peter Lawrence 587d1b334b rp2040_hcd: check pointer before using 2021-01-23 20:19:10 -06:00
graham sanderson e0aa405d19 RP2040 support 2021-01-19 19:52:07 -06:00