hathach
|
6ab0663c1a
|
adding more log
|
2019-10-24 12:00:06 +07:00 |
|
hathach
|
661515a807
|
adding debug log function
|
2019-10-23 21:18:46 +07:00 |
|
William D. Jones
|
a01b0a73c1
|
Remove accidentally-commited debug var.
|
2019-10-03 23:59:22 -04:00 |
|
William D. Jones
|
432e9dcd2e
|
Merge remote-tracking branch 'pigrew/ZLP_Request2' into msp430f5529
|
2019-10-03 23:50:55 -04:00 |
|
hathach
|
7fd68efe7b
|
couldn't get 32L4 running with crystal less mode
|
2019-10-03 13:37:10 +07:00 |
|
William D. Jones
|
5ee1070c16
|
Merge remote-tracking branch 'origin' into msp430f5529
|
2019-10-02 23:18:49 -04:00 |
|
William D. Jones
|
b0b737b42a
|
usbd_control.c: Decide whether a control transfer has a data stage
based on setup packet wLength.
|
2019-10-02 23:02:55 -04:00 |
|
Nathan Conrad
|
cef388b7bd
|
Merge branch 'master' into ZLP_Request2
|
2019-10-02 01:15:47 -04:00 |
|
hathach
|
204791b3e7
|
2nd attempt to fix #161
|
2019-10-01 22:19:04 +07:00 |
|
hathach
|
12609f818b
|
fix #161 added volatile for ep_busy_map/ep_stall_map
|
2019-10-01 14:43:34 +07:00 |
|
Nathan Conrad
|
4ea2a4ed60
|
Github's web interface changed line endings without asking me. Oops.
|
2019-09-29 10:45:13 -04:00 |
|
Nathan Conrad
|
0078be9c24
|
Merge branch 'master' into ZLP_Request2
|
2019-09-29 09:52:53 -04:00 |
|
Nathan Conrad
|
c4483d244b
|
Fix typo of CFG_TUD_ENDOINT0_SIZE.
|
2019-09-27 21:22:19 -04:00 |
|
Nathan Conrad
|
4ccdc5522d
|
Fix typo of CFG_TUD_ENDOINT0_SIZE.
|
2019-09-27 12:41:46 -04:00 |
|
Nathan Conrad
|
91fa24d99c
|
Merge branch 'master' into ZLP_Request2
|
2019-09-27 00:37:21 -04:00 |
|
Nathan Conrad
|
2aa10daf26
|
Merge branch 'clear_feature_ordering' into usbtmc
|
2019-09-21 21:39:25 -04:00 |
|
Nathan Conrad
|
9498adef71
|
Changing the bitwise to a logical OR created a huge hard to find bug. It shortcutted the call to the class function,
so, lets use shortcutting anyway?
|
2019-09-21 19:29:57 -04:00 |
|
Nathan Conrad
|
fbb8520acd
|
logical or.
|
2019-09-21 14:34:29 -04:00 |
|
Nathan Conrad
|
37b52e354f
|
Correct wording of comment on handling EP requests.
|
2019-09-21 12:17:17 -04:00 |
|
Nathan Conrad
|
a187f0268c
|
When unstalling, EP must be marked as not busy. Also, mark EP as busy when stalling as xfer requests should fail.
|
2019-09-21 12:05:57 -04:00 |
|
Nathan Conrad
|
be28a05409
|
Make type casting explicit
|
2019-09-21 12:05:46 -04:00 |
|
Nathan Conrad
|
55abb3d717
|
Calling EP open with bad parameters should be considered a bug.
|
2019-09-21 12:02:52 -04:00 |
|
Nathan Conrad
|
aebecf169a
|
Reorder handling of EP control requests,
|
2019-09-21 12:02:06 -04:00 |
|
Nathan Conrad
|
b6590490a8
|
USB Control: Pointer arithmetic on void* is forbiden
|
2019-09-21 12:00:52 -04:00 |
|
Nathan Conrad
|
2a7ca15e2c
|
Rename functions to include tud_ and _cb
|
2019-09-19 20:43:49 -04:00 |
|
Nathan Conrad
|
7e0490bbf3
|
Move descriptors to usbd.h
|
2019-09-19 19:51:37 -04:00 |
|
Nathan Conrad
|
ac2c9ff02f
|
Merge branch 'master' into usbtmc
|
2019-09-17 13:31:53 -04:00 |
|
hathach
|
9c5ae0369b
|
follow up to suggestion to pr 155
|
2019-09-16 11:13:17 +07:00 |
|
Nathan Conrad
|
1cae96951f
|
Add usbtmc class driver.
|
2019-09-14 13:35:08 -04:00 |
|
hathach
|
ac8c343fef
|
fix #154 forward all endpoint recipeint request to class driver
fix typo
remove magic number 0xff of driver id
|
2019-09-13 22:16:24 +07:00 |
|
hathach
|
064adebbd0
|
fix #152, potential memory issue
|
2019-09-13 14:03:59 +07:00 |
|
hathach
|
c3598f0301
|
fix #139, correct usbd request intepreting, Non-STD request to Interface must be forward to class driver
|
2019-09-13 13:03:11 +07:00 |
|
Nathan Conrad
|
340dcb81bf
|
For control transfers, compare the transmitted length against the requested length to know if a ZLP needs to happen. (fixes #139)
|
2019-09-12 16:06:45 -04:00 |
|
Nathan Conrad
|
4517d504b8
|
Fix typo of ENDOINT
|
2019-09-09 13:34:30 -04:00 |
|
hathach
|
48c7b80c57
|
fix warnings of template descriptor
|
2019-08-23 13:33:40 +07:00 |
|
hathach
|
30de17a830
|
clean up
- remove TUD_WEBUSB_URL_DESCRIPTOR to avoid flexible array member (C++
forbid in strict mode)
- remove unused TUD_DESC_STRLEN/TUD_DESC_STR_HEADER/TUD_DESC_STR_HEADER
|
2019-08-01 13:20:00 +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
|
af3c301ea5
|
added BOS MS OS 2.0 descriptor to webusb example, it work with windows
|
2019-07-30 00:34:25 +07:00 |
|
hathach
|
cdaf455461
|
fix stall response with SET_INTERFACE/GET_INTERFACE
webusb work with linux & macos
|
2019-07-26 20:14:56 +07:00 |
|
hathach
|
d2b60b6755
|
webusb work great with linux
|
2019-07-26 11:36:30 +07:00 |
|
hathach
|
8ba71be6ee
|
more webusb + vendor
|
2019-07-25 16:52:20 +07:00 |
|
hathach
|
caf2b6d463
|
move tud_vendor_control_* to usbd.h
|
2019-07-24 23:12:31 +07:00 |
|
hathach
|
2a543c0e79
|
update vendor device similar to cdc read/write
maybe refactor later
|
2019-07-24 23:07:30 +07:00 |
|
hathach
|
c63f2b30cb
|
rename tud_control_vendor_request_cb/complete_cb to tud_vendor_control_request_cb/complete_cb
|
2019-07-24 09:45:32 +07:00 |
|
hathach
|
33de35504a
|
more house keeping
|
2019-07-19 20:20:13 +07:00 |
|
hathach
|
ae5dc435cb
|
house keeping
|
2019-07-19 16:49:04 +07:00 |
|
hathach
|
b0678e1050
|
rename CFG_TUD_CUSTOM_CLASS to CFG_TUD_VENDOR
|
2019-07-19 16:23:56 +07:00 |
|
hathach
|
036e858543
|
add tud_control_vendor_request_cb()/tud_control_vendor_complete_cb(), expose usbd control transfer
rename usbd_control_transfer/status to tud_control_transfer/status
|
2019-07-16 18:14:47 +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
|
2b7acd554a
|
updating webusb with cdc
|
2019-07-12 19:38:04 +07:00 |
|