Verified Commit fea345d6 authored by John Naulty's avatar John Naulty
Browse files

Add setup info for linux (ubuntu)

Updates README and creates SETUP.md with instructions for getting the
environment setup and ready for playing with the trezor-crypto lib on
the M5Stack library.
parent 30a49bd6
......@@ -19,7 +19,7 @@ The meta-workshop "Black Crystal" at 36C3 has the aim to investigate the trezor-
- development of [BIP39](https://iancoleman.io/bip39/)-based examples
- improvements and extensions to the existing examples ([Shamir's Secret Sharing](https://github.com/fletcher/c-sss/blob/master/src/shamir.c))
- creating Monero keys and key derivation
- discussing other approaches, examples and workflows
- discussing other approaches, examples and workflows
* The road to a 'Monero protoyping' environment
- colleting Monero-related missing pieces in trezor-crypto: bulletproofs, et.al.
* Monero on embedded systems: the current state of things
......@@ -28,3 +28,8 @@ The meta-workshop "Black Crystal" at 36C3 has the aim to investigate the trezor-
- Rust and Rust Embedded
- Python
- other options
## Setup Instructions
Goto [SETUP.md](./SETUP.md)
# Dev Setup
## Linux
Requirements:
- arduino IDE (configured to work with esp32)
- pyserial
- git
Retrieve Arduino From their [software page](https://www.arduino.cc/en/Main/Software)
`wget https://downloads.arduino.cc/arduino-1.8.10-linux64.tar.xz`
Extract, review, and install
`tar xvf arduino-1.8.10-linux64.tar.xz`
`cd arduino-1.8.10; ./install.sh # after reviewing ./install.sh`
Add the additional boards:
`https://dl.espressif.com/dl/package_esp32_index.json`
Then go into `~/Arduino/libraries`
Then clone the m5stack repo:
`git clone git@github.com:m5stack/M5Stack.git`
**Tetris Test**
You should now be ready to Verify ('compile') and Upload ('flash') your first software.
You can use the gui to do this.
Open an `M5Stack` example `Files --> Open --> libraries --> examples --> Games --> Tetris` (yes, they have tetris)
**Working with Trezor Libs**
```
cd ~/Arduino
wget https://rmxwallet.io/files/m5stack.tar.gz
cd libraries/trezor-crypto
mv utility utility.identical.unused
mkdir unused
mv aescrypt.c aes_modes.c M5Display.* unused/
```
Open, Verify, and Upload `m5stack_trezor/m5stack_trezor.ino`
## Mac
## Windows
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment