hathach
832d22d7ad
force single buffered for device mode, out endpoint
2021-06-17 01:55:35 +07:00
hathach
5c567129ea
fix calculating xferred bytes with double buffer with short packet on buffer0
2021-06-13 18:30:26 +07:00
hathach
f38c460433
fix ep tx with double buffered
2021-06-13 17:19:14 +07:00
hathach
bd039c8d37
fix build with log for device
2021-06-13 16:16:25 +07:00
hathach
1af64f9729
remove sent_setup from hw endpoint
2021-06-13 15:31:00 +07:00
hathach
289ccf3c93
remove dev_ep_map
2021-06-13 13:19:20 +07:00
hathach
a4ad064e63
increase example CFG_TUH_HID from 2 to 4
2021-06-12 14:20:09 +07:00
hathach
910e11a8ab
fix ci build
2021-06-11 19:04:16 +07:00
hathach
dfe5a727c6
log clean up
2021-06-11 18:54:09 +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
93cb2ff4cf
more refactor double buffered rp2040
2021-06-11 18:16:13 +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
572d986a02
improve usbh
2021-06-11 17:14:22 +07:00
hathach
a1a03c92f6
double buffered work with host
2021-06-11 17:05:49 +07:00
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
Ha Thach
b34724215b
Merge pull request #887 from hathach/host-update
...
Host API clean up
2021-06-10 17:42:43 +07:00
hathach
c9d66dcd5f
remove BOARD from output name
2021-06-10 17:24:36 +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
13cb016042
add usbh_classdriver.h
2021-06-10 16:48:20 +07:00
Ha Thach
3c4ab6bd8a
Merge pull request #883 from hathach/fix-rp2040-host-transferred-bytes
...
fix computing transferred bytes with E4
2021-06-10 11:35:51 +07:00
Ha Thach
14fc0987ac
Update bug_report.md
2021-06-10 11:03:58 +07:00
Ha Thach
c98a95c276
Merge pull request #882 from mmosca/master
...
Add support for 32 button gamepads
2021-06-09 18:05:14 +07:00
hathach
cffa666bd1
use alias for button naming
2021-06-09 17:45:14 +07:00
hathach
d81a37d1be
fix enum overflow with msp430
2021-06-09 12:10:44 +07:00
hathach
dca9bc97d6
miss a helper
2021-06-09 10:45:37 +07:00
hathach
2c0947ebb6
update gamepad helper
2021-06-09 10:33:57 +07:00
hathach
501de2a5e8
fix computing transferred bytes with E4
2021-06-08 10:29:22 +07:00
Ha Thach
1b8473902f
Merge pull request #881 from hathach/mindmotion-followup
...
follow up to pr869
2021-06-07 19:18:37 +07:00
hathach
c2b85c8d6d
add OPT_MCU_MM32F327X
...
move dcd_mm32f into mindmotion folder
2021-06-07 18:51:44 +07:00
Ha Thach
ce30109b5b
Merge pull request #873 from kilograham/fix_log_warning
...
Add __unused to variables that are only used if TU_LOG does something
2021-06-03 22:53:49 +07:00
Ha Thach
d49938d0f5
change ci to pico-sdk develop
2021-06-03 01:16:27 +07:00
hathach
a50fd963f5
increase version for release, update changelog
2021-06-03 01:13:22 +07: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
Ha Thach
ff1a1122ed
Merge pull request #868 from hathach/host-hcd
...
Clean up Host HCD API
2021-06-02 00:39:53 +07:00
hathach
54107100bb
fix missing TU_LOG symbol
2021-06-02 00:26:50 +07:00
hathach
6e2cf2a3ee
clean up log
2021-06-02 00:10:35 +07:00
Ha Thach
a6b5e207b2
Merge pull request #862 from hathach/host-rp2040
...
Fix host rp2040 with low speed device
2021-06-01 23:59:03 +07:00
Ha Thach
abf83c6985
add note for custom class driver
2021-06-01 13:36:19 +07:00
hathach
bc0a0386e9
clean up
2021-05-31 18:41:08 +07:00
hathach
31077f48d2
correct ohci endpoint address in xfer complete
2021-05-31 18:16:07 +07:00
hathach
4e98ce9147
use hcd_frame_number() instead of uframe
2021-05-31 18:15:47 +07:00
hathach
da8000d42d
clean up ohci, remove obsolete api
2021-05-31 16:34:16 +07:00
hathach
04797bc5a5
clean up
2021-05-31 16:05:55 +07:00
hathach
4b2f32b778
update hub
2021-05-31 15:47:37 +07:00
hathach
65e5872d81
add hub_port_set_feature()
2021-05-31 15:19:07 +07:00
hathach
3fb80e76ce
remove obsolete hcd_pipe_queue_xfer()/hcd_pipe_xfer()
2021-05-31 12:08:37 +07:00
hathach
5cf930d78a
fix cast-align warning in msc host
2021-05-31 11:11:00 +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
hathach
eb8ca14bf8
add level 3 log for info, add generic TU_LOG()
2021-05-30 22:19:46 +07:00
Ha Thach
4f97915d48
Update bug_report.md
2021-05-30 13:50:14 +07:00
hathach
164778a716
update limit each transfer not less than 64
2021-05-28 17:42:13 +07:00
hathach
e9c22e4a5c
increase version for release
2021-05-28 17:24:35 +07:00
Ha Thach
81d238bd46
Merge pull request #854 from hathach/more-housekeeping
...
More housekeeping
2021-05-27 19:44:10 +07:00
hathach
7c66c5121b
update doc
2021-05-27 19:31:55 +07:00
hathach
9ad6fadf6a
more include clean up
2021-05-27 18:34:07 +07:00
hathach
f384d6f67e
more with clean up
2021-05-27 18:11:12 +07:00
hathach
b36b211c26
clean up tusb_fifo.h include
2021-05-27 17:58:42 +07: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
814edec89f
clean up
2021-05-26 20:34:06 +07:00
hathach
faa31152b4
rename usbd_edpt_iso_xfer to usbd_edpt_xfer_fifo
2021-05-26 20:34:06 +07:00
Ha Thach
4e2684f23a
Merge pull request #825 from ogatatsu/hid_desc
...
fix hid report descriptor
2021-05-26 20:33:45 +07:00
Ha Thach
ac47a3360e
Update README.md
2021-05-26 20:21:15 +07:00
Ha Thach
85186ab136
Merge pull request #754 from xmos-jmccarthy/master
...
Add DFU Class per Version 1.1 Spec
2021-05-26 20:17:01 +07:00
hathach
f9c542aa52
fix dfu example build
2021-05-26 18:16:56 +07:00
hathach
dbef50f8ff
Merge branch 'master' into xmos-jmccarthy-master
2021-05-26 17:32:49 +07:00
Ha Thach
220f441048
Merge pull request #850 from hathach/fix-warnings
...
fix warnings
2021-05-26 17:26:50 +07:00
hathach
f8e9c6ddbb
separate ci workflow, remove artifact & release upload
2021-05-26 17:12:26 +07:00
hathach
9fa9b67895
test separate ci workflow for msp430
2021-05-26 16:53:35 +07:00
hathach
689d74a595
fix board test example build with nrf
2021-05-26 16:41:17 +07:00
Ha Thach
e411ce1937
Merge pull request #849 from noodlefighter/fix-uac2_headset
...
fix uac2_headset example
2021-05-26 13:21:17 +07:00
hathach
954056da0c
fix warnings cast function type for nrf, fix pico osal warning
...
add TODO for overflow in tusb_fifo.c
2021-05-25 21:02:40 +07:00
Ha Thach
ca8724ee08
Merge pull request #846 from hathach/house-keeping
...
House keeping
2021-05-24 12:07:33 +07:00
hathach
4f03332118
clean up
2021-05-23 20:14:01 +07:00
hathach
3654d96e07
only invoke tuh_msc_umount_cb() if needed
2021-05-23 14:11:12 +07:00
hathach
8cffe4897e
change hid device internal boot_mode to protocol_mode
2021-05-23 13:56:32 +07:00
Ha Thach
056cd6b229
Merge pull request #845 from hathach/hid-host-get-protocol-when-enum
...
get protocol when enum with hid boot interface
2021-05-22 23:42:10 +07:00
hathach
a1dab1611b
get protocol when enum with hid boot interface
2021-05-22 23:30:41 +07:00
Ha Thach
56577d9fca
Merge pull request #834 from hathach/host-hid
...
Rework Host hid
2021-05-22 22:56:17 +07:00
hathach
f13a3c04f7
fix missing report in tuh_hid_set_report()
2021-05-22 22:43:55 +07:00
hathach
a2c4a48dd6
add tuh_hid_report_sent_cb()
2021-05-22 22:03:21 +07:00
hathach
b8e019da32
rename tuh_hid_get_report_cb to tuh_hid_report_received_cb()
2021-05-22 21:51:30 +07:00
hathach
df65c35b31
implement hid host set report with control transfer
...
rename mount, umount callback
2021-05-22 21:48:42 +07:00
hathach
63c57ed1a4
clean p
2021-05-22 20:55:42 +07:00
hathach
ad845db6a5
improve hid parser
2021-05-22 20:54:59 +07:00
hathach
350dfb2ea3
more hid api rename
2021-05-22 18:17:32 +07:00
hathach
89dad1ad41
update app
2021-05-22 16:48:07 +07:00
hathach
99add05aa7
simplify hid api
...
add hid set_protocol() and set_protocol_complete_cb()
2021-05-22 16:27:28 +07:00
Ha Thach
cdb063f007
Merge pull request #841 from noodlefighter/fix-uac2_headset
...
fix uac2_headset example
2021-05-21 00:52:01 +07:00
Ha Thach
7bb84890f5
Merge pull request #840 from hathach/enable-ci-esp32s3
...
enable ci for esp32s3 boards
2021-05-19 11:22:34 +07:00
hathach
327336e921
fix build for rp2040
2021-05-19 11:16:26 +07:00
hathach
7d0fb6f87a
enable ci for esp32s3 boards
2021-05-19 11:05:44 +07:00
hathach
2df5a5367f
update hid host get/set protocol to match device
2021-05-18 13:12:33 +07:00