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
hathach
1a84f5da54
nrf5x Let application decide USBD_IRQn priority
2019-01-29 19:42:31 +07:00
hathach
777f41a066
clean up
2019-01-29 18:47:29 +07: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
hathach
bd53256126
fix #32
2019-01-23 19:06:37 +07: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
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
hathach
6f17b4e019
change to dcd_get_frame_number
2018-12-21 12:46:20 +07:00
hathach
426064201a
fix samd build
2018-12-19 13:16:42 +07:00
hathach
902697ca07
add dcd_get_microframe()
2018-12-17 12:14:11 +07:00
hathach
2a60427bdc
rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency
2018-12-14 15:30:54 +07:00
hathach
6d86db3977
rename edpt_dir/number/addr to tu_edpt_*
2018-12-12 11:51:31 +07:00
hathach
e3514b8054
rename hcd_device_remove to hcd_device_close
2018-12-12 11:34:09 +07:00
hathach
607658d047
rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLED
2018-12-07 23:38:52 +07:00
hathach
e019916263
clean up ehci, support only 1 controller
2018-12-07 23:35:42 +07:00
hathach
2aa21a14e6
lpc17 ohci failed to execute control transfer !!
2018-12-07 18:49:26 +07:00
hathach
d524da0c94
enable all warnings
2018-12-07 14:49:55 +07:00
hathach
2fa32bd949
able to build host lpc18xx
2018-12-05 20:39:52 +07:00
hathach
9f3e91a934
update nrf errata
2018-12-05 14:30:47 +07:00
hathach
a73017fdc2
hal clean up
...
- replace tusb_hal_int_enable/disable to dcd_int_enable/disable,
hcd_int_enable/disable
- remove tusb_hal_init(), this will be part of dcd_init/hcd_init,
anything beyond dcd/hcd should be inited by bsp
2018-12-05 13:20:25 +07:00
hathach
6048a3bff4
remove dcd_connect/disconnect since there is no usage now
2018-12-05 12:22:33 +07:00
hathach
c1336dff03
lpc move Chip_USB_Init() out of stack to bsp
2018-12-05 11:53:56 +07:00
hathach
9176b7b1da
renane file
2018-12-05 08:51:11 +07:00
hathach
dd9c7b4249
lpc40xx device work, moving Chip_USB_Init out of tinyusb
2018-12-05 08:47:23 +07:00
hathach
fe8346e642
move pinmux out of dcd into bsp
2018-12-04 18:38:01 +07:00
hathach
6c2404ca49
adding ea4088 quickstart, able to blink
2018-12-04 16:32:20 +07:00
hathach
261e0f9801
adding lpc40xx support
2018-12-04 16:06:50 +07:00
hathach
7120e12971
add mcb1800, blink led ok
2018-12-04 13:17:12 +07:00
hathach
bf5ac608ff
rename dcd 18 43
2018-12-04 12:47:58 +07:00
hathach
1d6bbd9990
clean up dcd 43
2018-12-03 23:18:51 +07:00