My Pimoroni Flotilla kit arrived today, and I didn’t have a Raspberry Pi left in workable condition. So, I looked for a set-up that would allow me not to use one. I found a write-up on using Ubuntu and that was hugely useful.
I already had git, so I hit
git clone https://github.com/pimoroni/Flotilla-Daemon-VS.git
in my build area. The daemon is the non-GUI backing that does the hard work of talking to the USB device. It comes without all the dependencies, though. The first one, mentioned in the Ubuntu guide, is libserial
. That’s in the AUR. I already had autoconf
and libtool
. As it happened, I didn’t need to make libserial
. This is fortunate, as I found out before I looked in the AUR that pushd
was not going to play nicely and I had no idea what that meant.
I also needed libserialport-git
from the AUR and websocketpp
from the standard repository. I found this out when the makefile borked, and each time there wasn’t a required dependency, I just found it. More than that, I needed to take out the version number in the Makefile. CC = g++-4.9
is probably not allowed because it’s not pure GCC. So, I replaced it with CC = g++
and that worked fine. I swapped OBJECT and LDFLAGS as per the Ubuntu instructions, although I don’t know if that made a difference.
Then I downloaded Rockpool, the interface.
git clone https://github.com/pimoroni/flotilla-offline
That should have run nicely with cd flotilla-offline/rockpool && python rockpool.py
but as it happens I have python3 so I made it explicit: python2 rockpool.py
and then I was done. Remember to click on Connect rather than waiting politely for the bar to load. You’re acting as a server on the USB connection, so although the address looks like the default, it is and it should be.
Recent Comments