1
0
mirror of git://projects.qi-hardware.com/f32xbase.git synced 2024-11-05 07:05:00 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
Werner Almesberger
79396b1777 lib/usb.c (open_usb): Stupid beginner's mistake: wrong operator precedence due
to missing parentheses in device selection caused it to just pick the first
device it found.
2010-08-25 17:26:43 -03:00
Werner Almesberger
a77a9a611f lib/usb.c (open_usb): libusb documentation claims that considerable
bureaucracy is needed before operations can be performed. This doesn't
seem to be the case, but let's put the code (commented out) anyway,
since it's been written. (This was done while trying to debug another
problem.)
2010-08-24 21:09:22 -03:00
Werner Almesberger
fa7fb48296 Put libraries at end of linker invocation to make it work with local
libraries. Some minor cleanup.

- lib/Makefile.common: introduced LDLIBS to place libraries at the end of
  the $(LD) command line
- lib/Makefile.common: put spaces around assignments
- README: added short name of project to title
2010-08-20 16:16:13 -03:00
Werner Almesberger
7501137fac Added library for items commonly shared among tools.
- lib/Makefile.common: common makefile rules for USB tools
- include/f32xbase/usb.h, lib/usb.c: library with the common open_usb
  function
2010-08-20 14:21:39 -03:00