minor changes

This commit is contained in:
Nicolas Stalder 2019-01-04 02:02:27 +01:00
parent 2f9987a28a
commit 59503c775e
2 changed files with 5 additions and 3 deletions

View File

@ -72,12 +72,12 @@ uECC.o: ./crypto/micro-ecc/uECC.c
env2: env2:
virtualenv --python=python2.7 env2 virtualenv --python=python2.7 env2
env2/bin/pip install -r tools/requirements.txt env2/bin/pip install --upgrade -r tools/requirements.txt
env3: env3:
python3 -m venv env3 python3 -m venv env3
env3/bin/pip install -r tools/requirements.txt env3/bin/pip install --upgrade -r tools/requirements.txt
env3/bin/pip install black env3/bin/pip install --upgrade black
# selectively reformat our own code # selectively reformat our own code
black: env3 black: env3

View File

@ -47,6 +47,8 @@ make all-hacker
python ../../tools/programmer.py solo.hex python ../../tools/programmer.py solo.hex
``` ```
If you forgot the `--recurse-submodules` when cloning, simply `git submodule update --init --recursive`.
For example, if you want to turn off any blue light emission, you can edit [`led_rgb()`](https://github.com/SoloKeysSec/solo/blob/master/targets/stm32l442/src/led.c#L15) and force: For example, if you want to turn off any blue light emission, you can edit [`led_rgb()`](https://github.com/SoloKeysSec/solo/blob/master/targets/stm32l442/src/led.c#L15) and force:
``` ```
uint32_t b = 0; uint32_t b = 0;