Commit Graph

  • a9e188a3d2 stm32f4: Implement dcd_set_address. William D. Jones 2019-01-30 02:48:49 -05:00
  • fcabc717d1 Small cleanups (remove inaccurate comment, set EP0 max size based on speed). William D. Jones 2019-01-30 02:03:19 -05:00
  • 8629f0c108 Properly schedule OUT xfers on a packet basis. William D. Jones 2019-01-30 02:01:09 -05:00
  • 6918db3639 stm32f4: Add receive packet function. William D. Jones 2019-01-30 01:42:17 -05:00
  • 9ce29f5ee6 stm32f4: Refactor packet transmit into subroutine. William D. Jones 2019-01-30 00:49:00 -05:00
  • 29b49199be Merge pull request #34 from hathach/develop hathach 2019-01-29 20:13:17 +07:00
  • 1a84f5da54 nrf5x Let application decide USBD_IRQn priority hathach 2019-01-29 19:42:31 +07:00
  • 59c1b4b427 zero init internal class/device data hathach 2019-01-29 19:39:34 +07:00
  • e4e8413acc add tusb_inited() API, check for inited() before running device/host task hathach 2019-01-29 19:05:07 +07:00
  • 777f41a066 clean up hathach 2019-01-29 18:47:29 +07:00
  • 6752a71264 usb work when sd is init first hathach 2019-01-29 18:02:25 +07:00
  • ae560bd825 fix segger debug with SD hathach 2019-01-29 17:31:32 +07:00
  • c81b56eb45 nrf5x usb init before sd works hathach 2019-01-29 15:39:47 +07:00
  • d8b361fdaa add S140 v6 build config for nrf5x hathach 2019-01-29 14:15:13 +07:00
  • cff217fb47 Merge branch 'devlocal' into develop hathach 2019-01-25 16:04:06 +07:00
  • 9e76635465 stm32f4: Clarify required FIFO sizes and observed behavior. William D. Jones 2019-01-24 04:17:23 -05:00
  • fe7f304ad4 stm32f4: Start adding OUT interrupt handling, fix buffer sizes; RXFIFO too low for some reason, TXFIFO EP0 used wrong bitmask. William D. Jones 2019-01-24 03:06:57 -05:00
  • bd53256126 fix #32 hathach 2019-01-23 19:06:37 +07:00
  • 01117fb965 stm32f4: Finish dcd_edpt_xfer implementation (OUT xfers not functional yet). William D. Jones 2019-01-23 03:31:44 -05:00
  • b41f610514 stm32f4: Remember to turn off TXFE when IN xfer is done; it not automatically cleared like EPENA. William D. Jones 2019-01-23 02:24:29 -05:00
  • 836d13fc4b stm32f4: Fix FIFO write logic (requires 32 bit writes). William D. Jones 2019-01-23 02:04:40 -05:00
  • aa9a7e882c stm32f4: Properly set control endpoint max packet size. William D. Jones 2019-01-23 00:55:45 -05:00
  • 17e418bce4 stm32f4: Fix incorrect xfer length for short packet IN xfers. William D. Jones 2019-01-23 00:44:55 -05:00
  • d1150432fe stm32f4: Remove assumption that EP 0 is only control endpoint. William D. Jones 2019-01-22 23:57:25 -05:00
  • 51c0ce3f6b stm32f4: Implement interrupt handling for IN packets (first signs of life). William D. Jones 2019-01-22 23:51:58 -05:00
  • 43c890615a stm32f4: Start implementing dcd_edpt_xfer. William D. Jones 2019-01-22 00:42:43 -05:00
  • 69f5f18fd6 stm32f4: Remove some template commented code. William D. Jones 2019-01-21 23:45:40 -05:00
  • 71e1b9d045 stm32f4: Setup packet events in tinyusb now functional. William D. Jones 2019-01-19 21:12:10 -05:00
  • 5720aef7bb stm32f4: Implement setup packing receive, fix typo in FIFO receive size. William D. Jones 2019-01-19 20:03:18 -05:00
  • 06c15bf913 stm32f4: Complete initialization for EP0 (packet handling not implemented). William D. Jones 2019-01-19 17:56:53 -05:00
  • 657d3e2983 stm32f4: Enable USB peripheral, fix typos in register writes. William D. Jones 2019-01-13 17:34:09 -05:00
  • 03cbd406cb dcd_stm32f4: Add USB init skeleton based on manual (does not enumerate). William D. Jones 2019-01-11 19:53:24 -05:00
  • 0f9fa5956f bsp.board_stm32f407g_disc1: Switch to external oscillator (more precise). William D. Jones 2019-01-11 13:47:44 -05:00
  • e73e016a8c bsp.stm32f407g_disc1: Initialize USB clock and pins. William D. Jones 2019-01-11 10:20:14 -05:00
  • 75fda7d638 cdc_msc_hid: Ensure example compiles again- add missing prototypes, fix incorrect prototypes, clean up. William D. Jones 2019-01-10 10:14:01 -05:00
  • b367baeaf1 Merge branch 'master' of https://github.com/hathach/tinyusb into stm32f4 William D. Jones 2019-01-10 09:58:06 -05:00
  • e4d6f336f0 cdc_msc_hid: Work around LTO bug in gcc where order of compile matters (bug #1747966). William D. Jones 2019-01-09 11:38:28 -05:00
  • 5804e56e3c Merge pull request #31 from tannewt/remove_txbuf hathach 2019-01-09 13:14:02 +07:00
  • 52abbec7c5 Remove txbuf in favor of fifo. Scott Shawcroft 2019-01-08 14:10:40 -08:00
  • 7016d7fa54 Merge pull request #30 from tannewt/midi hathach 2019-01-07 23:45:33 +07:00
  • aa281521a6 Fix the test Scott Shawcroft 2019-01-04 18:32:42 -08:00
  • ebbd8578af Change travis for makefile. Scott Shawcroft 2019-01-04 18:29:52 -08:00
  • 048fc9694c Split out txbuf and add unit test. Scott Shawcroft 2019-01-04 18:27:00 -08:00
  • a3173b8de4 Add USB Midi support. Scott Shawcroft 2018-11-16 17:03:33 -08:00
  • e6224bccf9 adding makefile support for nrf5x hathach 2019-01-02 22:35:42 +07:00
  • 4bcd3f9a8f more readme hathach 2018-12-29 14:39:28 +07:00
  • 4e2a79a8bb update makefile hathach 2018-12-29 14:38:36 +07:00
  • 6b0a747d28 update readme hathach 2018-12-29 14:29:59 +07:00
  • 6ed96cb93b Merge pull request #27 from hathach/devlocal hathach 2018-12-21 14:23:36 +07:00
  • 257d60fe1a white spaces hathach 2018-12-21 12:58:53 +07:00
  • 6f17b4e019 change to dcd_get_frame_number hathach 2018-12-21 12:46:20 +07:00
  • 426064201a fix samd build hathach 2018-12-19 13:16:42 +07:00
  • 902697ca07 add dcd_get_microframe() hathach 2018-12-17 12:14:11 +07:00
  • 455da57f9d docs clean up hathach 2018-12-17 12:08:11 +07:00
  • 10021eda67 minor readme update hathach 2018-12-15 13:13:22 +07:00
  • 351f0d7d78 merge binary.h into tusb_common.h hathach 2018-12-14 15:45:49 +07:00
  • 2a60427bdc rename bit_* helper to tu_bit_*, BIT_* to TU_BIT_* for consistency hathach 2018-12-14 15:28:38 +07:00
  • a3713f801d clean up compiler attribute hathach 2018-12-14 13:08:21 +07:00
  • 27208ad2fd Merge pull request #25 from hathach/devlocal hathach 2018-12-13 15:28:04 +07:00
  • edf885ca46 white spaces hathach 2018-12-13 15:25:43 +07:00
  • 07bcc6ca91 clean up files hathach 2018-12-13 15:20:28 +07:00
  • a6b9432600 clean up error enum hathach 2018-12-13 14:57:21 +07:00
  • 1c49c479ca seperate tusb_task() to tud_task() and tuh_task() hathach 2018-12-13 14:51:37 +07:00
  • af1ffe4675 remove task void* param hathach 2018-12-13 13:53:43 +07:00
  • bc46dc6edf osal clean up hathach 2018-12-13 13:49:09 +07:00
  • b562fa741b Update readme.md hathach 2018-12-12 23:08:08 +07:00
  • fafef1aa17 Update LICENSE hathach 2018-12-12 16:59:39 +07:00
  • cb830a82e0 docs clean up hathach 2018-12-12 16:57:10 +07:00
  • aa17ec60d3 Merge branch 'develop' hathach 2018-12-12 16:49:38 +07:00
  • 908931320e Merge pull request #21 from hathach/devlocal hathach 2018-12-12 16:41:12 +07:00
  • 142f274c1d docs update hathach 2018-12-12 16:35:53 +07:00
  • a76d3a8726 clean up hathach 2018-12-12 14:46:28 +07:00
  • bb544a0951 minor update hathach 2018-12-12 14:43:45 +07:00
  • c1c501e0c2 change usbd xfer_cb return type to bool hathach 2018-12-12 13:12:06 +07:00
  • b6cb4757d2 change class driver open return type to bool hathach 2018-12-12 13:00:59 +07:00
  • 5fd60e5761 clean up hathach 2018-12-12 12:36:40 +07:00
  • 6c0b0917e1 rename descriptor_* helper to tu_desc_* hathach 2018-12-12 12:01:15 +07:00
  • 6d86db3977 rename edpt_dir/number/addr to tu_edpt_* hathach 2018-12-12 11:51:31 +07:00
  • e3514b8054 rename hcd_device_remove to hcd_device_close hathach 2018-12-12 11:32:46 +07:00
  • b7ad49332c Merge pull request #20 from hathach/devlocal hathach 2018-12-12 00:51:56 +07:00
  • c88e16bd11 clean up hathach 2018-12-12 00:48:53 +07:00
  • aaf65831d8 update ohci for hcd_device_remove hathach 2018-12-12 00:48:41 +07:00
  • def20ce35b clean up ehci warnings hathach 2018-12-12 00:13:48 +07:00
  • 67d6d753d6 replace all hcd pipe close by hcd_device_remove hathach 2018-12-11 23:57:53 +07:00
  • c94df51503 more clean up hathach 2018-12-11 19:35:08 +07:00
  • 364666c206 ehci clean up hathach 2018-12-11 17:05:56 +07:00
  • d05021009b more ohci clean up hathach 2018-12-11 16:29:43 +07:00
  • 600fac1845 fix build error with ohci hathach 2018-12-11 16:18:56 +07:00
  • dbc560658a more hcd_pipe to hcd_edpt rename hathach 2018-12-11 13:15:05 +07:00
  • 0d04e6eb96 rename to hcd_edpt_open() hathach 2018-12-11 13:12:21 +07:00
  • 7deac61d5f clean up hathach 2018-12-11 13:09:40 +07:00
  • b8c63ff624 ehci struct rename hathach 2018-12-11 12:57:30 +07:00
  • b0717275c8 ehci periodic hathach 2018-12-11 10:50:05 +07:00
  • 73e6bb6f5d clean up hathach 2018-12-11 01:06:10 +07:00
  • 7c2056defb remove pipe handle in host msc hathach 2018-12-11 01:02:11 +07:00
  • 7a626dbc8b completely remove pipe handle for cdc/hub/ehci hathach 2018-12-11 00:56:21 +07:00
  • e863c99a6f fix msc host hathach 2018-12-10 23:15:53 +07:00
  • 212deaf2f8 usbh name change hathach 2018-12-10 22:19:01 +07:00
  • 9c3c782b64 host msc built but got hardfault with inquiry command hathach 2018-12-10 22:06:48 +07:00
  • dffe9b335e clean up host pipe api hathach 2018-12-10 20:26:47 +07:00