diff options
| author | hathach <[email protected]> | 2021-01-26 21:19:14 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-01-26 21:19:14 +0700 |
| commit | e230d683ca5ebda82da66935daa91661ad97c662 (patch) | |
| tree | 0b9f7743dc1ea2292b250f78e729943f1327566d /tools | |
| parent | 4a0f5cbd6332a9ae76dc2eea293024fab2c81885 (diff) | |
add copy-artifact target, and add uf2 for all family board
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/build_family.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/build_family.py b/tools/build_family.py index 4ef7201ed..9828ab8c4 100644 --- a/tools/build_family.py +++ b/tools/build_family.py @@ -73,6 +73,7 @@ def build_board(example, board): success = SUCCEEDED success_count += 1 (flash_size, sram_size) = build_size(example, board) + subprocess.run("make -j -C examples/{} BOARD={} copy-artifact".format(example, board), shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) else: exit_status = build_result.returncode success = FAILED |
