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
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
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
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
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
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
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
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
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
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