Commit Graph

2461 Commits

Author SHA1 Message Date
William D. Jones c8e899fef0 dcd_msp430x5xx: Improve SETUP packet and EP0 NAK interactions, per
42.3.1.3 in Reference Manual; fix is incomplete but works.
2019-10-10 04:02:35 -04:00
William D. Jones 97af9e3332 msp_exp430f5529lp: Make board_millis atomic. 2019-10-06 20:44:06 -04:00
William D. Jones 16ff152129 msp_exp430f5529lp: Set up UART functionality. 2019-10-05 09:37:48 -04:00
William D. Jones e4a88bc826 examples: Fix #ifndef guard for CFG_TUD_ENDPOINT0_SIZE. 2019-10-04 05:36:51 -04:00
William D. Jones c5ce4619a3 travis.yml: Add msp430 support. 2019-10-04 05:24:59 -04:00
William D. Jones a01b0a73c1 Remove accidentally-commited debug var. 2019-10-03 23:59:22 -04:00
William D. Jones 432e9dcd2e Merge remote-tracking branch 'pigrew/ZLP_Request2' into msp430f5529 2019-10-03 23:50:55 -04:00
William D. Jones 5ee1070c16 Merge remote-tracking branch 'origin' into msp430f5529 2019-10-02 23:18:49 -04:00
William D. Jones b0b737b42a usbd_control.c: Decide whether a control transfer has a data stage
based on setup packet wLength.
2019-10-02 23:02:55 -04:00
William D. Jones 05914de109 dcd_msp430x5xx: Fix typos in dcd_edpt_clear_stall. 2019-10-02 22:36:45 -04:00
hathach e59742f200
Merge pull request #193 from hathach/develop
ported stm32f1, tested with f103 blue pill
2019-10-02 12:23:30 +07:00
William D. Jones 3edb5548e9 dcd_msp430x5xx: Ensure DBUF bit is cleared on endpoint open, as it
could get spuriously set in debugging sessions. cdc_msc functional.
2019-10-02 01:19:12 -04:00
Nathan Conrad cef388b7bd Merge branch 'master' into ZLP_Request2 2019-10-02 01:15:47 -04:00
hathach 820a3705f5
Merge branch 'master' into develop 2019-10-02 12:13:47 +07:00
hathach d84a31fd5f
Merge pull request #181 from pigrew/ST_FSDEV_EP0
ST FSDEV EP0 left in stall
2019-10-02 12:06:51 +07:00
hathach 0673be7724 ported stm32f1, tested with f103 blue pill 2019-10-02 12:01:34 +07:00
Nathan Conrad 1e193212d7 Add testcase for EP0 stall recovery to USBTMC test script. 2019-10-02 00:31:47 -04:00
Nathan Conrad e5f38e3e86 Remove references to EP kind. 2019-10-02 00:11:16 -04:00
Nathan Conrad 838cfe02c1 Merge remote-tracking branch 'origin/master' into ST_FSDEV_EP0 2019-10-02 00:09:07 -04:00
William D. Jones 19ee519926 dcd_msp430x5xx: Correct byte count masks in transmit/receive routines. 2019-10-02 00:01:58 -04:00
hathach ee63111ea0
Merge pull request #192 from hathach/develop
2nd attempt to fix #161
2019-10-02 10:37:26 +07:00
William D. Jones 54478aaa2a dcd_msp430x5xx: Add STALL support for nonzero endpoints. 2019-10-01 23:28:41 -04:00
William D. Jones fad44c03c8 dcd_msp430x5xx: Fix TOGGLE bit behavior, clear stall when endpoint
opened due to reset potentially not resetting everything.
2019-10-01 23:03:39 -04:00
hathach 204791b3e7 2nd attempt to fix #161 2019-10-01 22:19:04 +07:00
hathach d3e48da5a1
Merge pull request #191 from hathach/develop
fix #161 and enable -Wextra for more warnings
2019-10-01 16:09:18 +07:00
hathach 6479ee53d5 -Wno-error=cast-function-type is only available for gcc 8+, change travis dist to bionic 2019-10-01 15:43:28 +07:00
hathach 12609f818b fix #161 added volatile for ep_busy_map/ep_stall_map 2019-10-01 14:43:34 +07:00
hathach d27291f288 Merge branch 'master' into develop 2019-09-30 14:45:34 +07:00
Nathan Conrad 4ea2a4ed60 Github's web interface changed line endings without asking me. Oops. 2019-09-29 10:45:13 -04:00
Nathan Conrad 0078be9c24
Merge branch 'master' into ZLP_Request2 2019-09-29 09:52:53 -04:00
William D. Jones b623e3023e dcd_msp430x5xx: Implement receive_packet for all endpoints, correct
some mistakes in transmit_packet.
2019-09-29 03:58:30 -04:00
William D. Jones 549ad1d9b6 dcd_msp430x5xx: Fix missing mask when posting IN xfer events. 2019-09-29 03:02:59 -04:00
William D. Jones 838b431fac dcd_msp430x5xx: Implement transmit_packet for nonzero endpoints. Untested. 2019-09-29 02:43:05 -04:00
William D. Jones 2247f132ca Implement dcd_edpt_xfer for nonzero endpoints. 2019-09-29 02:22:09 -04:00
William D. Jones ea0e799df6 dcd_msp430x5xx: Fix clear stall logic. 2019-09-29 02:17:59 -04:00
hathach 6446701041
Merge pull request #186 from pigrew/EP0_size_typo
CFG_TUD_ENDOINT0_SIZE v CFG_TUD_ENPDOINT0_SIZE
2019-09-29 13:05:39 +07:00
William D. Jones 529efcc0d2 dcd_msp430x5xx: Implement dcd_edpt_open. 2019-09-29 00:21:40 -04:00
William D. Jones 5d9f833915 dcd_msp430x5xx: Implement STALL logic for EP 0. 2019-09-28 02:09:03 -04:00
William D. Jones 63c94ff684 dcd_msp430x5xx: Improve EP0 IN handling (reuse short_packet field). 2019-09-28 01:51:05 -04:00
William D. Jones 030560792d dcd_msp430x5xx: Implement dcd_set_address. 2019-09-27 21:59:45 -04:00
William D. Jones 3ac43076da dcd_msp430x5xx: Implement EP0 IN xfers, clean up. 2019-09-27 21:22:19 -04:00
Nathan Conrad c4483d244b Fix typo of CFG_TUD_ENDOINT0_SIZE. 2019-09-27 21:22:19 -04:00
Nathan Conrad 4ccdc5522d Fix typo of CFG_TUD_ENDOINT0_SIZE. 2019-09-27 12:41:46 -04:00
Nathan Conrad 91fa24d99c Merge branch 'master' into ZLP_Request2 2019-09-27 00:37:21 -04:00
hathach 6183dbd0ce add -Wextra for more warnings to example
non-stack warning (probably mcu driver) should be suppressed in the
board.mk
2019-09-27 00:15:43 +07:00
Nathan Conrad f19082f02d Reset TX and RX endpoints to NAK when receiving setup packet. 2019-09-25 20:55:15 -04:00
Nathan Conrad 048e0448c0 ST FSDEV:Remove setting the EP kind, as I think it was causing issues during enumeration (sometimes). Also move a membar. 2019-09-25 20:54:59 -04:00
hathach 9a8d23e95e
Merge pull request #160 from pigrew/usbtmc
Add usbtmc class driver (READY FOR TESTING)
2019-09-26 00:38:37 +07:00
Nathan Conrad 6841b236e8 Remove _app from callback function names. 2019-09-25 12:47:05 -04:00
Nathan Conrad 6c6a01cbcd USBTMC: Minor updates to testing script. 2019-09-25 12:46:45 -04:00