78 Commits

Author SHA1 Message Date
hathach
be165a6713 reworking host hid API 2021-05-18 12:58:24 +07:00
hathach
e0dbb489ae rename CFG_TUSB_HOST_ENUM_BUFFER_SIZE to CFG_TUH_ENUMERATION_BUFSZIE
add usbh_get_enum_buf
2021-05-18 12:58:24 +07:00
hathach
e83bdcdfdc reworking hid host 2021-05-18 12:58:24 +07:00
hathach
4023d05e93 minor clean up 2021-05-18 12:58:24 +07:00
hathach
68fa17e17c more API rename 2021-05-18 12:58:24 +07:00
corvus-ossifragus
0621df8d26 Update main.c
Fix code where HID keyboard was being stuffed into the HID mouse buffer.
2021-05-09 19:11:29 -04:00
corvus-ossifragus
5316c4e84a Update main.c
Added new RTOS names to the name string array in print_greeting() in the host example program. The program seemed to hang when a new RTOS was indexed in CFG_TUSB_OS.
2021-05-07 16:35:22 -04:00
hathach
59f0fa1e5e cmake cleanup 2021-04-19 13:30:04 +07:00
Alex Lisitsyn
f5e02e72ed espressif: group boards using target name as a family
`hw\bsp` separate one family folder to esp32s2, esp32s3
add board specific board.cmake file to override board specific options(features)
fix examples and test scripts to use new family approach
2021-04-16 15:41:42 +02:00
Alex Lisitsyn
2f0cb8b5f1 tinyusb: add support of esp32s3 target
add support of new esp32s3 target and the board
update the roles.mk wrapper to allow dfu flashing of espressif chip
update examples to allow compilation for esp32s3_addax_1 board
once the code is tested the PR to original tinyusb repo will be submitted
2021-04-16 13:38:00 +02:00
hathach
c8bb0020ea update rp2040 to use pico-sdk externally
also try to update ci
2021-04-11 13:37:07 +07:00
hathach
567c6d437a remove ses project since it is all broken and occupies space 2021-03-23 15:19:53 +07:00
hathach
249852d25c use boot2_generic_03h for adafruit feather rp2040
- also use boot2_generic_03h for now for itsy bitsy and qt rp2040
- change default flash target for rp2040 to flash-pyocd
2021-03-18 19:53:39 +07:00
hathach
ce942baad2 update pico-sdk to more recent commit
- move target_link_libraries() to family.cmake
- enable pico_bootsel_via_double_reset
2021-03-02 22:57:33 +07:00
hathach
f6b48c07fc
add rp2040 to host example build 2021-02-26 14:05:08 +07:00
hathach
451650fa32 move ehci and ohci to portable folder 2021-02-23 23:09:48 +07:00
hathach
afab5bf497 enable host example ci build for imxrt 2021-02-23 19:50:39 +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
f2ed2ae09a rename tuh_msc_scsi_inquiry() to tuh_msc_inquiry() 2021-02-23 11:14:19 +07:00
hathach
00b4b74e82 rename hcd_lpc18_43 to hcd_transdimension 2021-02-22 17:15:06 +07:00
hathach
83614418b5 get all device example build with rp2040 (except freeRTOS) 2021-01-25 13:28:23 +07:00
graham sanderson
e0aa405d19 RP2040 support 2021-01-19 19:52:07 -06:00
hathach
437ccac696 implement tuh_msc_scsi_inquiry() / tuh_msc_read_capacity() / tuh_msc_get_maxlun() 2020-10-13 13:23:33 +07:00
hathach
9c07a2a4e2 rework msc host
- msc host enum is now async
- implement async tuh_msc_scsi_command() / tuh_msc_request_sense() /
tuh_msc_test_unit_ready()
2020-10-13 00:07:51 +07:00
hathach
66a10ec9c8 rework usbh control transfer
use series of complete callback instead of blocking semaphore, which is
more noOS friendly. still working with hid host
2020-09-07 15:19:20 +07:00
hathach
828f720207 refactor hub class
- separate connect/disconnect handling
- hub work with full speed, but doesn't seem to work with Low speed
device (with mcb1800)
- need to update msc host after migrating from isr to xfer_cb (blocked
at inquiry)
2020-09-05 20:20:45 +07:00
hathach
9531e47d10 update example to test with mouse 2020-09-05 14:59:07 +07:00
hathach
5fb3d439b3 update ci to also build host example 2020-09-04 01:32:30 +07:00
hathach
865ebf7c5d fflush(stdout) for keyboard host example 2020-09-04 00:50:10 +07:00
hathach
7828c396db keyboard host work as proof of concept 2020-09-04 00:23:57 +07:00
hathach
35aee4a6af more hid host work 2020-09-03 23:57:51 +07:00
hathach
ef651e0734 fix #449 remove obsolete pipehandle from hid host 2020-09-03 17:07:29 +07:00
hathach
f4e3c6fd8e clean up 2020-09-01 17:12:31 +07:00
hathach
d108ea4326 implement hcd_uframe_number for ohci
able to get 8 byte descriptors using LPC1769 + base, but failed to reset
and set address.
2020-05-22 21:45:34 +07:00
hathach
4c01099a3d update makefile to build with ohci host
update ses project for lpc1769 with rtt
2020-05-22 20:57:52 +07:00
hathach
58cedf4c06 usb0 host on mcb1800 work with fullspeed mode.
use usbh_edpt_open() to correctly map ep2drv[]
2020-05-19 00:55:43 +07:00
hathach
905a80d1b2 temporarily remove osal_task_delay() from osal
- add hcd_uframe_number() API, update EHCI to return uframe number
- get host running on ea4357
2020-05-04 14:11:58 +07:00
hathach
4a3a448340 clean up things, add makefile for host example 2020-05-04 00:29:52 +07:00
hathach
45e32a787b clean up 2020-03-11 14:13:34 +07:00
hathach
38b14725f7 rename OPT_MCU_IMXRT10XX to OPT_MCU_MIMXRT10XX 2019-11-22 17:40:12 +07:00
hathach
281e8cd9ec rename OPT_MCU_RT10XX to OPT_MCU_IMXRT10XX 2019-11-22 15:42:46 +07:00
hathach
f623dbc425 config clean up 2019-11-22 12:41:47 +07:00
hathach
03deeea465 fix segger host example 2019-11-22 00:33:10 +07:00
hathach
6a076d8aae rename CFG_TUSB_HOST_CUSTOM_CLASS to CFG_TUH_VENDOR 2019-07-19 16:31:51 +07:00
hathach
b0678e1050 rename CFG_TUD_CUSTOM_CLASS to CFG_TUD_VENDOR 2019-07-19 16:23:56 +07:00
hathach
ec8f6a6d90 clean up demo config 2019-07-11 22:55:19 +07:00
hathach
1a0e02fa1b tested midi example 2019-07-03 00:52:25 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application 2019-06-06 10:39:37 +07:00
hathach
ce6976f400 better fix for #72 millis overthrow 2019-05-21 13:31:02 +07:00
hathach
6e443d1918
enable CFG_TUSB_DEBUG on DEBUG build 2019-05-14 17:36:03 +07:00