hathach
64e9c11b41
fix incorrect midi descriptor template
2019-07-09 10:40:14 +07:00
hathach
216ccc6e93
midi only use audio 1.0 without IAD
2019-07-05 16:46:11 +07:00
hathach
f16ebd512b
indent clean up
2019-07-04 18:45:10 +07:00
hathach
1b242cb3c6
clean up
2019-07-04 01:31:56 +07:00
hathach
b0e5a1a9ec
remove tud_midi_write_flush() send asap. rename tud_midi_connected() to tud_midi_mounted()
2019-07-04 01:27:51 +07:00
hathach
50f4c61d7c
fix midi_write prototype
2019-07-03 01:22:41 +07:00
hathach
1a0e02fa1b
tested midi example
2019-07-03 00:52:25 +07:00
hathach
62d3b91691
clean up
2019-07-02 18:23:42 +07:00
hathach
3f3ef6f4e6
clean up
2019-07-02 16:42:12 +07:00
hathach
57433135ce
fix midi template
2019-07-01 23:19:14 +07:00
hathach
e702328093
fix compiling
2019-07-01 23:11:16 +07:00
hathach
6991b28532
improving midi support, adding midi exmaple
...
rename TUSB_DESC_CLASS_SPECIFIC to TUSB_DESC_CS_INTERFACE
2019-07-01 22:38:06 +07:00
hathach
73d7ab201e
remove dcd_edpt_busy()
2019-06-10 22:29:18 +07:00
hathach
7156bfb54d
fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*
2019-06-10 18:46:00 +07:00
hathach
dcfaec9efc
add HID_ASCII_TO_KEYCODE
2019-06-06 18:06:24 +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
a0307bafda
added usbd_edpt_xfer/usbd_edpt_busy to replace dcd_edpt_transfer/dcd_edpt_busy()
...
- improve fifo write/read_n with only one lock
- use usbd_edpt_xfer/usbd_edpt_busy for hid/cdc/msc class driver
- replace cdc read's pending_read_from_host by usbd_edpt_busy()
2019-05-29 16:55:15 +07:00
hathach
5f34c63660
should fix and work with #58
...
- add hid_test_js
2019-05-24 12:33:56 +07:00
hathach
f4762ff012
host fix address alloc when it reach max devices
2019-05-23 10:59:43 +07:00
hathach
3846645a28
fix tud_cdc_read_char()/tud_cdc_peek() to return signed char
...
- depending on compiler option "char" can be intepreted as unsigned char
2019-05-22 00:54:21 +07:00
hathach
bcf9718f9a
clean up
2019-05-15 22:51:49 +07:00
hathach
8ccecde18e
lpc1769 work with makefile
2019-05-15 12:57:31 +07:00
hathach
6e443d1918
enable CFG_TUSB_DEBUG on DEBUG build
2019-05-14 17:36:03 +07:00
hathach
910a94e9ca
clean up
2019-05-14 13:12:16 +07:00
hathach
454496316f
more endian convert
2019-05-14 13:06:38 +07:00
hathach
3e6d911ce9
more clean up use inline bit funciton instead of macros
2019-05-14 12:54:29 +07:00
hathach
81fc7b7e2b
clean up endian convert function
2019-05-14 12:14:51 +07:00
hathach
3e24daac79
remove deprecated tusb_task, clean up tusb compiler
2019-05-14 12:03:06 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
6135019230
clean up
2019-05-14 11:46:22 +07:00
hathach
f3a5ea65a9
add index to tud_descriptor_configuration_cb()
2019-05-12 19:55:15 +07:00
hathach
1174949308
change tud_descriptor_string_cb() to be consistent with other descriptor callback
2019-05-12 15:38:15 +07:00
hathach
ba2136486c
add tud_hid_descriptor_report_cb()
...
- remove tud_desc_set.hid_report
- remove tud_desc_set_t
2019-05-12 14:09:35 +07:00
hathach
de56a0ca89
add tud_descriptor_string_cb() for getting string descriptor from application
...
- remove tud_desc_set.string_arr/string_count
2019-05-11 16:31:52 +07:00
hathach
667133304b
fix samd dcd_clear_stall also reset data toggle
2019-05-10 00:10:18 +07:00
hathach
7063a0dd03
msc device will stall READ_CAPACITY & READ_FORMAT_CAPACITY if tud_msc_capacity_cb() get zero size
2019-05-09 23:33:55 +07:00
hathach
77bc421359
fix clear stall usage, fix reset data toggle with dcd_clear_stall for nrf52
2019-05-09 23:31:18 +07:00
hathach
81cb1c9510
clean up
2019-05-07 00:03:42 +07:00
hathach
6e4dc2f23d
adding msc Start Stop to buitin command, but not complate yet
...
add tud_msc_start_stop_cb() as optional callback
2019-05-06 16:48:50 +07:00
hathach
efefbd3a4e
add Test Unit Ready to builtin command, add tud_msc_test_unit_ready_cb()
...
- rename tud_msc_maxlun_cb to tud_msc_get_maxlun_cb
2019-05-06 15:01:38 +07:00
hathach
fae9aba68f
add tud_msc_inquiry_cb() remove CFG_TUD_MSC_VENDOR/PRODUCT/PRODUCT_REV
2019-05-03 23:46:01 +07:00
hathach
f9d9eebfe1
support hid generic inout #58
...
- add report descriptor template TUD_HID_REPORT_DESC_GENERIC_INOUT
- add TUD_HID_INOUT_DESCRIPTOR & TUD_HID_INOUT_DESC_LEN
- add hid_generic_inout example
2019-05-02 14:30:49 +07:00
hathach
3387b9fca5
use tud_hid_set_report_cb for hid epout
2019-05-02 13:27:32 +07:00
hathach
353d415d3f
clean up
2019-05-02 13:27:00 +07:00
hathach
1c0ec61aa1
add tud_hid_out_report_cb() for hid epout
2019-05-02 00:08:39 +07:00
hathach
a25ca701cd
text clean up
2019-05-01 23:26:52 +07:00
hathach
c8b9293d68
rename hid report_buf to epin_buf
...
add epout_buf and use it for SET_REPORT request buffer
2019-05-01 20:45:05 +07:00
hathach
2050778763
clean up
2019-05-01 20:41:26 +07:00
hathach
c006f3dbce
adding optional ep out for hid
...
refactor usbd_open_edpt_pair
2019-05-01 19:29:56 +07:00
hathach
90fdae94f8
clean up
2019-05-01 18:21:08 +07:00