1
Watch
0
Star
0
Fork
17
Issue

My custom firmware for the Corne keyboard

den-mentiei
den-mentiei
pushedAt 2 months ago

den-mentiei/bunretsu

分裂 Bunretsu!

My custom firmware for the Corne keyboard, written in Rust.

🚧 WIP 🚧

Setup

TODO

# macOS: pre-built bare-metal toolchain for 23-bit arms
$ brew install armmbed/formulae/arm-none-eabi-gcc

# installs the arm target
$ rustup target add thumbv7em-none-eabihf

Building

TODO

Running

TODO

Useful things

TODO

# sanity check
$ arm-none-eabi-readelf -A target/thumbv7em-none-eabihf/release/bunretsu

# how much space is used for what
$ arm-none-eabi-size -Ax target/thumbv7em-none-eabihf/release/bunretsu

# disasm it!
$ arm-none-eabi-objdump -d target/thumbv7em-none-eabihf/release/bunretsu

nice!nano

  • Adafruit nRF52 Bootloader (DFU/UF2 flashing)
  • nRF52840 chip on board, with 1 MB Flash and 256 KB RAM
  • Cortex™-M4 CPU 32-bit, with FPU, 64 Mhz
  • Bluetooth 5
  • pinout
  • nRF52840 product spec

Links