forked from sreejithkaimal/hedera-ledger-app
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild_elfs.sh
executable file
·14 lines (12 loc) · 1.38 KB
/
build_elfs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Nano S
podman run -v $PWD:/app --platform linux/amd64 -e PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python -e BOLOS_SDK=/opt/nanos-secure-sdk -it ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest make clean;
podman run -v $PWD:/app --platform linux/amd64 -e PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python -e BOLOS_SDK=/opt/nanos-secure-sdk -it ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest make;
cp bin/app.elf tests/elfs/hedera_nanos.elf;
# Nano X
podman run -v $PWD:/app --platform linux/amd64 -e PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python -e BOLOS_SDK=/opt/nanox-secure-sdk -it ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest make clean;
podman run -v $PWD:/app --platform linux/amd64 -e PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python -e BOLOS_SDK=/opt/nanox-secure-sdk -it ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest make;
cp bin/app.elf tests/elfs/hedera_nanox.elf;
# Nano S Plus
podman run -v $PWD:/app --platform linux/amd64 -e PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python -e BOLOS_SDK=/opt/nanosplus-secure-sdk -it ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest make clean;
podman run -v $PWD:/app --platform linux/amd64 -e PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python -e BOLOS_SDK=/opt/nanosplus-secure-sdk -it ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest make;
cp bin/app.elf tests/elfs/hedera_nanosp.elf;