summaryrefslogtreecommitdiff
path: root/examples/host
AgeCommit message (Collapse)Author
2021-05-30Rework rp2040 examples and CMake build:graham sanderson
- Examples should be CMake buildable from their own subdirectory; such a build will error out based on matching .skip.MCU_xxx or a mismatched .only.MCU_ - It should be possible to build from a higher level and use .skip.MCU_ and .only.MCU_ to filter which examples get built - The intention is for the CMakeLists.txts in the examples to be non family specific and without MCU based IFs. I have started this work, but am not really sure the state of the esp32 stuff; in any case the plan is to have everything encapsulated in the FAMILY/family.cmake - pico_examples now just includes examples/device/CMakeLists.txt and examples/host/CMakeLists.txt directly, as they also build correctly when included from there. Note that .skip.MCU_ for esp32 in the directories it wasn't previously avaiable has not been added, as the .skip is common to the regular Makefile builds also. It isn't clear whether these examples should build for esp32, but if not .skip should be added.
2021-05-22add tuh_hid_report_sent_cb()hathach
2021-05-22rename tuh_hid_get_report_cb to tuh_hid_report_received_cb()hathach
2021-05-22implement hid host set report with control transferhathach
rename mount, umount callback
2021-05-22clean phathach
2021-05-22improve hid parserhathach
2021-05-22more hid api renamehathach
2021-05-22update apphathach
2021-05-22simplify hid apihathach
add hid set_protocol() and set_protocol_complete_cb()
2021-05-19fix build for rp2040hathach
2021-05-18Merge branch 'master' into host-hidhathach
2021-05-18move report_info to applicationhathach
update API accordingly, update hid parser for usage, and usage_page.
2021-05-18more API updatehathach
- remove tuh_n_hid_n_get_report() - usbh auto queue get report and invoke callback when received data
2021-05-18adding hid parserhathach
2021-05-18more host hid APIhathach
adding hid parser
2021-05-18remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSEhathach
2021-05-18more hid host API reworkhathach
2021-05-18rename tuh_device_is_configured() to tuh_device_configured()hathach
- remove tuh_device_get_state() - more hid mouse clean up
2021-05-18correct hid host mount/unmount callbackhathach
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18reworking host hid APIhathach
2021-05-18rename CFG_TUSB_HOST_ENUM_BUFFER_SIZE to CFG_TUH_ENUMERATION_BUFSZIEhathach
add usbh_get_enum_buf
2021-05-18reworking hid hosthathach
2021-05-18minor clean uphathach
2021-05-18more API renamehathach
2021-05-09Update main.ccorvus-ossifragus
Fix code where HID keyboard was being stuffed into the HID mouse buffer.
2021-05-07Update main.ccorvus-ossifragus
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-04-19cmake cleanuphathach
2021-04-16espressif: group boards using target name as a familyAlex Lisitsyn
`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-16tinyusb: add support of esp32s3 targetAlex Lisitsyn
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-11update rp2040 to use pico-sdk externallyhathach
also try to update ci
2021-03-23remove ses project since it is all broken and occupies spacehathach
2021-03-18use boot2_generic_03h for adafruit feather rp2040hathach
- also use boot2_generic_03h for now for itsy bitsy and qt rp2040 - change default flash target for rp2040 to flash-pyocd
2021-03-02update pico-sdk to more recent commithathach
- move target_link_libraries() to family.cmake - enable pico_bootsel_via_double_reset
2021-02-26add rp2040 to host example buildhathach
2021-02-23move ehci and ohci to portable folderhathach
2021-02-23enable host example ci build for imxrthathach
2021-02-23host msc: call read_capacity as part of enumerationhathach
- 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-23rename tuh_msc_scsi_inquiry() to tuh_msc_inquiry()hathach
2021-02-22rename hcd_lpc18_43 to hcd_transdimensionhathach
2021-01-25get all device example build with rp2040 (except freeRTOS)hathach
2021-01-19RP2040 supportgraham sanderson
2020-10-13implement tuh_msc_scsi_inquiry() / tuh_msc_read_capacity() / ↵hathach
tuh_msc_get_maxlun()
2020-10-13rework msc hosthathach
- msc host enum is now async - implement async tuh_msc_scsi_command() / tuh_msc_request_sense() / tuh_msc_test_unit_ready()
2020-09-07rework usbh control transferhathach
use series of complete callback instead of blocking semaphore, which is more noOS friendly. still working with hid host
2020-09-05refactor hub classhathach
- 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-05update example to test with mousehathach
2020-09-04update ci to also build host examplehathach
2020-09-04fflush(stdout) for keyboard host examplehathach
2020-09-04keyboard host work as proof of concepthathach
2020-09-03more hid host workhathach