This commit is contained in:
Conor Patrick
2018-12-06 23:40:18 -05:00
parent 827a7da443
commit e360fa0097
3 changed files with 167 additions and 51 deletions

View File

@@ -1,34 +1,4 @@
# STM32L4xx Solo
This documents how to build the firmware for Solo for the STM32L4xx microcontroller.
# Building
First build the cbor library.
```bash
make cbor
```
Now build the Solo bootloader.
```
make boot
```
Now build the Solo application.
```
make clean # remove object files from bootloader, keep bootloader.hex
make
```
Merge the two files together. This script also patches a spot in memory to
allow the bootloader to boot the application. This memory spot is later used for
signed firmware updates.
```
python merge_hex.py solo.hex bootloader.hex all.hex
```
You can now program Solo with `all.hex`.
Check out our [official documentation](https://solo.solokeys.io/building/)
for instructions on building and programming!