On Fri, Jun 22, 2012 at 3:13 AM, Pete Batard <[email protected]> wrote:
> On 2012.06.18 11:44, Xiaofan Chen wrote:
>> So I think it will be good to add one example in the next release.
>>
>> 1) Peter has added the following example
>> http://git.libusb.org/?p=libusb.git;a=blob;f=examples/sam3u_benchmark.c
>
> Yeah, I saw that one. I wouldn't mind if at least one of the regulars of
> this list had one of the targeted boards [1] though, so that we can
> properly support it. Either that, or we should try to setup one of the
> plaforms we have to work with that sample, as you point out below.
>
> [1]
> http://git.gnumonks.org/cgi-bin/gitweb.cgi?p=sam3u-tests.git;a=blob;f=usb-benchmark-project/main.c;#l59

The example seems to be better written than the second example
even though it seems to be only tested under Linux and needs to
be modified for MinGW.

>> I do not have the hardware to test this one but benchmark
>> device can probably be adapted.

I will see if I can adapt the above example to the benchmark
firmware.

>> 2) lpcusb has this example
>> http://lpcusb.svn.sourceforge.net/viewvc/lpcusb/trunk/host/linux_isoc_sample_libusb-1.0/test_isoc.c?revision=179&view=markup
>> I have the hardware to test the 2nd example.

But personally I think the sample code above is a bit rough.

> OK. I have added either of the above to the 1.0.13 roadmap.
> Right now, I don't think we'll have much of an opportunity to add more
> than one additional sample in 1.0.13 (or rather, I wouldn't mind freeing
> up the time it would take us to add more than one towards other activities).

No problem.

http://sourceforge.net/apps/trac/libusbx/roadmap
"Samples: add testlibusb sample OR an ISOC sample based on
either sam3u_benchmark.c or test_isoc.c"

I have not forgot about the testlibusb sample myself but I did not
spend much time on it yet. I am kind of more interested in the
ISOC sample myself.

-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
libusbx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to