d0146be00b
dcd_msp430x5xx: Fix typo in copy-paste in transmit_packet.
William D. Jones2019-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. Jones2019-10-10 04:02:35 -04:00
e413c9efa3
Merge pull request #199 from hathach/develop
hathach2019-10-10 11:31:29 +07:00
c42edc080c
Merge branch 'master' into develop
hathach2019-10-09 11:03:55 +07:00
432e9dcd2e
Merge remote-tracking branch 'pigrew/ZLP_Request2' into msp430f5529
William D. Jones2019-10-03 23:50:55 -04:00
13d37e4a36
lpcxpresso1549 board test running
hathach2019-10-03 15:23:01 +07:00
7fd68efe7b
couldn't get 32L4 running with crystal less mode
hathach2019-10-03 13:37:10 +07:00
5ee1070c16
Merge remote-tracking branch 'origin' into msp430f5529
William D. Jones2019-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. Jones2019-10-02 23:02:55 -04:00
05914de109
dcd_msp430x5xx: Fix typos in dcd_edpt_clear_stall.
William D. Jones2019-10-02 22:36:45 -04:00
0a20e91cc9
move linker file to blue pill bsp
hathach2019-10-02 14:23:23 +07:00
e59742f200
Merge pull request #193 from hathach/develop
hathach2019-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. Jones2019-10-02 01:18:56 -04:00
19ee519926
dcd_msp430x5xx: Correct byte count masks in transmit/receive routines.
William D. Jones2019-10-02 00:01:58 -04:00
ee63111ea0
Merge pull request #192 from hathach/develop
hathach2019-10-02 10:37:26 +07:00
54478aaa2a
dcd_msp430x5xx: Add STALL support for nonzero endpoints.
William D. Jones2019-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. Jones2019-10-01 23:03:39 -04:00
b623e3023e
dcd_msp430x5xx: Implement receive_packet for all endpoints, correct some mistakes in transmit_packet.
William D. Jones2019-09-29 03:58:30 -04:00
549ad1d9b6
dcd_msp430x5xx: Fix missing mask when posting IN xfer events.
William D. Jones2019-09-29 03:02:59 -04:00
838b431fac
dcd_msp430x5xx: Implement transmit_packet for nonzero endpoints. Untested.
William D. Jones2019-09-29 02:43:05 -04:00
6183dbd0ce
add -Wextra for more warnings to example
hathach2019-09-27 00:15:43 +07:00
f19082f02d
Reset TX and RX endpoints to NAK when receiving setup packet.
Nathan Conrad2019-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 Conrad2019-09-25 20:17:53 -04:00
9a8d23e95e
Merge pull request #160 from pigrew/usbtmc
hathach2019-09-26 00:38:37 +07:00
6841b236e8
Remove _app from callback function names.
Nathan Conrad2019-09-25 12:45:39 -04:00
412a279073
I never understood why I need to write void as empty function arguments.
Nathan Conrad2019-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 Conrad2019-09-24 13:42:29 -04:00
10105557dc
Let application control interface latency...
Nathan Conrad2019-09-24 13:11:45 -04:00
01b4115b0b
dcd_msp430x5xx: Fix Setup packet delay by actually enabling corresponding interrupt.
William D. Jones2019-09-24 04:06:34 -04:00
550e8215f3
dcd_msp430x5xx: Setup packets are now received successfully (with delay).
William D. Jones2019-09-24 03:43:51 -04:00
d2e4af5a7b
msp430f5529: Change EP0 size to 8, implement interrupt logic up to bus reset detection.
William D. Jones2019-09-24 02:41:11 -04:00
1d49fb42ce
Merge pull request #180 from cr1901/ep0-override
hathach2019-09-24 10:35:25 +07:00
a6a79df9fb
msp430f5529: Enable clocks/PLL for msp_exp430f5529lp and enable USB module in dcd_msp430x5xx; device does not enumerate.
William D. Jones2019-09-23 18:53:31 -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 Conrad2019-09-21 19:29:57 -04:00
37b52e354f
Correct wording of comment on handling EP requests.
Nathan Conrad2019-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 Conrad2019-09-21 12:04:49 -04:00