William D. Jones
|
0d0b802ee0
|
stm32h7: Implement IN and OUT receive for EP0; device descriptor returned.
|
2019-09-02 19:32:11 -04:00 |
|
William D. Jones
|
f602534536
|
stm32h7: Implement setup packet events.
|
2019-09-02 13:34:33 -04:00 |
|
William D. Jones
|
8b165e1024
|
stm32h7: Ensure FS (and the only) PHY is selected for OTG_HS2.
|
2019-08-30 22:07:35 -04:00 |
|
William D. Jones
|
7153561984
|
stm32h7: Enable USB peripheral (device does not enumerate yet).
|
2019-08-30 21:57:06 -04:00 |
|
William D. Jones
|
0afbf1a9bb
|
board_stm32h743nucleo: Route USB clock and pins.
|
2019-08-26 16:48:24 -04:00 |
|
William D. Jones
|
1ef98e503a
|
board_stm32h743nucleo: Route major clocks and LED pins.
|
2019-08-26 14:20:13 -04:00 |
|
William D. Jones
|
0fb9ab9a09
|
stm32h7: Add empty template cdc_msc_hid example for STM32H743 Nucleo board that compiles.
|
2019-08-24 12:40:18 -04:00 |
|
William D. Jones
|
3f9e79ae9b
|
cdc_msc_hid: Limit number of endpoints used by STM32F4 for demo.
|
2019-08-11 17:42:22 -04:00 |
|
William D. Jones
|
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.
|
2019-03-04 10:41:05 -05:00 |
|
William D. Jones
|
c95ad426c6
|
stm32f4: Refactor IN and OUT endpoint interrupt handling into their own functions.
|
2019-02-27 11:01:08 -05:00 |
|
William D. Jones
|
f43161353c
|
stm32f4: Refactor RX FIFO read into its own function; remove RXFLVL
resetting (read only) and masking (no nested ints).
|
2019-02-27 10:39:37 -05:00 |
|
William D. Jones
|
c51b11f103
|
Move all paths using "stm" to "st" subdirectories, update config.mk.
|
2019-02-27 09:15:07 -05:00 |
|
William D. Jones
|
b3137cdee3
|
examples/cdc_msc_hid: Revert local changes to tusb_config.h.
|
2019-02-27 08:30:03 -05:00 |
|
William D. Jones
|
5a1c5cf0b7
|
stm32f4: Clarify comments and disable OTGINT; fixes stack reset on
cable disconnect, and we don't use OTG right now.
|
2019-02-14 23:41:16 -05:00 |
|
William D. Jones
|
5a34a9de69
|
stm32f4: Implement STALL logic for endpoints.
|
2019-02-08 16:46:12 -05:00 |
|
William D. Jones
|
5526d840a8
|
stm32f4: Do some comment/dead code (per 6048a3b) cleanups.
|
2019-02-08 12:05:44 -05:00 |
|
William D. Jones
|
c7a52829f4
|
Clarify receive_packet comment, add SOF handling.
|
2019-02-08 11:51:29 -05:00 |
|
William D. Jones
|
5645d44127
|
stm32f4: Add for-loop guard for transmit_packet xfers < 4 chars.
|
2019-02-07 21:25:27 -05:00 |
|
William D. Jones
|
28ccc8bd0b
|
stm32f4: Fix bad implementation of receive_packet function.
|
2019-02-07 21:23:00 -05:00 |
|
William D. Jones
|
b819b33a68
|
stm32f4: Make sure interrupts enabled for non-zero endpoints.
|
2019-02-07 20:29:48 -05:00 |
|
William D. Jones
|
4dc6746a68
|
stm32f4: Implement dcd_edpt_busy. Don't set EPENA for activated endpoints.
|
2019-02-05 13:22:39 -05:00 |
|
William D. Jones
|
747815f03b
|
stm32f4: Ensure endpoints enabled properly, using correct FIFOs.
|
2019-02-04 20:30:47 -05:00 |
|
William D. Jones
|
f5d9e7e560
|
stm32f4: Implement dcd_edpt_open.
|
2019-01-30 09:27:27 -05:00 |
|
William D. Jones
|
7aadaa3ef2
|
stm32f4: Handle only one setup packet at a time as a workaround. Device
enumerates.
|
2019-01-30 05:28:48 -05:00 |
|
William D. Jones
|
a9e188a3d2
|
stm32f4: Implement dcd_set_address.
|
2019-01-30 02:48:49 -05:00 |
|
William D. Jones
|
fcabc717d1
|
Small cleanups (remove inaccurate comment, set EP0 max size based on speed).
|
2019-01-30 02:03:19 -05:00 |
|
William D. Jones
|
8629f0c108
|
Properly schedule OUT xfers on a packet basis.
|
2019-01-30 02:01:09 -05:00 |
|
William D. Jones
|
6918db3639
|
stm32f4: Add receive packet function.
|
2019-01-30 01:42:17 -05:00 |
|
William D. Jones
|
9ce29f5ee6
|
stm32f4: Refactor packet transmit into subroutine.
|
2019-01-30 00:49:00 -05:00 |
|
William D. Jones
|
9e76635465
|
stm32f4: Clarify required FIFO sizes and observed behavior.
|
2019-01-24 04:18:53 -05:00 |
|
William D. Jones
|
fe7f304ad4
|
stm32f4: Start adding OUT interrupt handling, fix buffer sizes; RXFIFO
too low for some reason, TXFIFO EP0 used wrong bitmask.
|
2019-01-24 03:06:57 -05:00 |
|
William D. Jones
|
01117fb965
|
stm32f4: Finish dcd_edpt_xfer implementation (OUT xfers not functional yet).
|
2019-01-23 03:31:44 -05:00 |
|
William D. Jones
|
b41f610514
|
stm32f4: Remember to turn off TXFE when IN xfer is done; it not
automatically cleared like EPENA.
|
2019-01-23 02:24:29 -05:00 |
|
William D. Jones
|
836d13fc4b
|
stm32f4: Fix FIFO write logic (requires 32 bit writes).
|
2019-01-23 02:06:07 -05:00 |
|
William D. Jones
|
aa9a7e882c
|
stm32f4: Properly set control endpoint max packet size.
|
2019-01-23 00:55:45 -05:00 |
|
William D. Jones
|
17e418bce4
|
stm32f4: Fix incorrect xfer length for short packet IN xfers.
|
2019-01-23 00:44:55 -05:00 |
|
William D. Jones
|
d1150432fe
|
stm32f4: Remove assumption that EP 0 is only control endpoint.
|
2019-01-23 00:12:33 -05:00 |
|
William D. Jones
|
51c0ce3f6b
|
stm32f4: Implement interrupt handling for IN packets (first signs of life).
|
2019-01-22 23:51:58 -05:00 |
|
William D. Jones
|
43c890615a
|
stm32f4: Start implementing dcd_edpt_xfer.
|
2019-01-22 00:42:43 -05:00 |
|
William D. Jones
|
69f5f18fd6
|
stm32f4: Remove some template commented code.
|
2019-01-21 23:45:40 -05:00 |
|
William D. Jones
|
71e1b9d045
|
stm32f4: Setup packet events in tinyusb now functional.
|
2019-01-19 21:12:20 -05:00 |
|
William D. Jones
|
5720aef7bb
|
stm32f4: Implement setup packing receive, fix typo in FIFO receive size.
|
2019-01-19 20:03:18 -05:00 |
|
William D. Jones
|
06c15bf913
|
stm32f4: Complete initialization for EP0 (packet handling not implemented).
|
2019-01-19 17:56:53 -05:00 |
|
William D. Jones
|
657d3e2983
|
stm32f4: Enable USB peripheral, fix typos in register writes.
|
2019-01-13 18:36:18 -05:00 |
|
William D. Jones
|
03cbd406cb
|
dcd_stm32f4: Add USB init skeleton based on manual (does not enumerate).
|
2019-01-11 19:53:24 -05:00 |
|
William D. Jones
|
0f9fa5956f
|
bsp.board_stm32f407g_disc1: Switch to external oscillator (more precise).
|
2019-01-11 13:47:44 -05:00 |
|
William D. Jones
|
e73e016a8c
|
bsp.stm32f407g_disc1: Initialize USB clock and pins.
|
2019-01-11 10:20:14 -05:00 |
|
William D. Jones
|
75fda7d638
|
cdc_msc_hid: Ensure example compiles again- add missing prototypes,
fix incorrect prototypes, clean up.
|
2019-01-10 10:24:45 -05:00 |
|
William D. Jones
|
b367baeaf1
|
Merge branch 'master' of https://github.com/hathach/tinyusb into stm32f4
|
2019-01-10 09:58:06 -05:00 |
|
William D. Jones
|
e4d6f336f0
|
cdc_msc_hid: Work around LTO bug in gcc where order of compile matters
(bug #1747966).
|
2019-01-09 11:38:43 -05:00 |
|