keychron_qmk_firmware/keyboard/preonic/README.md

26 lines
1.2 KiB
Markdown
Raw Normal View History

2016-03-30 10:46:45 +06:00
Preonic keyboard firmware
2015-08-21 20:46:53 +06:00
======================
2016-03-30 10:46:45 +06:00
DIY/Assembled compact ortholinear 50% keyboard by [Ortholinear Keyboards](http://ortholinearkeyboards.com).
2015-08-21 20:46:53 +06:00
2016-03-30 10:43:07 +06:00
## Quantum MK Firmware
2015-08-21 20:46:53 +06:00
2016-03-30 10:43:07 +06:00
For the full Quantum feature list, see [the parent README.md](/README.md).
2015-08-21 20:46:53 +06:00
2016-03-30 10:43:07 +06:00
## Building
2015-08-21 20:46:53 +06:00
2016-03-30 10:46:45 +06:00
Download or clone the whole firmware and navigate to the keyboard/preonic folder. Once your dev env is setup, you'll be able to type `make` to generate your .hex - you can then use `make dfu` to program your PCB once you hit the reset button.
2015-08-21 20:46:53 +06:00
Depending on which keymap you would like to use, you will have to compile slightly differently.
2016-03-30 10:43:07 +06:00
### Default
To build with the default keymap, simply run `make`.
2015-08-21 20:46:53 +06:00
2016-03-30 10:43:07 +06:00
### Other Keymaps
2016-03-30 19:17:06 +06:00
Several version of keymap are available in advance but you are recommended to define your favorite layout yourself. To define your own keymap, create a file in the keymaps folder named `<name>.c` and see keymap document (you can find in top README.md) and existent keymap files.
2015-08-21 20:46:53 +06:00
2016-03-30 10:43:07 +06:00
To build the firmware binary hex file with a keymap just do `make` with `KEYMAP` option like:
2015-08-21 20:46:53 +06:00
```
2016-03-30 10:43:07 +06:00
$ make KEYMAP=[default|jack|<name>]
2015-08-21 20:46:53 +06:00
```
2016-03-30 19:17:06 +06:00
Keymaps follow the format **__\<name\>.c__** and are stored in the `keymaps` folder.