Enabled the build script to build for Arduino Due as well.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Tue, 31 Mar 2015 15:06:39 +0000 (11:06 -0400)
committerErich Keane <erich.keane@intel.com>
Thu, 2 Apr 2015 20:04:37 +0000 (20:04 +0000)
This enables the build server and endusers/developers to verify builds
for the Arduino Due as well.

Change-Id: I08ca0893b16d8cfcf133e8554379eeb69e489515
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/614
Reviewed-by: Doug Hudson <douglas.hudson@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
auto_build.sh

index 7940208..820041f 100755 (executable)
@@ -47,10 +47,10 @@ function build()
        scons TARGET_OS=arduino UPLOAD=false BOARD=mega TARGET_ARCH=avr TARGET_TRANSPORT=ETHERNET NET=Ethernet RELEASE=$3
        scons TARGET_OS=arduino UPLOAD=false BOARD=mega TARGET_ARCH=avr TARGET_TRANSPORT=WIFI NET=Wifi RELEASE=$3
 
-: '
        echo "*********** Build for arduino arm *************"
-       scons TARGET_OS=arduino TARGET_ARCH=arm ARDUINO_HOME=$2 RELEASE=$3
-'
+       scons TARGET_OS=arduino UPLOAD=false BOARD=arduino_due_x TARGET_ARCH=arm TARGET_TRANSPORT=ETHERNET NET=Ethernet RELEASE=$3
+       scons TARGET_OS=arduino UPLOAD=false BOARD=arduino_due_x TARGET_ARCH=arm TARGET_TRANSPORT=WIFI NET=Wifi RELEASE=$3
+
        if [ $(uname -s) = "Darwin" ]
        then
                echo "*********** Build for OSX *************"