Problems compiling with ino

A shrunk down Leonardo-compatible board, thumb drive sized with native USB support. [Product info]
Post Reply
jlcox1970
Posts: 2
Joined: Fri Sep 05, 2014 1:34 am

Problems compiling with ino

Post by jlcox1970 » Fri Sep 05, 2014 1:43 am

Hi all,
I am wanting to switch over to using the ino command line for doing my compiles and uploads to my LeoStick V2.
I have the arduino GUI all working on 1.0.5 with any issues however when I go to use ino I get the following ( following instructions from http://inotool.org/quickstart )

Code: Select all

ino build -m leostickv2
Searching for Board description file (boards.txt) ... /usr/share/arduino/hardware/arduino/boards.txt
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ...  1.0.5 (1.0.5)
Searching for Arduino core library ... /usr/share/arduino/hardware/arduino/cores/arduino
Searching for Arduino variants directory ... /usr/share/arduino/hardware/arduino/variants
Searching for Arduino standard libraries ... /usr/share/arduino/libraries
Searching for make ... /usr/bin/make
Searching for avr-gcc ... /usr/bin/avr-gcc
Searching for avr-g++ ... /usr/bin/avr-g++
Searching for avr-ar ... /usr/bin/avr-ar
Searching for avr-objcopy ... /usr/bin/avr-objcopy
src/sketch.ino
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ...  1.0.5 (1.0.5)
Scanning dependencies of src
In file included from /usr/share/arduino/hardware/arduino/cores/arduino/Platform.h:15:0,
                 from /usr/share/arduino/hardware/arduino/cores/arduino/CDC.cpp:19:
/usr/share/arduino/hardware/arduino/cores/arduino/Arduino.h:213:26: fatal error: pins_arduino.h: No such file or directory
 #include "pins_arduino.h"
                          ^
compilation terminated.
make: *** [.build/leostickv2/arduino/CDC.d] Error 1
Make failed with code 2
not sure where to start on this....
Also using the v3.3 profile

Thanks,
Jason

jlcox1970
Posts: 2
Joined: Fri Sep 05, 2014 1:34 am

Re: Problems compiling with ino

Post by jlcox1970 » Sat Sep 06, 2014 1:02 am

I think I found the issue in the boards.txt file

Code: Select all

leostickv2.build.core=arduino:arduino
leostickv2.build.variant=arduino:leonardo
After some testing I found that changing it to the following fixed the issue with ino tools

Code: Select all

leostickv2.build.core=arduino
leostickv2.build.variant=leonardo

Post Reply