Skip to content

Commit

Permalink
Pull request project-chip#1245: add 917 soc BRD4325C to release build…
Browse files Browse the repository at this point in the history
… as rps generate expects it

Merge in WMN_TOOLS/matter from brd4325c_release to silabs

Squashed commit of the following:

commit 84a29de4113039f70ce4ec43e6dcfed1b1aecc73
Author: Junior Martinez <[email protected]>
Date:   Sat Oct 14 18:43:05 2023 -0400

    add 917 soc BRD4325C to release build as rps generate expects it
  • Loading branch information
jmartinez-silabs committed Jan 9, 2024
1 parent d7a6672 commit 133b337
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def buildSilabsSensorApp()
def executeWifiBuild(exampleType, app, relPath, radioName, board, args, ota_automation, sleepyBoard )
{
// Boards for Code Size report
def codeSizeBoard = ["BRD4187C", "BRD4325B", "BRD4338A"]
def releaseBuildBoard = ["BRD4187C", "BRD4325B", "BRD4325C", "BRD4338A"]
def mg12Board = ["BRD4161A", "BRD4163A", "BRD4164A", "BRD4170A"]
def wifiSoCBoards = ["BRD4325B", "BRD4325C", "BRD4338A"]

Expand All @@ -447,7 +447,7 @@ def executeWifiBuild(exampleType, app, relPath, radioName, board, args, ota_auto
// Enable matter shell, on standard builds, with chip_build_libshell=true argument for SQA tests
sh "./scripts/examples/gn_silabs_example.sh ${exampleType}/${app}/${relPath}/ out/${app}_wifi_${radioName} ${board} ${args} chip_build_libshell=true"
}
if (codeSizeBoard.contains(board)){
if (releaseBuildBoard.contains(board)){
sh "./scripts/examples/gn_silabs_example.sh ${exampleType}/${app}/${relPath}/ out/${app}_wifi_${radioName}/release ${board} ${args} --release"
}
}
Expand All @@ -468,7 +468,7 @@ def moveWifiBinaries(app, board, radioName, ota_automation, sleepyBoard)
def fileTypesToMove = ["s37","map"]
def wifiSoCBoards = ["BRD4325B", "BRD4325C", "BRD4338A"]
// Boards for Code Size report
def codeSizeBoard = ["BRD4187C", "BRD4325B", "BRD4338A"]
def releaseBuildBoard = ["BRD4187C", "BRD4325B", "BRD4325C", "BRD4338A"]

if (wifiSoCBoards.contains(board))
{
Expand All @@ -491,7 +491,7 @@ def moveWifiBinaries(app, board, radioName, ota_automation, sleepyBoard)
sh """
ls; pwd; mkdir -p ${saved_workspace}/out/standard/${board}/WiFi; mkdir -p ${saved_workspace}/out/release/${board}/WiFi
cp out/${app}_wifi_${radioName}/${board}/*.${fileType} ${saved_workspace}/out/standard/${board}/WiFi/${platformAndRadio}-${appNameOnly}-example.${fileType} """
if (codeSizeBoard.contains(board)){
if (releaseBuildBoard.contains(board)){
sh """ cp out/${app}_wifi_${radioName}/release/${board}/*.${fileType} ${saved_workspace}/out/release/${board}/WiFi/${platformAndRadio}-${appNameOnly}-example.${fileType} """
}

Expand Down

0 comments on commit 133b337

Please sign in to comment.