pulga+gps
Dependencies: pulga-lorawan-drv SPI_MX25R Si1133 BME280
Revision 49:699a601deb79, committed 2019-03-06
- Comitter:
- mbed_official
- Date:
- Wed Mar 06 13:02:08 2019 +0000
- Parent:
- 48:dfce67eca082
- Child:
- 50:5293a23c7ba9
- Commit message:
- Merge pull request #127 from ARMmbed/toolchain_update
ARM builds as ARMC6 now, simplified toolchains
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-lorawan
Changed in this revision
Jenkinsfile | Show annotated file Show diff for this revision Revisions of this file |
--- a/Jenkinsfile Wed Feb 13 18:37:07 2019 +0000 +++ b/Jenkinsfile Wed Mar 06 13:02:08 2019 +0000 @@ -36,12 +36,11 @@ "MTB_RAK811" ] -// Map toolchains to compilers +// Supported toolchains def toolchains = [ - ARM: "armcc", - GCC_ARM: "arm-none-eabi-gcc", - IAR: "iar_arm", - ARMC6: "arm6" + "ARM", + "GCC_ARM", + "IAR" ] def stepsForParallel = [:] @@ -50,8 +49,7 @@ for (int i = 0; i < targets.size(); i++) { for(int j = 0; j < toolchains.size(); j++) { def target = targets.get(i) - def toolchain = toolchains.keySet().asList().get(j) - def compilerLabel = toolchains.get(toolchain) + def toolchain = toolchains.get(j) // Skip unwanted combination if (target == "MTB_MURATA_ABZ" && toolchain == "GCC_ARM") { @@ -66,7 +64,7 @@ def stepName = "${target} ${toolchain}" - stepsForParallel[stepName] = buildStep(target, compilerLabel, toolchain) + stepsForParallel[stepName] = buildStep(target, toolchain) } } @@ -81,10 +79,10 @@ parallel stepsForRegional } -def buildStep(target, compilerLabel, toolchain) { +def buildStep(target, toolchain) { return { - stage ("${target}_${compilerLabel}") { - node ("${compilerLabel}") { + stage ("${target}_${toolchain}") { + node ("${toolchain}") { deleteDir() dir("mbed-os-example-lorawan") { checkout scm @@ -141,7 +139,7 @@ def build_regions(regions) { return { stage ("region_builder_K64F_GCC_ARM") { - node ("arm-none-eabi-gcc") { + node ("GCC_ARM") { deleteDir() dir("mbed-os-example-lorawan") { checkout scm