geolink/opentracker

Programming on Linux and Mac

Closed this issue · 7 comments

I'm trying to install OpenTracker board in Arduino IDE (Linux 32bit) but, when i press "install" button i read a red message "Tool bossac is not available for your operating system" and procedure stops. Can somebody help me? Thanks

You have to build bossac from source.
Git clone https://github.com/geolink/opentracker-bossa.git
Git clone ‎ https://github.com/geolink/opentracker-arduino-board.git
Edit ‎local package_opentracker_index.json
And remove bossac entry. Dirty, but should work

Ferdinand Haselbacher

The same works for Mac. I however had to modify the opentracker-bossa Makefile:

COMMON_CXXFLAGS=-arch i386 -arch x86_64 -mmacosx-version-min=10.10 -stdlib=libc++ -std=c++11
COMMON_LDFLAGS=-arch i386 -arch x86_64 -mmacosx-version-min=10.10

and also install wxmac:

brew install wxmac

You might also need to patch

/Users/sorcer/Library/Arduino15/packages/opentracker/hardware/sam/1.0.1/platform.txt

Change row 86 to:

tools.bossac.path=/usr/bin/

FYI, the board suport package now includes linux binaries (since v1.0.1)
See geolink/opentracker-arduino-board@98105ba

To build the command line tool, you don't actually need wxWidgets. Just "make bin/bossac"

Can anybody please test the Mac OSX binaries, before the official release?

You should be able to get v1.0.2 of the board support package using this URL in your preferences: https://github.com/geolink/opentracker-arduino-board/raw/1.0.2/package_opentracker_index.json

That includes the OSX binary of the BOSSA tool.

Grazie Paolo, seguiro' il tuo consiglio e ti faro' sapere

OK, it works on Linux, Thanks!

Thank you varlux.
Any Mac user that can test on that platform?