1839 Commits

Author SHA1 Message Date
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
c6eeee1b79
Merge pull request #683 from amitv87/handle_break_req
Handle CDC_REQUEST_SEND_BREAK
2021-02-26 12:54:50 +07:00
boggyb
55a46a5c3b
Update cdc_device.h
Minor api callback change as requested
2021-02-26 11:00:34 +05:30
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
amit verma
07a04255da initial break request handling 2021-02-25 23:13:21 +05:30
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
Ha Thach
50a0bddd8b
Merge pull request #672 from majbthrd/rp2040trim
rp2040: correctly size variables to reduce RAM usage
2021-02-25 21:17:59 +07:00
Peter Lawrence
762f262be7 rp2040: requested change from TU_MIN to tu_min16 2021-02-25 07:58:54 -06:00
Reinhard Panhuber
cc948288bd Revert tusb_fifo.h include form to original. 2021-02-25 11:18:37 +01:00
Reinhard Panhuber
5ebe53f02d Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer 2021-02-24 20:54:35 +01:00
Kamil Tomaszewski
448dcdc4cf spresense: fix setup processed flag 2021-02-24 17:39:16 +01:00
hathach
a070626729 add itf argument to hid API to support multiple instances
following API signature is changed:
- tud_hid_descriptor_report_cb()
- tud_hid_get_report_cb()
- tud_hid_set_report_cb()
- tud_hid_boot_mode_cb()
- tud_hid_set_idle_cb()
2021-02-24 14:27:20 +07:00
Reinhard Panhuber
a7f07a1a63 Fix pointer type 2021-02-23 21:53:17 +01:00
Reinhard Panhuber
697c9476b7 Fix pointer type 2021-02-23 21:42:38 +01:00
Reinhard Panhuber
cb33840a9b Fix pointer type 2021-02-23 21:15:27 +01:00
Peter Lawrence
e00178a1af rp2040: don't compile in host code when in device mode 2021-02-23 14:04:56 -06:00
Reinhard Panhuber
00248de15a Fix shadowing declartion in dcd_da146xx.c 2021-02-23 20:23:26 +01:00
Reinhard Panhuber
387bf1478e Fix missing , in tusb_fifo.h 2021-02-23 19:52:31 +01:00
Reinhard Panhuber
c76e04f835 Add dcd_edpt_iso_xfer() to dcd_template.c 2021-02-23 19:50:54 +01:00
Reinhard Panhuber
e223d46033 Merge remote-tracking branch 'upstream/master' into edpt_ISO_xfer
Conflicts:
	src/common/tusb_fifo.h
	src/osal/osal_none.h
2021-02-23 19:47:57 +01:00
Reinhard Panhuber
313dd1439d Implement dcd_edpt_iso_xfer() for dcd_da146xx.c BUT WITHOUT DMA SUPPORT 2021-02-23 19:41:21 +01:00
Peter Lawrence
c5422a5c48 rp2040: use TU endpoint conventions and remove redundant variables 2021-02-23 12:06:41 -06:00
Ha Thach
656673fb58
Merge pull request #674 from hathach/host-msc
Enhance Host MSC
2021-02-24 00:19:38 +07:00
hathach
451650fa32 move ehci and ohci to portable folder 2021-02-23 23:09:48 +07:00
Peter Lawrence
5a8ae31316 rp2040: leverage existing macro for capping endpoints in pico-sdk 2021-02-23 10:08:38 -06:00
hathach
0de6a05d73 fix ohci hcd_init() signature change 2021-02-23 19:45:53 +07:00
hathach
5108d76136 host msc: call read_capacity as part of enumeration
- add tuh_msc_get_block_count(), tuh_msc_get_block_size()
- rename tuh_msc_mounted_cb/tuh_msc_unmounted_cb to
tuh_msc_mount_cb/tuh_msc_unmount_cb to match device stack naming
- change tuh_msc_is_busy() to tuh_msc_ready()
- add CFG_TUH_MSC_MAXLUN (default to 4) to hold lun capacities
- add host msc configured to for state check.
2021-02-23 19:41:11 +07:00
hathach
386a386345 clean up host msc 2021-02-23 12:20:30 +07:00
Ha Thach
cea31c346d
Merge pull request #575 from nwlab/yaa/msc_read
Added MSC read10 and write10 function
2021-02-23 11:51:48 +07:00
hathach
ade4bf74ea update function comment 2021-02-23 11:38:15 +07:00
hathach
f2ed2ae09a rename tuh_msc_scsi_inquiry() to tuh_msc_inquiry() 2021-02-23 11:14:19 +07:00
Peter Lawrence
592d047936 rp2040: correctly size variables to reduce RAM usage 2021-02-22 20:53:16 -06:00
hathach
de95585258 nxp tdi: hcd_init() reset and set host mode 2021-02-23 01:27:52 +07:00
hathach
c5b8980398 separate hcd_init from ehci 2021-02-22 22:40:51 +07:00
hathach
1e07fc024c add rhport to hcd_init() 2021-02-22 22:32:56 +07:00
hathach
8a2e4c79fd make hcd tdi more generic 2021-02-22 18:02:52 +07:00
Kamil Tomaszewski
b591a66b3d Pass the correct speed on Spresense 2021-02-22 11:24:16 +01:00
hathach
00b4b74e82 rename hcd_lpc18_43 to hcd_transdimension 2021-02-22 17:15:06 +07:00
hathach
43ca626774 merge iso and cbi transaction size to max ep size 2021-02-22 12:27:02 +07:00
hathach
44916bcacf Merge branch 'RP2040_enable_isochronous_buffer_size' of https://github.com/ndinsmore/tinyusb into ndinsmore-RP2040_enable_isochronous_buffer_size 2021-02-22 12:21:52 +07:00
ndinsmore
cb5b9eb2f6
Remove stray. commented out line 2021-02-19 08:33:06 -05:00
hathach
2a04ee68b8 add TU_FIFO_INIT() to help with tu_fifo declaration
tu_fifo_clear() also reset max_pointer_idx and non_used_index_space
2021-02-19 11:57:56 +07:00
Ha Thach
be9f86ca9e
Merge pull request #660 from hathach/fix-typo-midi-write24
Fix typo midi write24
2021-02-19 11:22:21 +07:00
Ha Thach
044d29c927
Merge pull request #654 from xmos-jmccarthy/master
Add alternate bitfield padding option
2021-02-19 11:03:53 +07:00
hathach
aa85099171 fix tud_midi_write24 typo
rename jack_id to cable_num in function argument
2021-02-19 10:51:47 +07:00
Reinhard Panhuber
fff6283bf7 Update .non_used_index_space = UINT16_MAX - (2*_depth-1) in osal_none.h 2021-02-18 21:22:11 +01:00