520 Commits

Author SHA1 Message Date
hathach
17ef9f4843
add ready check for edpt claim 2021-08-12 15:54:04 +07:00
hathach
88d4cb402d
simplify hw_endpoint_init() 2021-08-12 00:11:04 +07:00
Stefan Kerkmann
7682829820 Add correct endpoint count for GD32VF103
This controller family only supports USB FS with four endpoints
2021-08-07 09:01:01 +02:00
hathach
8cd23489d5 update endian 2021-07-22 17:49:39 +07:00
hathach
b35ad6edcb clean up max packet size endian 2021-07-22 17:04:55 +07:00
hathach
fa0936bf58 Merge branch 'CCRX_Port' of https://github.com/Wini-Buh/tinyusb into Wini-Buh-CCRX_Port 2021-07-22 16:48:18 +07:00
Ha Thach
1c2bc47c07
Merge pull request #950 from HiFiPhile/dfu
DFU improvements
2021-07-22 11:17:01 +07:00
hathach
aff7b100ca update dcd attr for samx7x 2021-07-22 00:28:37 +07:00
hathach
8ee1141a70 correct check 2021-07-22 00:12:01 +07:00
hathach
a9f3532252 more ci 2021-07-22 00:12:01 +07:00
hathach
37cac414f8 fix ci 2021-07-22 00:12:01 +07:00
hathach
a226dbaa4d add dcd_attr for DCD_ATTR_ENDPOINT_MAX
could be useful with more dcd specific attribute
2021-07-22 00:12:01 +07:00
HiFiPhile
b194aa240b
Merge branch 'master' into dcd_same70 2021-07-17 12:10:35 +02:00
hathach
3960beece0 rename CFG_TUD_DFU_MODE to simply CFG_TUD_DFU 2021-07-15 20:52:58 +07:00
hathach
daca9e520b wrap up DFU update 2021-07-15 20:47:50 +07:00
hathach
680b000bd1 simplify TUD_DFU_DESCRIPTOR with alternate count
remove CFG_TUD_DFU_ALT_COUNT since there is only one DFU functional
descriptor
2021-07-12 20:15:59 +07:00
hathach
2916cd4575 rename TUD_DFU_MODE_DESCRIPTOR to TUD_DFU_DESCRIPTOR 2021-07-12 18:51:57 +07:00
hathach
10a7e0502a Merge branch 'dfu' of https://github.com/HiFiPhile/tinyusb into HiFiPhile-dfu 2021-07-12 17:50:11 +07:00
Mengsk
5b4b5ca533 Add bwPollTimeout set callback, postpone download callback after GETSTATUS 2021-07-08 00:25:12 +02:00
HiFiPhile
7e883e0f41 Refactor with one DFU functionnal descriptor 2021-07-07 19:01:00 +02:00
Mengsk
941b02c6a9 Reactor to one functional descriptor. 2021-07-07 18:02:04 +02:00
Mengsk
c2d8ed3fd1 Add alt settings support in DFU class. 2021-07-05 17:56:21 +02:00
MasterPhi
6e9da70c18 Fix audiod_get_AS_interface_index in audio class.
Enhance uac2_headset example with multiple sample rates.
Add macro to calculate EP size.
2021-07-04 15:46:10 +02:00
hathach
ca98996e1f better support for hid device set/get protocol
add caplock detection for hid_composite
2021-07-01 22:46:39 +07:00
Wini-Buh
cb0f1d98db Merge remote-tracking branch 'origin/master' into CCRX_Port
# Conflicts:
#	src/portable/renesas/usba/dcd_usba.c
#	src/tusb_option.h
2021-06-29 00:19:30 +02:00
Mengsk
b9e9773d04 fix warning 2021-06-24 12:58:18 +02:00
Wini-Buh
51c6444e1d final clean up 2021-06-22 23:49:24 +02:00
hathach
832d22d7ad force single buffered for device mode, out endpoint 2021-06-17 01:55:35 +07:00
Wini-Buh
60d8ecbfe6 clean up 2021-06-11 22:36:17 +02:00
Wini-Buh
1c23462b43 weak atrribute work around removed from CCRX_Port 2021-06-11 22:25:36 +02:00
hathach
c7f51cde40 implement usbh_edpt_busy (WIP), remove hcd_edpt_busy 2021-06-10 17:19:21 +07:00
hathach
13cb016042 add usbh_classdriver.h 2021-06-10 16:48:20 +07:00
Wini-Buh
5a554508ca Merge remote-tracking branch 'upstream/master' into CCRX_Port 2021-06-03 22:17:30 +02:00
Wini-Buh
b4f092ec74 Adaptations for Renesas CCRX toolchain and Rx72N controller performed 2021-05-29 21:23:39 +02:00
hathach
9736e54734
include clean up 2021-05-27 17:40:39 +07:00
hathach
c7cecf28c8
clean up 2021-05-27 00:16:45 +07:00
hathach
faa31152b4 rename usbd_edpt_iso_xfer to usbd_edpt_xfer_fifo 2021-05-26 20:34:06 +07:00
Jeremiah McCarthy
ce59d69520 Merge remote-tracking branch 'official/master' 2021-05-25 09:27:35 -04:00
hathach
4f03332118 clean up 2021-05-23 20:14:01 +07:00
hathach
40cd3a7e20 Merge branch 'master' into host-hid 2021-05-18 13:08:30 +07:00
hathach
db8ea7ea1c clean up 2021-05-18 12:58:24 +07:00
hathach
791efecfdf add tuh_device_ready() 2021-05-18 12:58:24 +07:00
hathach
3a7f8b3ac3 separte tusb_init/inited() to tud/tuh init/inited
add rhport to tud_init()
2021-05-18 12:58:24 +07:00
hathach
2666e1efec add tuh_inited() and tud_inited() 2021-05-18 12:58:24 +07:00
Jeremiah McCarthy
05892a5a1e Merge branch 'master' of github.com:xmos-jmccarthy/tinyusb 2021-05-06 12:18:55 -04:00
hathach
b15d126d59 lpc55 improve multiple controller support
port1 highspeed requires USB_RAM
2021-04-24 13:36:05 +07:00
Jeremiah McCarthy
45e401e69d Remove unused alt_setting 2021-04-22 16:42:54 -04:00
hathach
9ecb91e1bd fix build with LOG=2 2021-04-15 23:47:28 +07:00
Jeremiah McCarthy
7b45b38fe4 Remove DFU mode and rt 2021-04-12 11:17:01 -04:00
Jeremiah McCarthy
2e2dc7bdc5 Revise per initial comments
Returns the RT driver to the function state of previous iteration, which
did not support the will_detach.  Behavior should be fine without this
feature.  This removes much of the added bloat to track state, and
handle requests in the APP_DETACH state which is no longer required.

Removes the optional bloat added to the RT driver, such as responding to
GETSTATE requests.

Fixes the DFU Mode to extract the attr bits from the functional
descriptor when opened.

Fixes some incorrect bitwise if checks.

Also, updates some naming of functions to be consistent with the rest of
the library.
2021-04-07 17:05:04 -04:00