Commit Graph

  • 558b4dbde3 change DEBUG optimization option from O0 to Og hathach 2019-10-18 17:50:29 +07:00
  • 90b6b5d137 clean up tusb_verify hathach 2019-10-18 16:38:02 +07:00
  • 195d0f5a14 adding log support with uart hathach 2019-10-12 00:00:08 +07:00
  • d9ef34276b update doc hathach 2019-10-11 11:26:19 +07:00
  • d0146be00b dcd_msp430x5xx: Fix typo in copy-paste in transmit_packet. William D. Jones 2019-10-10 04:19:48 -04:00
  • c8e899fef0 dcd_msp430x5xx: Improve SETUP packet and EP0 NAK interactions, per 42.3.1.3 in Reference Manual; fix is incomplete but works. William D. Jones 2019-10-10 04:02:35 -04:00
  • e413c9efa3 Merge pull request #199 from hathach/develop hathach 2019-10-10 11:31:29 +07:00
  • c42edc080c Merge branch 'master' into develop hathach 2019-10-09 11:03:55 +07:00
  • b3a5bb3247 Update boards.md hathach 2019-10-08 15:52:00 +07:00
  • 0b6c031948 Update README.md hathach 2019-10-08 15:49:37 +07:00
  • a861a20519 Merge pull request #195 from kamtom480/spresense hathach 2019-10-08 15:40:34 +07:00
  • 0cea82568c Disable/enable only USB interrupt Kamil Tomaszewski 2019-10-08 09:58:56 +02:00
  • 9923604221 Send SUSPEND and RESUME signals Kamil Tomaszewski 2019-10-07 14:04:48 +02:00
  • b3872febe2 Disable/enable interrupt Kamil Tomaszewski 2019-10-07 14:03:02 +02:00
  • f86f0e54a9 added ti_driver submodule hathach 2019-10-07 15:06:36 +07:00
  • ada73a57c6 add ti_driver as submodule hathach 2019-10-07 14:27:02 +07:00
  • 97af9e3332 msp_exp430f5529lp: Make board_millis atomic. William D. Jones 2019-10-06 20:44:06 -04:00
  • 16ff152129 msp_exp430f5529lp: Set up UART functionality. William D. Jones 2019-10-05 09:37:48 -04:00
  • 0747c4b61b Add Spresense board Kamil Tomaszewski 2019-10-03 14:22:43 +02:00
  • e4a88bc826 examples: Fix #ifndef guard for CFG_TUD_ENDPOINT0_SIZE. William D. Jones 2019-10-04 05:36:51 -04:00
  • c5ce4619a3 travis.yml: Add msp430 support. William D. Jones 2019-10-04 05:24:59 -04:00
  • 281cd858b0 adding lpc1549, but couldnt recieve setup packet, though setup received interrupt is triggered hathach 2019-10-04 13:13:51 +07:00
  • a01b0a73c1 Remove accidentally-commited debug var. William D. Jones 2019-10-03 23:58:24 -04:00
  • 432e9dcd2e Merge remote-tracking branch 'pigrew/ZLP_Request2' into msp430f5529 William D. Jones 2019-10-03 23:50:55 -04:00
  • 13d37e4a36 lpcxpresso1549 board test running hathach 2019-10-03 15:23:01 +07:00
  • 7fd68efe7b couldn't get 32L4 running with crystal less mode hathach 2019-10-03 13:37:10 +07:00
  • 5ee1070c16 Merge remote-tracking branch 'origin' into msp430f5529 William D. Jones 2019-10-02 23:18:49 -04:00
  • b0b737b42a usbd_control.c: Decide whether a control transfer has a data stage based on setup packet wLength. William D. Jones 2019-10-02 23:02:55 -04:00
  • 05914de109 dcd_msp430x5xx: Fix typos in dcd_edpt_clear_stall. William D. Jones 2019-10-02 22:36:45 -04:00
  • 0a20e91cc9 move linker file to blue pill bsp hathach 2019-10-02 14:23:23 +07:00
  • e59742f200 Merge pull request #193 from hathach/develop hathach 2019-10-02 12:23:30 +07:00
  • 3edb5548e9 dcd_msp430x5xx: Ensure DBUF bit is cleared on endpoint open, as it could get spuriously set in debugging sessions. cdc_msc functional. William D. Jones 2019-10-02 01:18:56 -04:00
  • cef388b7bd Merge branch 'master' into ZLP_Request2 Nathan Conrad 2019-10-02 01:15:47 -04:00
  • 820a3705f5 Merge branch 'master' into develop hathach 2019-10-02 12:13:47 +07:00
  • d84a31fd5f Merge pull request #181 from pigrew/ST_FSDEV_EP0 hathach 2019-10-02 12:06:51 +07:00
  • 0673be7724 ported stm32f1, tested with f103 blue pill hathach 2019-10-02 12:01:34 +07:00
  • 1e193212d7 Add testcase for EP0 stall recovery to USBTMC test script. Nathan Conrad 2019-10-02 00:31:47 -04:00
  • e5f38e3e86 Remove references to EP kind. Nathan Conrad 2019-10-02 00:11:16 -04:00
  • 838cfe02c1 Merge remote-tracking branch 'origin/master' into ST_FSDEV_EP0 Nathan Conrad 2019-10-02 00:09:07 -04:00
  • 19ee519926 dcd_msp430x5xx: Correct byte count masks in transmit/receive routines. William D. Jones 2019-10-02 00:01:58 -04:00
  • ee63111ea0 Merge pull request #192 from hathach/develop hathach 2019-10-02 10:37:26 +07:00
  • 54478aaa2a dcd_msp430x5xx: Add STALL support for nonzero endpoints. William D. Jones 2019-10-01 23:28:41 -04:00
  • fad44c03c8 dcd_msp430x5xx: Fix TOGGLE bit behavior, clear stall when endpoint opened due to reset potentially not resetting everything. William D. Jones 2019-10-01 23:03:39 -04:00
  • 204791b3e7 2nd attempt to fix #161 hathach 2019-10-01 22:19:04 +07:00
  • d3e48da5a1 Merge pull request #191 from hathach/develop hathach 2019-10-01 16:09:18 +07:00
  • 6479ee53d5 -Wno-error=cast-function-type is only available for gcc 8+, change travis dist to bionic hathach 2019-10-01 15:43:28 +07:00
  • 12609f818b fix #161 added volatile for ep_busy_map/ep_stall_map hathach 2019-10-01 14:43:34 +07:00
  • d27291f288 Merge branch 'master' into develop hathach 2019-09-30 14:45:34 +07:00
  • 4ea2a4ed60 Github's web interface changed line endings without asking me. Oops. Nathan Conrad 2019-09-29 10:45:13 -04:00
  • 0078be9c24 Merge branch 'master' into ZLP_Request2 Nathan Conrad 2019-09-29 09:52:53 -04:00
  • b623e3023e dcd_msp430x5xx: Implement receive_packet for all endpoints, correct some mistakes in transmit_packet. William D. Jones 2019-09-29 03:58:30 -04:00
  • 549ad1d9b6 dcd_msp430x5xx: Fix missing mask when posting IN xfer events. William D. Jones 2019-09-29 03:02:59 -04:00
  • 838b431fac dcd_msp430x5xx: Implement transmit_packet for nonzero endpoints. Untested. William D. Jones 2019-09-29 02:43:05 -04:00
  • 2247f132ca Implement dcd_edpt_xfer for nonzero endpoints. William D. Jones 2019-09-29 02:22:09 -04:00
  • ea0e799df6 dcd_msp430x5xx: Fix clear stall logic. William D. Jones 2019-09-29 02:17:59 -04:00
  • 6446701041 Merge pull request #186 from pigrew/EP0_size_typo hathach 2019-09-29 13:05:39 +07:00
  • 529efcc0d2 dcd_msp430x5xx: Implement dcd_edpt_open. William D. Jones 2019-09-29 00:21:40 -04:00
  • 5d9f833915 dcd_msp430x5xx: Implement STALL logic for EP 0. William D. Jones 2019-09-28 02:09:03 -04:00
  • 63c94ff684 dcd_msp430x5xx: Improve EP0 IN handling (reuse short_packet field). William D. Jones 2019-09-28 01:51:05 -04:00
  • 030560792d dcd_msp430x5xx: Implement dcd_set_address. William D. Jones 2019-09-27 21:59:45 -04:00
  • 3ac43076da dcd_msp430x5xx: Implement EP0 IN xfers, clean up. William D. Jones 2019-09-27 21:20:33 -04:00
  • c4483d244b Fix typo of CFG_TUD_ENDOINT0_SIZE. Nathan Conrad 2019-09-27 12:41:46 -04:00
  • 4ccdc5522d Fix typo of CFG_TUD_ENDOINT0_SIZE. Nathan Conrad 2019-09-27 12:41:46 -04:00
  • 91fa24d99c Merge branch 'master' into ZLP_Request2 Nathan Conrad 2019-09-27 00:37:21 -04:00
  • 6183dbd0ce add -Wextra for more warnings to example hathach 2019-09-27 00:15:43 +07:00
  • f19082f02d Reset TX and RX endpoints to NAK when receiving setup packet. Nathan Conrad 2019-09-25 20:53:22 -04:00
  • 048e0448c0 ST FSDEV:Remove setting the EP kind, as I think it was causing issues during enumeration (sometimes). Also move a membar. Nathan Conrad 2019-09-25 20:17:53 -04:00
  • 9a8d23e95e Merge pull request #160 from pigrew/usbtmc hathach 2019-09-26 00:38:37 +07:00
  • 6841b236e8 Remove _app from callback function names. Nathan Conrad 2019-09-25 12:45:39 -04:00
  • 6c6a01cbcd USBTMC: Minor updates to testing script. Nathan Conrad 2019-09-25 12:18:10 -04:00
  • 3a87dd65d7 Change getting the capabilities structure to a callback instead of an extern struct. Nathan Conrad 2019-09-25 12:17:49 -04:00
  • 2d4352bfe9 Rename USBTMC functions. Nathan Conrad 2019-09-25 11:34:27 -04:00
  • 412a279073 I never understood why I need to write void as empty function arguments. Nathan Conrad 2019-09-24 13:54:45 -04:00
  • 624f4bf4ce Remove rhport from app code. If anything, it should be the interface_id. Assume a single interface, for now. Nathan Conrad 2019-09-24 13:42:29 -04:00
  • 10105557dc Let application control interface latency... Nathan Conrad 2019-09-24 13:11:45 -04:00
  • 01b4115b0b dcd_msp430x5xx: Fix Setup packet delay by actually enabling corresponding interrupt. William D. Jones 2019-09-24 04:06:34 -04:00
  • 550e8215f3 dcd_msp430x5xx: Setup packets are now received successfully (with delay). William D. Jones 2019-09-24 03:43:51 -04:00
  • d2e4af5a7b msp430f5529: Change EP0 size to 8, implement interrupt logic up to bus reset detection. William D. Jones 2019-09-24 02:41:11 -04:00
  • 1d49fb42ce Merge pull request #180 from cr1901/ep0-override hathach 2019-09-24 10:35:25 +07:00
  • 11de9f0ffd examples: Allow user to override EP0 size. William D. Jones 2019-09-23 23:11:47 -04:00
  • 742f1f23c5 examples: Allow user to override EP0 size. William D. Jones 2019-09-23 23:11:47 -04:00
  • 950614a841 msp430f5529: Implement dcd_int_enable/disable. William D. Jones 2019-09-23 22:58:49 -04:00
  • a6a79df9fb msp430f5529: Enable clocks/PLL for msp_exp430f5529lp and enable USB module in dcd_msp430x5xx; device does not enumerate. William D. Jones 2019-09-23 18:53:31 -04:00
  • 907bc3df9b msp430f5529: Ensure cdc_msc demo compiles. William D. Jones 2019-09-23 17:48:18 -04:00
  • e61f2b7393 Retool stalling EP on xfer errors. Nathan Conrad 2019-09-22 09:55:28 -04:00
  • 757c2cdc5b Merge remote-tracking branch 'origin/master' into usbtmc Nathan Conrad 2019-09-22 09:30:45 -04:00
  • 7ba8e81852 Merge pull request #177 from cr1901/fifo-fix hathach 2019-09-22 11:38:54 +07:00
  • b1d29947bc Merge pull request #175 from pigrew/clear_feature_ordering hathach 2019-09-22 11:00:35 +07:00
  • 108f756e22 dcd_synopsys: Fix off-by-one error in FIFO allocation. William D. Jones 2019-09-21 22:40:01 -04:00
  • fa5b5e4561 Lots of updates (especially error handling) Nathan Conrad 2019-09-21 21:46:46 -04:00
  • 2aa10daf26 Merge branch 'clear_feature_ordering' into usbtmc Nathan Conrad 2019-09-21 21:39:25 -04:00
  • ec3414ca3a Merge branch 'master' into usbtmc Nathan Conrad 2019-09-21 21:38:05 -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, Nathan Conrad 2019-09-21 19:29:57 -04:00
  • fbb8520acd logical or. Nathan Conrad 2019-09-21 14:34:29 -04:00
  • 37b52e354f Correct wording of comment on handling EP requests. Nathan Conrad 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. Nathan Conrad 2019-09-21 12:04:49 -04:00
  • be28a05409 Make type casting explicit Nathan Conrad 2019-09-21 12:03:36 -04:00
  • 55abb3d717 Calling EP open with bad parameters should be considered a bug. Nathan Conrad 2019-09-21 12:02:52 -04:00
  • aebecf169a Reorder handling of EP control requests, Nathan Conrad 2019-09-21 12:02:06 -04:00
  • b6590490a8 USB Control: Pointer arithmetic on void* is forbiden Nathan Conrad 2019-09-21 12:00:36 -04:00