Update dependency and keyboard config instructions

People who are just reading the keyboard customization instructions might overread the dependencies installations sections.
Additionally, installing rustup for the first time requires sourcing cargo's env vars in case the firmware is flashed in the same shell session after installing rustup.
This commit is contained in:
Lars Alexander Blumberg
2021-04-26 00:05:04 +02:00
committed by Jeremy Soller
parent 606ba01b48
commit 7888f214bb
2 changed files with 7 additions and 0 deletions

View File

@ -18,3 +18,9 @@ Install dependencies using the provided script:
```
./scripts/deps.sh
```
The dependencies include `rustup` - if it wasn't installed on your system before and you plan to flash the firmware within the same shell session, you should additionally source the environment variables for cargo to avoid build failures:
```
source $HOME/.cargo/env
```

View File

@ -41,6 +41,7 @@ KEYMAP?=jeremy
```
## Test build your EC
* Make sure all dependencies are installed (see above).
* From the `ec` directory, run `make` to make sure it builds correctly.
## Flash your EC