Skip to content

Commit

Permalink
Fix flashbundle error in infineon. Ensure CI will catch this in the f…
Browse files Browse the repository at this point in the history
…uture (#12744)
  • Loading branch information
andy31415 authored and pull[bot] committed Jan 7, 2022
1 parent 95d79e3 commit 6572796
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/examples-infineon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,23 +61,38 @@ jobs:
timeout-minutes: 10
run: |
scripts/run_in_build_env.sh \
"scripts/build/build_examples.py --no-log-timestamps --target 'infineon-p6-lock' build"
"scripts/build/build_examples.py \
--enable-flashbundle --no-log-timestamps \
--target infineon-p6-lock \
build \
--copy-artifacts-to out/artifacts \
"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
p6 default lock-app \
out/infineon-p6-lock/chip-p6-lock-example.out
- name: Build all-clusters-app example
timeout-minutes: 10
run: |
scripts/run_in_build_env.sh \
"scripts/build/build_examples.py --no-log-timestamps --target 'infineon-p6-all-clusters' build"
"scripts/build/build_examples.py \
--enable-flashbundle --no-log-timestamps \
--target infineon-p6-all-clusters \
build \
--copy-artifacts-to out/artifacts \
"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
p6 default all-clusters-app \
out/infineon-p6-all-clusters/chip-p6-clusters-example.out
- name: Build lighting-app example
timeout-minutes: 10
run: |
scripts/run_in_build_env.sh \
"scripts/build/build_examples.py --no-log-timestamps --target 'infineon-p6-light' build"
"scripts/build/build_examples.py \
--enable-flashbundle --no-log-timestamps \
--target infineon-p6-light \
build \
--copy-artifacts-to out/artifacts \
"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
p6 default light-app \
out/infineon-p6-light/chip-p6-lighting-example.out
Expand Down
2 changes: 1 addition & 1 deletion scripts/build/builders/infineon.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def FlashBundleName(self):
elif self == InfineonApp.ALL_CLUSTERS:
return 'clusters_app.flashbundle.txt'
elif self == InfineonApp.LIGHT:
return 'light_app.flashbundle.txt'
return 'lighting_app.flashbundle.txt'
else:
raise Exception('Unknown app type: %r' % self)

Expand Down

0 comments on commit 6572796

Please sign in to comment.