Enable build process for Arduino Mega on CA Branch for the CI System.
authorJoseph Morrow <joseph.l.morrow@intel.com>
Fri, 20 Mar 2015 21:34:18 +0000 (17:34 -0400)
committerErich Keane <erich.keane@intel.com>
Fri, 20 Mar 2015 23:31:08 +0000 (23:31 +0000)
I believe this was previously mistakenly disabled. By re-enabling this,
we can ensure that all new commits to the CA Branch are validated
correctly.

Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Change-Id: Icc882206bc3e2b8dc8dd5955bfa518e361f95b2b
Reviewed-on: https://gerrit.iotivity.org/gerrit/527
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
auto_build.sh

index 41bba84..7940208 100755 (executable)
@@ -43,14 +43,14 @@ function build()
                scons TARGET_OS=android TARGET_ARCH=armeabi-v7a-hard ANDROID_NDK=$1 RELEASE=$3
        fi
 
-: '
        echo "*********** Build for arduino avr *************"
-       scons TARGET_OS=arduino TARGET_ARCH=avr ARDUINO_HOME=$2 RELEASE=$3
+       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
 '
-
        if [ $(uname -s) = "Darwin" ]
        then
                echo "*********** Build for OSX *************"