Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 50332f5

Browse files
author
iwahdan88
committed
Jenkins: Update
1 parent 40393da commit 50332f5

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Jenkinsfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ def buildVersion
22
def boards_to_build = ["WiPy", "LoPy", "SiPy", "GPy", "FiPy", "LoPy4"]
33
def variants_to_build = [ "BASE", "PYBYTES" ]
44
def boards_to_test = ["1b6fa1", "00ec51"]
5-
def open_thread = 'on'
5+
def open_thread
66

77
node {
88
// get pycom-esp-idf source
@@ -29,11 +29,14 @@ node {
2929
def parallelSteps = [:]
3030
for (variant in variants_to_build) {
3131
board_variant = board + "_" + variant
32-
open_thread = 'on'
33-
// disable openthread in case of FIPY Pybytes build as fw img exceeds memory avialable
34-
if ( variant == 'PYBYTES' && board == 'FiPy')
32+
open_thread = 'off'
33+
// Enable openthread in case of FIPY/LoPy4/LoPy BASE builds
34+
if (variant == 'BASE')
3535
{
36-
open_thread = 'off'
36+
if (board == 'FiPy' || board == 'LoPy4' || board == 'LoPy')
37+
{
38+
open_thread = 'on'
39+
}
3740
}
3841
parallelSteps[board_variant] = boardBuild(board, variant, open_thread)
3942
}

0 commit comments

Comments
 (0)