Development mbed library for MAX32630FTHR

Dependents:   blinky_max32630fthr

Revision:
0:5c4d7b2438d3
diff -r 000000000000 -r 5c4d7b2438d3 Jenkinsfile
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Jenkinsfile	Fri Nov 11 20:59:50 2016 +0000
@@ -0,0 +1,32 @@
+
+// List of targets to compile
+def targets = [
+  //"LPC1768",
+  //"NUCLEO_F401RE",
+  //"NRF51822",
+  "K64F"
+  ]
+
+// Map toolchains to compiler labels on Jenkins
+def toolchains = [
+  ARM: "armcc",
+  //IAR: "iar_arm",
+  GCC_ARM: "arm-none-eabi-gcc"
+  ]
+
+// mbed.getCurrentBranch returns either local branch name or reference to pull request
+def currentBranch = mbed.getCurrentBranch()
+
+// Create a map of predefined build steps 
+def parallelSteps = mbed.createParalleSteps("mbed-os", targets, toolchains)
+
+// Run build steps parallel, map as paramater
+mbed.compile(parallelSteps)
+
+def testApps = [
+  "mbed-os-cliapp",
+  "mbed-client-testapp"
+  ]
+
+// buildTestApps accepts array of test application names and a mbed-os branch or PR reference as parameters
+mbed.buildTestApps(testApps, "${currentBranch}")