8418cb816b
Merge branch 'master' into stm32f4
hathach
2019-03-05 05:45:42 -08:00
49aa6ec251
st: Use submodules for system files when possible, use more up to date files otherwise. Update STM32F4-DISCOVERY demo and board.mk to reflect changes.
William D. Jones
2019-03-04 10:41:05 -05:00
a19455d1ff
follow up to PR #39
hathach
2019-03-04 11:51:36 +07:00
fa8141f31fFixes#33: Remove invalid use of strncpy().
Gregory P. Smith
2019-03-03 19:41:41 -08:00
c95ad426c6
stm32f4: Refactor IN and OUT endpoint interrupt handling into their own functions.
William D. Jones
2019-02-27 11:01:08 -05:00
f43161353c
stm32f4: Refactor RX FIFO read into its own function; remove RXFLVL resetting (read only) and masking (no nested ints).
William D. Jones
2019-02-27 10:39:37 -05:00
c51b11f103
Move all paths using "stm" to "st" subdirectories, update config.mk.
William D. Jones
2019-02-27 09:15:07 -05:00
b3137cdee3
examples/cdc_msc_hid: Revert local changes to tusb_config.h.
William D. Jones
2019-02-27 08:29:45 -05:00
c870efffc0
Fix write protected MSC. The bits were flipped.
Scott Shawcroft
2019-02-20 15:12:36 -08:00
5a1c5cf0b7
stm32f4: Clarify comments and disable OTGINT; fixes stack reset on cable disconnect, and we don't use OTG right now.
William D. Jones
2019-02-14 23:41:16 -05:00
5a34a9de69
stm32f4: Implement STALL logic for endpoints.
William D. Jones
2019-02-08 16:46:12 -05:00
5526d840a8
stm32f4: Do some comment/dead code (per 6048a3b) cleanups.
William D. Jones
2019-02-08 12:05:44 -05:00
c7a52829f4
Clarify receive_packet comment, add SOF handling.
William D. Jones
2019-02-08 11:51:29 -05:00
5645d44127
stm32f4: Add for-loop guard for transmit_packet xfers < 4 chars.
William D. Jones
2019-02-07 21:25:27 -05:00
28ccc8bd0b
stm32f4: Fix bad implementation of receive_packet function.
William D. Jones
2019-02-07 21:23:00 -05:00
b819b33a68
stm32f4: Make sure interrupts enabled for non-zero endpoints.
William D. Jones
2019-02-07 20:29:48 -05:00
4dc6746a68
stm32f4: Implement dcd_edpt_busy. Don't set EPENA for activated endpoints.
William D. Jones
2019-02-05 13:22:39 -05:00
747815f03b
stm32f4: Ensure endpoints enabled properly, using correct FIFOs.
William D. Jones
2019-02-04 20:30:47 -05:00
f5d9e7e560
stm32f4: Implement dcd_edpt_open.
William D. Jones
2019-01-30 09:27:27 -05:00
7aadaa3ef2
stm32f4: Handle only one setup packet at a time as a workaround. Device enumerates.
William D. Jones
2019-01-30 05:28:48 -05:00