Commit Graph

2346 Commits

Author SHA1 Message Date
6183dbd0ce add -Wextra for more warnings to example
non-stack warning (probably mcu driver) should be suppressed in the
board.mk
2019-09-27 00:15:43 +07:00
7ba8e81852 Merge pull request #177 from cr1901/fifo-fix
dcd_synopsys: Fix off-by-one error in FIFO allocation.
2019-09-22 11:38:54 +07:00
b1d29947bc Merge pull request #175 from pigrew/clear_feature_ordering
Clear feature ordering
2019-09-22 11:00:35 +07:00
108f756e22 dcd_synopsys: Fix off-by-one error in FIFO allocation. 2019-09-21 23:01:06 -04:00
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
fbb8520acd logical or. 2019-09-21 14:34:29 -04:00
37b52e354f Correct wording of comment on handling EP requests. 2019-09-21 12:17:17 -04:00
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
be28a05409 Make type casting explicit 2019-09-21 12:05:46 -04:00
55abb3d717 Calling EP open with bad parameters should be considered a bug. 2019-09-21 12:02:52 -04:00
aebecf169a Reorder handling of EP control requests, 2019-09-21 12:02:06 -04:00
b6590490a8 USB Control: Pointer arithmetic on void* is forbiden 2019-09-21 12:00:52 -04:00
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
f90f1a278b Merge pull request #169 from pigrew/hid_desc
Implement HID desc request.
2019-09-21 00:06:51 +07:00
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 2281a51484.
2019-09-20 12:58:26 -04:00
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 f241ff389f.
2019-09-20 12:27:41 -04:00
c08fcbbef5 Merge pull request #172 from hathach/develop
Ported stm32 L0 and tested with L0358 discovery board
2019-09-20 23:22:55 +07:00
c975976a75 update doc 2019-09-20 23:05:08 +07:00
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
a8a65d6cea Use cached HID descriptor. 2019-09-20 08:46:17 -04:00
94c9cf0eff doc update 2019-09-20 16:14:35 +07:00
7b2f8cc73a added stm32 L0 support
close #125
2019-09-20 13:49:33 +07:00
32dcc06429 Merge branch 'master' into develop 2019-09-20 13:09:38 +07:00
6fb142b0ae Merge branch 'master' of github.com:hathach/tinyusb 2019-09-20 13:08:29 +07:00
199a628c79 Merge pull request #165 from pigrew/fsdev_smallPacket
Fsdev small packet
2019-09-20 13:07:06 +07:00
80b430fcfc added stm32L0538 discovery board, board test exmaple works 2019-09-20 13:02:17 +07:00
05164c5a27 Cache pointer to HID descriptor. 2019-09-19 21:04:51 -04:00
525b4cdb72 Use ESOF for wakeup timing. 2019-09-19 09:51:40 -04:00
642afeea8b s/static const/define/ 2019-09-19 09:30:16 -04:00
85623584f9 Remove debug assertions. 2019-09-19 09:24:52 -04:00
5fcc1468eb Merge branch 'master' into fsdev_smallPacket 2019-09-19 09:16:48 -04:00
3440083bfd added board feather stm32f045 2019-09-18 14:38:56 +07:00
915f52730d Implement HID desc request. 2019-09-17 11:28:29 -04:00
77cc5b1b0c Merge pull request #157 from pigrew/TI_compiler_quirks
TI compiler quirks, and LE byte swapping functions.
2019-09-17 17:47:19 +07:00
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
a33a854793 Include board header file... :X 2019-09-16 20:56:57 -04:00
d341337c6a Implement remote wakeup + perhaps better sleep? 2019-09-16 20:25:50 -04:00
13f7121285 add pyboard v1.1 link to bsp 2019-09-16 23:42:56 +07:00
a161ade338 Merge branch 'master' of github.com:hathach/tinyusb 2019-09-16 23:39:04 +07:00
dfe92542e6 Change inline functions to macros, and make all parameter names uniform. 2019-09-16 11:27:05 -04:00
889c17a442 Merge branch 'master' into TI_compiler_quirks 2019-09-16 09:24:27 -04:00
6b9783cead s/unsigned int/uint32_t/ 2019-09-16 09:20:15 -04:00
0c70948d0d Merge pull request #163 from hathach/develop
fix #143
2019-09-16 16:37:27 +07:00
a37d2d64be fix #143 2019-09-16 13:32:47 +07:00
88dd83ae5c Merge pull request #159 from pigrew/assert_documentation
Documentation: assert vs verify.
2019-09-16 11:29:39 +07:00
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
9c5ae0369b follow up to suggestion to pr 155 2019-09-16 11:13:17 +07:00
05c13342a3 Implement EP with size <64. 2019-09-15 23:51:42 -04:00
18303e742e Covert macros to inline functions. 2019-09-15 23:46:03 -04:00
ae873a709e Wrote TX instead of RX. 2019-09-15 23:33:36 -04:00