1 Reply Latest reply on Mar 11, 2014 3:12 PM by xarteaga

    Galileo Project with Makefile

    amitp

      First Post !

       

      Created a Makefile based project for people who like the command line.

      Extract the proj.tar.gz in the same directory where you have extracted arduino-1.5.3,

      minor modifications required to the Makefile to set the proper path.

       

      * Project compiles properly, elf file is almost the same size as created by Arduino editor.

      * make flash is untested as I do not have the board yet.

        • 1. Re: Galileo Project with Makefile
          xarteaga

          First of all, Thank You.

           

          I had to modify the following line (probably because I am using the 64 bit version):

          BIN_PATH = $(ABS_PATH)/arduino-1.5.3/hardware/tools/sysroots/i586-pokysdk-linux/usr/bin/i586-poky-linux-uclibc

          to:

          BIN_PATH = $(ABS_PATH)/arduino-1.5.3/hardware/tools/sysroots/x86_64-pokysdk-linux/usr/bin/i586-poky-linux-uclibc/

           

          Also, my port was "/dev/ttyACM0" (Ubuntu) instead of "/dev/ttyUSB0".

           

          Load (make flash) worked perfectly! However, I miss an console serial monitor entry in the Makefile