Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mryndzionek/keyberon-atreus

Keyboard firmware for my Atreus-like keyboard written in Rust and using Keyberon
https://github.com/mryndzionek/keyberon-atreus

embedded-rust keyberon keyboard keyboard-firmware rust rust-lang

Last synced: 2 months ago
JSON representation

Keyboard firmware for my Atreus-like keyboard written in Rust and using Keyberon

Awesome Lists containing this project

README

        

# `keyberon-atreus`

[![Rust](https://github.com/mryndzionek/keyberon-atreus/actions/workflows/rust.yml/badge.svg)](https://github.com/mryndzionek/keyberon-atreus/actions/workflows/rust.yml)

![atreus52ct](https://raw.githubusercontent.com/mryndzionek/kbdSVGGen/master/images/atreus52ct_a_edited.png)

> [Keyberon](https://github.com/TeXitoi/keyberon) configuration
for my Atreus-like keyboards ([generator](https://github.com/mryndzionek/kbdSVGGen),
[first build](https://gist.github.com/mryndzionek/0fb397242e55262d831ccf3e8f38dcb0))
) using [`probe-run`] + [`defmt`] + [`flip-link`]

[`probe-run`]: https://crates.io/crates/probe-run
[`defmt`]: https://github.com/knurling-rs/defmt
[`flip-link`]: https://github.com/knurling-rs/flip-link

## Dependencies

#### 1. `flip-link`:

```console
$ cargo install flip-link
```

#### 2. `probe-run`:

```console
$ # make sure to install v0.2.0 or later
$ cargo install probe-run
```

## Build

#### Building for debug probe

Make sure to copy `memory.x.debug` to `memory.x` and then:

```console
cargo build --bin keyboard
```

or

```console
cargo run --bin keyboard
```

#### Building release version for bootloader

Make sure to copy `memory.x.bootlader` to `memory.x` and then:

```console
cargo objcopy --bin keyboard --release -- -O binary keyboard.bin
```

### Flashing via bootloader

```console
dfu-util -d 1eaf:0003 -D keyboard.bin -R -a2
```