Skip to content

Commit

Permalink
f README
Browse files Browse the repository at this point in the history
  • Loading branch information
devrandom committed May 15, 2021
1 parent d256def commit 866016d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions embedded/README.md
@@ -0,0 +1,25 @@
# Running

To run the embedded test, first prepare your environment:

```shell
sudo ./scripts/install-deps
rustup target add thumbv7m-none-eabi
```

Then:

```shell
source ./scripts/env.sh && cargo run --target thumbv7m-none-eabi
```

Output should be something like:

```text
heap size 524288
secp buf size 66240
Seed WIF: L1HKVVLHXiUhecWnwFYF6L3shkf1E12HUmuZTESvBXUdx3yqVP1D
Address: bc1qpx9t9pzzl4qsydmhyt6ctrxxjd4ep549np9993
```

Note that this heap size is required because of the amount of stack used by libsecp256k1 when initializing a context.

0 comments on commit 866016d

Please sign in to comment.