diff options
| author | Damien George | 2014-05-03 17:46:45 +0100 |
|---|---|---|
| committer | Damien George | 2014-05-03 17:46:45 +0100 |
| commit | aad1204b8ed77a1466f03d848aa1c32dfff1dc24 (patch) | |
| tree | 169befa6d664849d8ef35aba4f83426a38722e81 /tools/build-stm-latest.sh | |
| parent | 51315614e1998b837079a1b256d0ca38220d619d (diff) | |
stmhal: Change names: flash to firmware, flashboard to deploy.
Since firmware lives in a build directory which already specifies the
board name, no real reason to also have the firmware have the board
name.
Diffstat (limited to 'tools/build-stm-latest.sh')
| -rwxr-xr-x | tools/build-stm-latest.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build-stm-latest.sh b/tools/build-stm-latest.sh index 951d8be9c..f0d639d10 100755 --- a/tools/build-stm-latest.sh +++ b/tools/build-stm-latest.sh @@ -24,8 +24,8 @@ git_hash="$(git rev-parse --short HEAD 2> /dev/null || echo unknown)" for board in PYBV3 PYBV10; do echo $board lower_board=$(echo $board | tr A-Z a-z) - build_dir=/tmp/stm-build-$lower_board + build_dir=/tmp/stm-build-$board make -B BOARD=$board BUILD=$build_dir || exit 1 - mv $build_dir/flash.dfu $dest_dir/$lower_board-$date-$git_hash.dfu + mv $build_dir/firmware.dfu $dest_dir/$lower_board-$date-$git_hash.dfu rm -rf $build_dir done |
