Categories

  • articles

Tags

  • arduino
  • java
  • linux

Received my new toy today a NavSpark-GL : Arduino Compatible Development Board with GPS/GLONASS!

Desciption strait from the website: NavSpark-GL is a small, powerful, breadboard-friendly, 32bit development board that is Arduino compatible, with a world class GPS/GLONASS receiver as on-board peripheral. NavSpark-GL is designed to run Wiring, the same simple code as the Arduino platform.

Just quickly wanted to post a tutorial of how to setup the Arduino IDE on a 64-bit Linux system.

Download Arduino IDE src and LEON3 BCC Compiler from http://navspark.mybigcommerce.com/resources/

wget https://store-lgdi92x.mybigcommerce.com/content/Arduino-1.5.6-r2-Src-NavSpark-linux.tgz
wget https://store-lgdi92x.mybigcommerce.com/content/sparc-elf-3.4.4-33.tar.gz

Extract IDE with:

tar xvfz Arduino-1.5.6-r2-Src-NavSpark-Linux.tgz

Extract the LEON3 BCC Compiler to “/opt” with:

sudo tar xvfz sparc-elf-3.4.4-33.tar.gz -C /opt

Create a symbolic link for tool chains:

ln -fs /opt/sparc-elf-3.4.4-33 /opt/sparc-elf-3.4.4

Install libraries needed for running 32-bit program on 64-bit platform:

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

Optional Update: Also as note at this point if you do no have a version of Java JDK installed do so now, preferably version 7 of either openJDK of Oracle. Please note JRE will no work since you will require tool.jar only found in the JDK version.

sudo apt-get install openjdk-7-jdk

Replace the download tools for 64-bit:

cp ./Arduino-1.5.6-r2-Src-NavSpark/build/linux/NavSparkDownload_linux64 ./Arduino-1.5.6-r2-Bin-NavSpark/hardware/tools/NavSparkDownloadCmd

Install ant if not already installed:

sudo apt-get install ant

Build Arduino:

cd Arduino-1.5.6-r2-Src-NavSpark/build
sudo ant build

That is it! To run naviagte to “Arduino-1.5.6-r2-Src-NavSpark/build/linux/work” there you will find “arduino” executable.