dankamongmen / pololuJrkUSB

Command-line utility for the Pololu Jrk USB 21v3 and 12v12 motor controllers
Apache License 2.0
0 stars 0 forks source link

Build pololu core as a shared library #10

Open dankamongmen opened 5 years ago

dankamongmen commented 5 years ago

@barulicm and @cbq seem to want to use this code as a library. Right now, we just build poller.o and link it directly with pololu.o, but there's no reason not to build a .so. Add Makefile support for a shared (and static) library as output, and implement visibility controls in the source (i.e., don't leak symbols all over the place).

dankamongmen commented 5 years ago

Given that I intend to switch from using USB serial cdc_acm to pure libusb synchronous control transfers, I don't think we want to do this just yet. The whole poller infrastructure is likely to go away.