hathach
|
3623ba1884
|
fix trailing space and new line
temporarily disable codespell
|
2023-03-17 16:12:49 +07:00 |
|
hathach
|
48d4a67ec5
|
add tuh_cdc_peek()
|
2022-12-24 01:11:13 +07:00 |
|
hathach
|
15a02d04df
|
fix incorrect rx buf in cdc
|
2022-12-22 21:35:55 +07:00 |
|
hathach
|
bd1f7f86ce
|
add common EPSIZE for bulk/iso in full and highspeed
adding cdc host fifo tx/rx
|
2022-12-16 17:08:37 +07:00 |
|
hathach
|
f3c1b2a60d
|
clean up
|
2021-09-29 15:31:03 +07:00 |
|
hathach
|
82618d2d5f
|
fix build with mm32 board
|
2021-06-18 17:18:11 +07:00 |
|
hathach
|
9736e54734
|
include clean up
|
2021-05-27 17:40:39 +07:00 |
|
Reinhard Panhuber
|
6acfa14fec
|
Fix bug in cdc_peek
|
2021-04-30 17:23:34 +02:00 |
|
Reinhard Panhuber
|
54f332fae0
|
Fix cdc peeks()
|
2021-04-30 15:42:27 +02:00 |
|
Reinhard Panhuber
|
de933c45bc
|
Remove all remainings with peek_at
|
2021-04-30 14:56:14 +02:00 |
|
boggyb
|
55a46a5c3b
|
Update cdc_device.h
Minor api callback change as requested
|
2021-02-26 11:00:34 +05:30 |
|
amit verma
|
07a04255da
|
initial break request handling
|
2021-02-25 23:13:21 +05:30 |
|
Ha Thach
|
308028e17c
|
Merge branch 'master' into cdc_without_dtr
|
2020-11-23 23:25:55 +07:00 |
|
hathach
|
dd07fecc5f
|
migrate cdc_device to new control_xfer_cb
|
2020-11-19 21:26:06 +07:00 |
|
Jan Dümpelmann
|
54e29e9ff4
|
Implementation of the discussed changes
- remove usbd_edpt_xfer_abort
- rename tu_fifo_change_mode to tu_fifo_set_mode
- remove CFG_TUD_CDC_CLEAR_AT_CONNECTION definition
- remove auto fifo clear at connection event
- add tud_cdc_n_write_clear function
|
2020-11-18 09:42:50 +01:00 |
|
Jan Dümpelmann
|
af9f0f1cd6
|
Merge remote-tracking branch 'hathach/master' into cdc_without_dtr
|
2020-11-04 17:11:01 +01:00 |
|
hathach
|
1804dba615
|
typo
|
2020-09-12 08:48:49 +07:00 |
|
Jan Dümpelmann
|
b15c209805
|
Set new define because of build failure
|
2020-09-10 13:36:07 +02:00 |
|
hathach
|
a1b7e767af
|
improve midi
- fix #436 tud_midi_rx_cb() not invoked
- fix xfer_cb() not handle ep in
- add ZLP if needed
|
2020-08-24 14:31:46 +07:00 |
|
Ha Thach
|
e5d622b749
|
Merge pull request #434 from gh2o/master
Add TX callback to CDC device
|
2020-08-21 11:14:06 +07:00 |
|
Gavin Li
|
15b063beb2
|
Smarter CDC TX refill logic
|
2020-08-20 02:20:01 -07:00 |
|
hathach
|
881025afdc
|
add new name warning to cdc and midi (skip msc, hid warning for now)
|
2020-07-17 23:01:39 +07:00 |
|
hathach
|
fea6fb73a1
|
add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lun
|
2020-07-16 13:04:10 +07:00 |
|
hathach
|
706413f751
|
add tud_speed_get()
- define both fs and hs configuration descriptor
- rename CFG_TUD_CDC_EPSIZE to CFG_TUD_CDC_EP_BUFSIZE with default size of 64 for FS, and 512 for HS
|
2020-07-16 00:44:09 +07:00 |
|
Craig Hutchinson
|
323ae5a84f
|
Improve comment on CDC tud_cdc_write_available()
Fixes #460
|
2020-07-10 12:24:09 +01:00 |
|
Gavin Li
|
8fe887198b
|
Add tx callback to cdc device
Useful for continuous transmission of data, which is difficult currently
because there is no notification of tx completion.
|
2020-06-18 01:13:44 -07:00 |
|
hathach
|
e340404968
|
changing usbd driver open() return type, add max_len
only done with cdc and msc, push this interim for feedback first
|
2020-05-27 19:01:59 +07:00 |
|
hathach
|
ce6a81e74d
|
fix typo
|
2020-04-17 22:10:31 +07:00 |
|
hathach
|
4571ce0d29
|
add a bit of document for cdc device API. also improve cdc write flush when complete.
|
2020-04-17 15:54:20 +07:00 |
|
Nathan Conrad
|
25c1bea782
|
Normalize line endings
|
2020-01-15 14:47:43 -05:00 |
|
hathach
|
6c6a597465
|
fix #132
|
2019-09-11 10:47:07 +07:00 |
|
hathach
|
bd08d0edc9
|
add vendor peek, change cdc peek signature, change cdc read_char() return from signed char to int32_t
|
2019-08-01 10:46:27 +07:00 |
|
hathach
|
33de35504a
|
more house keeping
|
2019-07-19 20:20:13 +07:00 |
|
hathach
|
cb4e6837e9
|
clean up, rename internal driver control_request_complete to simply control_complete
|
2019-07-12 22:03:40 +07:00 |
|
hathach
|
1a0e02fa1b
|
tested midi example
|
2019-07-03 00:52:25 +07:00 |
|
hathach
|
3f3ef6f4e6
|
clean up
|
2019-07-02 16:42:12 +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
|
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
|
61ec407752
|
update license year to 2019
|
2019-05-14 11:48:05 +07:00 |
|
hathach
|
a25ca701cd
|
text clean up
|
2019-05-01 23:26:52 +07:00 |
|
hathach
|
ff8fe28c98
|
move interface descriptor template to usbd.h, update exmaple
|
2019-04-19 13:16:06 +07:00 |
|
hathach
|
307ba23046
|
wrap up hid device refactor
|
2019-04-18 22:31:35 +07:00 |
|
hathach
|
516964b3d3
|
add interface descriptor template
|
2019-04-17 13:43:07 +07:00 |
|
hathach
|
1c2beba85c
|
working on suspend and resume
change dcd_init signature
|
2019-03-29 16:23:00 +07:00 |
|
hathach
|
8fb9fbb0b1
|
add tud_mounted() check in tud_cdc_connected()
mark device as disconnected immed with DCD_EVENT_UNPLUGGED
|
2019-03-27 23:58:24 +07:00 |
|
hathach
|
da452d4ba6
|
cleanup, remove the use of _TINY_USB_SOURCE_FILE_
|
2019-03-27 17:48:42 +07:00 |
|
hathach
|
c211ee19dd
|
migrate license from BSD 3 clause to MIT
|
2019-03-20 16:11:42 +07:00 |
|
hathach
|
c1c501e0c2
|
change usbd xfer_cb return type to bool
|
2018-12-12 13:12:06 +07:00 |
|
hathach
|
b6cb4757d2
|
change class driver open return type to bool
|
2018-12-12 13:00:59 +07:00 |
|
hathach
|
6d86db3977
|
rename edpt_dir/number/addr to tu_edpt_*
|
2018-12-12 11:51:31 +07:00 |
|