hathach
6baa79b330
board test works
2019-11-04 14:54:04 +07:00
hathach
4d329d46cc
Merge pull request #206 from hathach/develop
...
Added a couple of unit testing with Ceedling/Cmock/Unity
2019-10-31 08:29:11 +07:00
hathach
a0002cc709
rename usbd_init() to tud_init()
2019-10-30 23:26:34 +07:00
hathach
16665672a4
initally adding test_usbd.c
2019-10-30 12:24:07 +07:00
hathach
880ac1e398
move dcd event helper to be dcd.h as inline function
2019-10-30 11:35:25 +07:00
hathach
78523301bb
Merge pull request #202 from smunaut/dfu-rt
...
Add support for DFU Runtime class for devices
2019-10-28 22:56:14 +07:00
Sylvain Munaut
ec4ecfa817
Add support for DFU Runtime class for devices
...
This is really just a few descriptors and then answering to the
request from the host to reboot into DFU mode.
That latter part is delegated to the app since this is platform
specific.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-10-28 16:11:08 +01:00
hathach
6ab0663c1a
adding more log
2019-10-24 12:00:06 +07:00
hathach
661515a807
adding debug log function
2019-10-23 21:18:46 +07:00
hathach
90b6b5d137
clean up tusb_verify
2019-10-18 16:38:02 +07:00
hathach
195d0f5a14
adding log support with uart
...
started with pca10056
2019-10-12 00:02:51 +07:00
hathach
c42edc080c
Merge branch 'master' into develop
2019-10-09 11:03:55 +07:00
Kamil Tomaszewski
0cea82568c
Disable/enable only USB interrupt
2019-10-08 09:58:56 +02:00
Kamil Tomaszewski
9923604221
Send SUSPEND and RESUME signals
2019-10-07 14:04:48 +02:00
Kamil Tomaszewski
b3872febe2
Disable/enable interrupt
2019-10-07 14:03:02 +02:00
Kamil Tomaszewski
0747c4b61b
Add Spresense board
2019-10-04 13:19:34 +02:00
hathach
281cd858b0
adding lpc1549, but couldnt recieve setup packet, though setup received interrupt is triggered
2019-10-04 15:56:45 +07:00
hathach
13d37e4a36
lpcxpresso1549 board test running
2019-10-03 15:23:01 +07:00
hathach
7fd68efe7b
couldn't get 32L4 running with crystal less mode
2019-10-03 13:37:10 +07:00
hathach
820a3705f5
Merge branch 'master' into develop
2019-10-02 12:13:47 +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
hathach
204791b3e7
2nd attempt to fix #161
2019-10-01 22:19:04 +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
4ccdc5522d
Fix typo of CFG_TUD_ENDOINT0_SIZE.
2019-09-27 12:41:46 -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
Nathan Conrad
6841b236e8
Remove _app from callback function names.
2019-09-25 12:47:05 -04:00
Nathan Conrad
3a87dd65d7
Change getting the capabilities structure to a callback instead of an extern struct.
2019-09-25 12:46:35 -04:00
Nathan Conrad
2d4352bfe9
Rename USBTMC functions.
2019-09-25 12:46:25 -04:00
Nathan Conrad
412a279073
I never understood why I need to write void as empty function arguments.
2019-09-24 13:54:45 -04:00
Nathan Conrad
624f4bf4ce
Remove rhport from app code. If anything, it should be the interface_id. Assume a single interface, for now.
2019-09-24 13:42:29 -04:00
Nathan Conrad
10105557dc
Let application control interface latency...
2019-09-24 13:11:45 -04:00
Nathan Conrad
e61f2b7393
Retool stalling EP on xfer errors.
2019-09-22 09:55:28 -04:00
Nathan Conrad
757c2cdc5b
Merge remote-tracking branch 'origin/master' into usbtmc
2019-09-22 09:30:45 -04:00
hathach
7ba8e81852
Merge pull request #177 from cr1901/fifo-fix
...
dcd_synopsys: Fix off-by-one error in FIFO allocation.
2019-09-22 11:38:54 +07:00
William D. Jones
108f756e22
dcd_synopsys: Fix off-by-one error in FIFO allocation.
2019-09-21 23:01:06 -04:00
Nathan Conrad
fa5b5e4561
Lots of updates (especially error handling)
2019-09-21 21:46:46 -04:00
Nathan Conrad
2aa10daf26
Merge branch 'clear_feature_ordering' into usbtmc
2019-09-21 21:39:25 -04:00
Nathan Conrad
ec3414ca3a
Merge branch 'master' into usbtmc
2019-09-21 21:38:05 -04:00
Nathan Conrad
9498adef71
Changing the bitwise to a logical OR created a huge hard to find bug. It shortcutted the call to the class function,
...
so, lets use shortcutting anyway?
2019-09-21 19:29:57 -04:00
Nathan Conrad
fbb8520acd
logical or.
2019-09-21 14:34:29 -04:00
Nathan Conrad
37b52e354f
Correct wording of comment on handling EP requests.
2019-09-21 12:17:17 -04:00
Nathan Conrad
a187f0268c
When unstalling, EP must be marked as not busy. Also, mark EP as busy when stalling as xfer requests should fail.
2019-09-21 12:05:57 -04:00
Nathan Conrad
be28a05409
Make type casting explicit
2019-09-21 12:05:46 -04:00
Nathan Conrad
55abb3d717
Calling EP open with bad parameters should be considered a bug.
2019-09-21 12:02:52 -04:00