Skip to content

Commit

Permalink
Add speculos hw emulator (#5)
Browse files Browse the repository at this point in the history
* speculos

* speculos

* speculos

* speculos

* speculos

* wip

* wip
  • Loading branch information
Fraccaman authored Sep 10, 2024
1 parent d195b96 commit 58309ba
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ namada:
RUN apt-get install -y pkg-config
RUN apt-get install -y gcc
RUN apt-get install -y parallel

# needed for speculos
RUN apt install -y \
git python3-pip pipx cmake gcc-arm-linux-gnueabihf libc6-dev-armhf-cross gdb-multiarch \
python3-pyqt5 python3-construct python3-flask-restful python3-jsonschema \
python3-mnemonic python3-pil python3-pyelftools python3-requests \
qemu-user-static libvncserver-dev

RUN pipx ensurepath
RUN pipx install speculos

RUN rustup toolchain install $toolchain-x86_64-unknown-linux-gnu --no-self-update --component clippy,rustfmt,rls,rust-analysis,rust-docs,rust-src,llvm-tools-preview
RUN rustup target add wasm32-unknown-unknown
Expand Down Expand Up @@ -112,4 +122,4 @@ wasm:
RUN mv wasm-opt /usr/local/bin
RUN chmod +x /usr/local/bin/wasm-opt

SAVE IMAGE --push ghcr.io/heliaxdev/namada-ci:wasm-latest ghcr.io/heliaxdev/namada-ci:wasm-main
SAVE IMAGE --push ghcr.io/heliaxdev/namada-ci:wasm-latest ghcr.io/heliaxdev/namada-ci:wasm-main
Binary file added artifacts/app_s2.elf
Binary file not shown.

0 comments on commit 58309ba

Please sign in to comment.