onyx/README.md

36 lines
669 B
Markdown
Raw Normal View History

2020-01-26 05:42:26 +00:00
# Onyx Keyboard Firmware
2020-01-25 20:49:11 +00:00
This section intentionally left blank
2020-01-25 20:49:11 +00:00
2020-01-26 05:42:26 +00:00
## Setup
If you're running Linux, make sure you are part of the group for the character
device that the board is connected to.
For example, the device in bootloader mode appears as `/dev/ttyACM0`:
```bash
crw-rw---- 1 root uucp 166, 0 Jan 26 00:40 /dev/ttyACM0
```
You will need to add yourself to the group if you aren't part of it already, and
log back in:
```bash
sudo usermod -a -G uucp $(whoami)
```
Then, follow the rest below:
2020-01-25 20:49:11 +00:00
```bash
# Install toolchains
trizen -S arm-none-eabi-binutils bossa
rustup target add thumbv6m-none-eabi
2020-01-25 20:49:11 +00:00
# Build
make
2020-01-25 20:49:11 +00:00
# Upload to metro m0 board
make upload
2020-01-25 20:49:11 +00:00
```