summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2020-03-19 11:52:37 -0700
committerCommit Bot <commit-bot@chromium.org>2020-05-07 06:08:45 +0000
commit6586dda0f619554169c905cd0a2eed3b227b2107 (patch)
treea8a4a4a6b427492d7af18b39e47709dc52e5a071
parentf7a387beb22193384309bfd9a199a84fad962a41 (diff)
downloadchrome-ec-6586dda0f619554169c905cd0a2eed3b227b2107.tar.gz
compare_build.sh: Add stm32f4 and stm32h7 board groups
BRANCH=none BUG=none TEST=./util/compare_build.sh -b "stm32f4 stm32h7" Signed-off-by: Craig Hesling <hesling@chromium.org> Change-Id: Ie7645300d3731bbd93449722b674b4806dff8063 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2110536 Reviewed-by: Tom Hughes <tomhughes@chromium.org>
-rwxr-xr-xutil/compare_build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/compare_build.sh b/util/compare_build.sh
index 95870c9941..43cd4b2649 100755
--- a/util/compare_build.sh
+++ b/util/compare_build.sh
@@ -14,6 +14,8 @@
# * all - All boards that are built by the "buildall" target
# * fp - All relevant boards for fingerprint
# * stm32 - All boards that use an STM32 chip
+# * stm32f4 - All boards that use an STM32F4 family of chip
+# * stm32h7 - All boards that use an STM32H7 family of chip
# * npcx - "
# * mchp - "
# * ish - "
@@ -107,6 +109,8 @@ parse-boards() {
[all]="$(make-print-boards)"
[fp]="dartmonkey bloonchipper nucleo-dartmonkey nucleo-h743zi"
[stm32]="$(boards-with 'CHIP[[:space:]:=]*stm32')"
+ [stm32f4]="$(boards-with 'CHIP_VARIANT[[:space:]:=]*stm32f4')"
+ [stm32h7]="$(boards-with 'CHIP_VARIANT[[:space:]:=]*stm32h7')"
[npcx]="$(boards-with 'CHIP[[:space:]:=]*npcx')"
[mchp]="$(boards-with 'CHIP[[:space:]:=]*mchp')"
[ish]="$(boards-with 'CHIP[[:space:]:=]*ish')"