mirror of
https://github.com/stakwork/sphinx-key.git
synced 2026-02-21 23:54:24 +01:00
60 lines
801 B
Markdown
60 lines
801 B
Markdown
# sphinx-key
|
|
|
|
These notes were tested for macOS
|
|
|
|
### deps
|
|
|
|
`cd sphinx-key`
|
|
|
|
##### cargo nightly:
|
|
|
|
`rustup install nightly`
|
|
|
|
`rustup component add rust-src --toolchain nightly`
|
|
|
|
`rustup default nightly`
|
|
|
|
##### python 3.7 or higher is required
|
|
|
|
##### cargo sub-commands
|
|
|
|
`cargo install cargo-generate`
|
|
|
|
`cargo install ldproxy`
|
|
|
|
`cargo install espflash`
|
|
|
|
`cargo install espmonitor`
|
|
|
|
### build
|
|
|
|
`cargo build`
|
|
|
|
### flash
|
|
|
|
`espflash target/riscv32imc-esp-espidf/debug/sphinx-key`
|
|
|
|
### monitor
|
|
|
|
```sh
|
|
ls /dev/tty.*
|
|
ls /dev/cu.*
|
|
espmonitor /dev/tty.usbserial-1420
|
|
```
|
|
|
|
### clear NVS
|
|
|
|
espflash target/riscv32imc-esp-espidf/debug/clear
|
|
espmonitor /dev/tty.usbserial-1420
|
|
|
|
### cargo generate esp-rs
|
|
|
|
cargo generate --git https://github.com/esp-rs/esp-idf-template cargo
|
|
|
|
std support: true
|
|
|
|
v4.4
|
|
|
|
esp32c3
|
|
|
|
nightly |