Development mbed library for MAX32630FTHR

Dependents:   blinky_max32630fthr

Committer:
switches
Date:
Fri Nov 11 20:59:50 2016 +0000
Revision:
0:5c4d7b2438d3
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
switches 0:5c4d7b2438d3 1
switches 0:5c4d7b2438d3 2 // List of targets to compile
switches 0:5c4d7b2438d3 3 def targets = [
switches 0:5c4d7b2438d3 4 //"LPC1768",
switches 0:5c4d7b2438d3 5 //"NUCLEO_F401RE",
switches 0:5c4d7b2438d3 6 //"NRF51822",
switches 0:5c4d7b2438d3 7 "K64F"
switches 0:5c4d7b2438d3 8 ]
switches 0:5c4d7b2438d3 9
switches 0:5c4d7b2438d3 10 // Map toolchains to compiler labels on Jenkins
switches 0:5c4d7b2438d3 11 def toolchains = [
switches 0:5c4d7b2438d3 12 ARM: "armcc",
switches 0:5c4d7b2438d3 13 //IAR: "iar_arm",
switches 0:5c4d7b2438d3 14 GCC_ARM: "arm-none-eabi-gcc"
switches 0:5c4d7b2438d3 15 ]
switches 0:5c4d7b2438d3 16
switches 0:5c4d7b2438d3 17 // mbed.getCurrentBranch returns either local branch name or reference to pull request
switches 0:5c4d7b2438d3 18 def currentBranch = mbed.getCurrentBranch()
switches 0:5c4d7b2438d3 19
switches 0:5c4d7b2438d3 20 // Create a map of predefined build steps
switches 0:5c4d7b2438d3 21 def parallelSteps = mbed.createParalleSteps("mbed-os", targets, toolchains)
switches 0:5c4d7b2438d3 22
switches 0:5c4d7b2438d3 23 // Run build steps parallel, map as paramater
switches 0:5c4d7b2438d3 24 mbed.compile(parallelSteps)
switches 0:5c4d7b2438d3 25
switches 0:5c4d7b2438d3 26 def testApps = [
switches 0:5c4d7b2438d3 27 "mbed-os-cliapp",
switches 0:5c4d7b2438d3 28 "mbed-client-testapp"
switches 0:5c4d7b2438d3 29 ]
switches 0:5c4d7b2438d3 30
switches 0:5c4d7b2438d3 31 // buildTestApps accepts array of test application names and a mbed-os branch or PR reference as parameters
switches 0:5c4d7b2438d3 32 mbed.buildTestApps(testApps, "${currentBranch}")