Skip to content
Snippets Groups Projects
Commit 39a3becf authored by Guillaume Endignoux's avatar Guillaume Endignoux
Browse files

Address review comments.

parent 20f65f9d
Branches
No related tags found
Loading
......@@ -395,8 +395,9 @@ class OpenSKInstaller:
elf2tab_ver = self.checked_command_output(["elf2tab", "--version"]).split(
"\n", maxsplit=1)[0]
if elf2tab_ver != "elf2tab 0.5.0":
fatal("Unsupported elf2tab version {!a}. Please use 0.5.0.".format(
elf2tab_ver))
error(
("Detected unsupported elf2tab version {!a}. The following "
"commands may fail. Please use 0.5.0 instead.").format(elf2tab_ver))
os.makedirs(self.tab_folder, exist_ok=True)
tab_filename = os.path.join(self.tab_folder,
"{}.tab".format(self.args.application))
......
......@@ -90,4 +90,4 @@ pip3 install --user --upgrade 'tockloader~=1.4' six intelhex
rustup target add thumbv7em-none-eabi
# Install dependency to create applications.
cargo install elf2tab
cargo install elf2tab --version 0.5.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment