882 Commits

Author SHA1 Message Date
Jeremiah McCarthy
ce59d69520 Merge remote-tracking branch 'official/master' 2021-05-25 09:27:35 -04:00
Ha Thach
56577d9fca
Merge pull request #834 from hathach/host-hid
Rework Host hid
2021-05-22 22:56:17 +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
noodlefighter
0b1257266b fix uac2_headset example: type of bRequest should be uint8_t, not enumerate 2021-05-20 17:45:15 +08:00
hathach
327336e921
fix build for rp2040 2021-05-19 11:16:26 +07:00
hathach
40cd3a7e20 Merge branch 'master' into host-hid 2021-05-18 13:08:30 +07:00
hathach
ffdcf9a0d0 move report_info to application
update API accordingly, update hid parser for usage, and usage_page.
2021-05-18 12:58:24 +07:00
hathach
93661042d9 more API update
- remove tuh_n_hid_n_get_report()
- usbh auto queue get report and invoke callback when received data
2021-05-18 12:58:24 +07:00
hathach
dfa8b41b96 adding hid parser 2021-05-18 12:58:24 +07:00
hathach
9ddc3bfd6d more host hid API
adding hid parser
2021-05-18 12:58:24 +07:00
hathach
641f55f1f1 remove CFG_TUH_HID_KEYBOARD and CFG_TUH_HID_MOUSE 2021-05-18 12:58:24 +07:00
hathach
9324fd8f2e more hid host API rework 2021-05-18 12:58:24 +07:00
hathach
b7a8b278c8 rename tuh_device_is_configured() to tuh_device_configured()
- remove tuh_device_get_state()
- more hid mouse clean up
2021-05-18 12:58:24 +07:00
hathach
a5cd81a226 correct hid host mount/unmount callback
rename HOST_CLASS_HID to CFG_TUH_HID
2021-05-18 12:58:24 +07:00
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
hathach
e163f85ee0 clean up, rename some HID device symbol/API
- add tud_hid_n_interface_protocol()
- rename tud_hid_n_boot_mode() to  tud_hid_n_get_protocol()
- rename tud_hid_boot_mode_cb() to tud_hid_set_protocol_cb()
- add HID_PROTOCOL_BOOT/REPORT to avoid magic number 0,1
- rename HID_PROTOCOL_NONE/KEYBOARD/MOUSE to HID_ITF_PROTOCOL_ to avoid
confusion
2021-05-18 12:32:20 +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
Jeremiah McCarthy
05892a5a1e Merge branch 'master' of github.com:xmos-jmccarthy/tinyusb 2021-05-06 12:18:55 -04:00
Jeremiah McCarthy
b51e0eb860 Fix typo 2021-05-05 18:00:32 -04:00
Jeremiah McCarthy
dab1ed6b32 Add example to be tested
Update API description.
2021-05-05 17:42:38 -04:00
Nathan Conrad
7998f11258 USBTMC: remove reference to visa DLL (which only was for windows, and auto-select instead. 2021-04-22 21:47:51 -04:00
hathach
59f0fa1e5e cmake cleanup 2021-04-19 13:30:04 +07:00
hathach
803b755554 update per review 2021-04-18 01:50:16 +07:00
hathach
38cc459c93 Merge branch 'master' into alisitsyn-esp-based_on_334e95f 2021-04-18 01:30:19 +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
Dima Barsky
9f925bc900
Added support for Black Magic Probe (#787)
* Added flash-bmp and debug-bmp targets; added .gdb_history to .gitignore
* Added the BMP variable, defaults to /dev/ttyBmpGdb
The name of the BMP device is different on different systems. On Linux (after installing the recommended udev rules) it'll be /dev/ttyBmpGdb, but the user should be able to override it.
* Update rules.mk
2021-04-16 20:23:27 +07: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
Reinhard Panhuber
c7e4a86166 Fix bug in audio_4_channel_mic.c 2021-04-15 19:40:57 +02:00
Reinhard Panhuber
fa0d71f2cf Try to resolve include hassle in uac2_headset 2021-04-15 17:04:25 +02:00
hathach
2e65d1543f update cmakelist for audio_4_channel 2021-04-15 12:14:01 +07:00
hathach
b687a4fc20 Merge branch 'master' into edpt_ISO_xfer 2021-04-15 12:12:52 +07:00
hathach
ad11481dd1 update plot script to work on macos and linux
also add note for installing pip module
2021-04-15 12:08:50 +07:00
hathach
c8bb0020ea update rp2040 to use pico-sdk externally
also try to update ci
2021-04-11 13:37:07 +07:00
Reinhard Panhuber
2134c1a875 Fix defines in audio_device.c 2021-04-08 21:48:36 +02:00
Reinhard Panhuber
97d1609c72 Ensure half word alignment in audio 4 channel example 2021-04-08 20:15:08 +02:00
Reinhard Panhuber
930eca0748 Add 4 channel microphone audio example using software encoding 2021-04-08 19:56:26 +02:00
hathach
8b79040c38 code format 2021-04-06 15:34:50 +07:00
Reinhard Panhuber
e0cb415954 Fix uac2_headset include hassle be declaring value by hand 2021-04-03 18:07:18 +02:00