Skip to content

Commit 563c0a6

Browse files
committed
Fix board name list creation
Due to boards.txt changed Signed-off-by: Frederic.Pillon <[email protected]>
1 parent f9b9104 commit 563c0a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STM32/src/dopackage.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ generateCorePackage()
248248
updateJsonBoardName()
249249
{
250250
local tmp=$IFS
251-
local lb=`grep -E ".+\.menu\.[^\.]+\.[^\.]+=" $1/boards.txt | grep -v upload | cut -d'=' -f2`
251+
local lb=`grep -E ".+\.menu\.board_part_num\.[^\.]+=" $1/boards.txt | cut -d'=' -f2`
252252
if [ "$lb" == "" ]; then
253253
lb=`grep "\.name" $1/boards.txt | cut -d'=' -f2`
254254
fi

0 commit comments

Comments
 (0)