739 Commits

Author SHA1 Message Date
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
ce9f133d25 FSDEV: go to NAK when unstalling; on reset, set EP0 to NAK, prioritize reset interrupt, fix small typos. 2019-09-21 12:00:04 -04:00
hathach
f90f1a278b
Merge pull request #169 from pigrew/hid_desc
Implement HID desc request.
2019-09-21 00:06:51 +07:00
Nathan Conrad
8a688cd8d0 Revert "Revert "Also need to just return false in the case that it isn't an interface control event. We shouldn't assert. This normally isn't an""
This reverts commit 2281a514846402af68aa4c97fcd206611c0969a1.
2019-09-20 12:58:26 -04:00
Nathan Conrad
2281a51484 Revert "Also need to just return false in the case that it isn't an interface control event. We shouldn't assert. This normally isn't an"
This reverts commit f241ff389f9494836cdc45e621726c0b69b8daed.
2019-09-20 12:27:41 -04:00
Nathan Conrad
f241ff389f Also need to just return false in the case that it isn't an interface control event. We shouldn't assert. This normally isn't an
error, either, so I don't want to use TU_VERIFY.
2019-09-20 08:56:46 -04:00
Nathan Conrad
a8a65d6cea Use cached HID descriptor. 2019-09-20 08:46:17 -04:00
Nathan Conrad
345806a533 Merge remote-tracking branch 'origin/master' into usbtmc 2019-09-20 08:42:20 -04:00
hathach
94c9cf0eff doc update 2019-09-20 16:14:35 +07:00
hathach
7b2f8cc73a added stm32 L0 support
close #125
2019-09-20 13:49:33 +07:00
Nathan Conrad
02b468f56a (little typo fix) 2019-09-19 21:20:04 -04:00
Nathan Conrad
05164c5a27 Cache pointer to HID descriptor. 2019-09-19 21:04:51 -04:00
Nathan Conrad
2a7ca15e2c Rename functions to include tud_ and _cb 2019-09-19 20:43:49 -04:00
Nathan Conrad
f3d6d0127b Rename USBTMC_CFG_ENABLE_488, and fix build with it off. 2019-09-19 19:59:44 -04:00
Nathan Conrad
d742c3e15c s/USBTMC488/USB488/ ; fix types in bitfield 2019-09-19 19:56:00 -04:00
Nathan Conrad
7e0490bbf3 Move descriptors to usbd.h 2019-09-19 19:51:37 -04:00
Nathan Conrad
346443118f Add testcase for aborting bulk in with no data queued (and fix aborting bulk in) 2019-09-19 19:01:08 -04:00
Nathan Conrad
0548f97d33 Remove debug printf. 2019-09-19 18:59:57 -04:00
Nathan Conrad
525b4cdb72 Use ESOF for wakeup timing. 2019-09-19 09:51:40 -04:00
Nathan Conrad
642afeea8b s/static const/define/ 2019-09-19 09:30:16 -04:00
Nathan Conrad
85623584f9 Remove debug assertions. 2019-09-19 09:24:52 -04:00
Nathan Conrad
5fcc1468eb Merge branch 'master' into fsdev_smallPacket 2019-09-19 09:16:48 -04:00
Nathan Conrad
d4b2dff7c4 Fix more TX bugs... and add variable response delay to the example project. 2019-09-19 00:00:27 -04:00
Nathan Conrad
9a726dc7ed More fixes, and a bit of SRQ. 2019-09-18 21:34:26 -04:00
Nathan Conrad
99d03fcaee small fixes 2019-09-18 19:30:44 -04:00
Nathan Conrad
eea71a8b3b usbtmc updates.... 2019-09-18 19:24:54 -04:00
Nathan Conrad
6dd2296cfc Change inline functions to macros, and make all parameter names uniform. 2019-09-17 13:29:42 -04:00
hathach
237c32b976 fix #143 2019-09-17 13:29:42 -04:00
Nathan Conrad
5a2e510af7 Interpretation of assert vs verify. 2019-09-17 13:29:41 -04:00
hathach
8e17fb4910 follow up to suggestion to pr 155 2019-09-17 13:29:41 -04:00
Nathan Conrad
1ceeab2702 This demonstrates that I don't pre-build things before committing them... oops. 2019-09-17 13:29:40 -04:00
Nathan Conrad
8d05b70a72 Off-by-one error in Synopsys assertions. (and move some braces to their own lines. 2019-09-17 13:29:40 -04:00
Nathan Conrad
41e8b8752e Massive copy&paste typo of mine in the 32-bit byte swapping function.... 2019-09-17 13:29:40 -04:00
Nathan Conrad
a0b6b8187c TI compiler quirks, and le byte swapping functions. 2019-09-17 13:29:40 -04:00
Nathan Conrad
91cd247c97 changes 2 2019-09-17 13:29:39 -04:00
Nathan Conrad
45871001e6 Changes1... 2019-09-17 13:29:38 -04:00
Nathan Conrad
e234998c6c More proper handling of clear. 2019-09-17 13:29:38 -04:00
Nathan Conrad
c755aee7d0 Clear 2019-09-17 13:29:38 -04:00
Nathan Conrad
915f52730d Implement HID desc request. 2019-09-17 11:28:29 -04:00
Nathan Conrad
89ffe78f84 ST FSDEV: No need to always reset the interrupt priority, also add some synchronization primitives after disabling interrupts. 2019-09-16 22:56:17 -04:00
Nathan Conrad
a33a854793 Include board header file... :X 2019-09-16 20:56:57 -04:00
Nathan Conrad
d341337c6a Implement remote wakeup + perhaps better sleep? 2019-09-16 20:25:50 -04:00
Nathan Conrad
dfe92542e6 Change inline functions to macros, and make all parameter names uniform. 2019-09-16 11:27:05 -04:00
Nathan Conrad
889c17a442 Merge branch 'master' into TI_compiler_quirks 2019-09-16 09:24:27 -04:00
Nathan Conrad
6b9783cead s/unsigned int/uint32_t/ 2019-09-16 09:20:15 -04:00
hathach
0c70948d0d
Merge pull request #163 from hathach/develop
fix #143
2019-09-16 16:37:27 +07:00
hathach
a37d2d64be fix #143 2019-09-16 13:32:47 +07:00
hathach
88dd83ae5c
Merge pull request #159 from pigrew/assert_documentation
Documentation: assert vs verify.
2019-09-16 11:29:39 +07:00
hathach
19e7b7d85c
Merge pull request #155 from hathach/develop
fix #154 forward all endpoint recipeint request to class driver
2019-09-16 11:27:52 +07:00