Skip to content

Commit b10460b

Browse files
committed
Address review comments.
1 parent 20f65f9 commit b10460b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

deploy.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,8 +395,9 @@ def create_tab_file(self, binaries):
395395
elf2tab_ver = self.checked_command_output(["elf2tab", "--version"]).split(
396396
"\n", maxsplit=1)[0]
397397
if elf2tab_ver != "elf2tab 0.5.0":
398-
fatal("Unsupported elf2tab version {!a}. Please use 0.5.0.".format(
399-
elf2tab_ver))
398+
error(
399+
"Detected unsupported elf2tab version {!a}. The following commands may fail. Please use 0.5.0 instead."
400+
.format(elf2tab_ver))
400401
os.makedirs(self.tab_folder, exist_ok=True)
401402
tab_filename = os.path.join(self.tab_folder,
402403
"{}.tab".format(self.args.application))

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,4 @@ pip3 install --user --upgrade 'tockloader~=1.4' six intelhex
9090
rustup target add thumbv7em-none-eabi
9191

9292
# Install dependency to create applications.
93-
cargo install elf2tab
93+
cargo install elf2tab --version 0.5.0

0 commit comments

Comments
 (0)