Bump elf2tab to 0.6.0
This commit is contained in:
@@ -30,7 +30,7 @@ with_ctap1 = ["crypto/with_ctap1"]
|
|||||||
with_ctap2_1 = []
|
with_ctap2_1 = []
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
elf2tab = "0.4.0"
|
elf2tab = "0.6.0"
|
||||||
enum-iterator = "0.6.0"
|
enum-iterator = "0.6.0"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -406,10 +406,10 @@ class OpenSKInstaller:
|
|||||||
self.args.application))
|
self.args.application))
|
||||||
elf2tab_ver = self.checked_command_output(["elf2tab", "--version"]).split(
|
elf2tab_ver = self.checked_command_output(["elf2tab", "--version"]).split(
|
||||||
"\n", maxsplit=1)[0]
|
"\n", maxsplit=1)[0]
|
||||||
if elf2tab_ver != "elf2tab 0.5.0":
|
if elf2tab_ver != "elf2tab 0.6.0":
|
||||||
error(
|
error(
|
||||||
("Detected unsupported elf2tab version {!a}. The following "
|
("Detected unsupported elf2tab version {!a}. The following "
|
||||||
"commands may fail. Please use 0.5.0 instead.").format(elf2tab_ver))
|
"commands may fail. Please use 0.6.0 instead.").format(elf2tab_ver))
|
||||||
os.makedirs(self.tab_folder, exist_ok=True)
|
os.makedirs(self.tab_folder, exist_ok=True)
|
||||||
tab_filename = os.path.join(self.tab_folder,
|
tab_filename = os.path.join(self.tab_folder,
|
||||||
"{}.tab".format(self.args.application))
|
"{}.tab".format(self.args.application))
|
||||||
|
|||||||
2
setup.sh
2
setup.sh
@@ -42,4 +42,4 @@ pip3 install --user --upgrade 'tockloader==1.5' six intelhex
|
|||||||
rustup target add thumbv7em-none-eabi
|
rustup target add thumbv7em-none-eabi
|
||||||
|
|
||||||
# Install dependency to create applications.
|
# Install dependency to create applications.
|
||||||
cargo install elf2tab --version 0.5.0
|
cargo install elf2tab --version 0.6.0
|
||||||
|
|||||||
Reference in New Issue
Block a user