add copy-artifact target, and add uf2 for all family board

This commit is contained in:
hathach
2021-01-26 21:19:14 +07:00
parent 4a0f5cbd63
commit e230d683ca
9 changed files with 51 additions and 14 deletions

View File

@@ -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