Skip to content

Commit

Permalink
[Telink] Use merged.bin always
Browse files Browse the repository at this point in the history
  • Loading branch information
s07641069 committed Sep 25, 2024
1 parent 5a25323 commit bcd44d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ jobs:
- name: clean out build output
run: rm -rf ./out

- name: Build example Telink (W91) Window Covering App\
- name: Build example Telink (W91) Window Covering App
continue-on-error: true
run: |
./scripts/run_in_build_env.sh \
Expand Down
4 changes: 4 additions & 0 deletions scripts/tools/telink/process_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,7 @@ def merge_binaries(input_file1, input_file2, output_file, offset):
# Merge Factory Data binary if configured
if build_conf.getboolean('CONFIG_CHIP_FACTORY_DATA_MERGE_WITH_FIRMWARE'):
merge_binaries('merged.bin', 'factory/factory_data.bin', 'merged.bin', build_conf['CONFIG_TELINK_FACTORY_DATA_PARTITION_ADDR'])

# Check if merged.bin was created by any enabled feature, otherwise symlink zephyr.bin
if not os.path.exists('merged.bin'):
os.symlink('zephyr.bin', 'merged.bin')

0 comments on commit bcd44d7

Please sign in to comment.