Update the firmware section of each keyboard

This commit is contained in:
foostan
2020-11-03 15:18:38 +09:00
parent 7427f9c9cd
commit 22f12ceffb
8 changed files with 35 additions and 290 deletions

View File

@@ -37,10 +37,8 @@ This is the build guide for Corne Chocolate.
| SK6812MINI | 54 | 42 for backlight, 12 for under-glow |
## Preparation
It is recommended to [flash the firmware](#firmware) onto the Pro Micro before doing anything else,
as it is time-consuming to prepare the environment for building it,
and doing it in the middle of the soldering process is a hassle.
If you build the firmware yourself, it will take some time to set up the environment, so it's best to start at the beginning. \
For more information, please see https://github.com/foostan/crkbd/blob/master/doc/firmware_jp.md.
## Building
@@ -254,41 +252,8 @@ because it looks better.
![](https://user-images.githubusercontent.com/736191/52534914-00e19a80-2d8b-11e9-8005-7e0b157e09e4.png)
## Firmware
Refer to [the QMK _getting started_ guide](https://docs.qmk.fm/#/newbs_getting_started),
and install the necessary software according to your OS
(it takes quite some time to install).
Once the environment is ready,
build the firmware for Crkbd with the following command.
```
make crkbd: default
```
When the build is completed,
execute the following command.
```
make crkbd: default: avrdude
```
When you execute it,
you will see the following log,
and you can progress by `.`s appearing.
Press the reset switch **twice** during this time to complete the firmware writing.
```
<Omitted>
Checking file size of crkbd_rev1_default.hex [OK]
* File size is fine-27328/28672
Copying crkbd_rev1_default.hex to qmk_firmware folder [OK]
Detecting USB port, reset your controller now ........
```
Once the firmware has been written to one side of the Pro Micro,
follow the same procedure for the other side.
See below to flash the firmware to the ProMicro. \
https://github.com/foostan/crkbd/blob/master/doc/firmware_jp.md
This is the end.

View File

@@ -34,8 +34,8 @@
| SK6812MINI | 54個 | 上向き実装 42個、下向き実装 12個 |
## 事前準備
実装の途中でProMicroにファームを入れる作業がありますが、ファームをビルドする環境を整備するの時間がかかるのではじめに取り掛かっておくことをおすすめします。
https://docs.qmk.fm/#/newbs_getting_started こちら等を参考にし、OSに合わせて必要なものをインストールしておきます(インストールに時間がかかるため動かしつつ実装を進めると効率的です)
ファームウェアを自分でビルドする場合は環境を整備するの時間がかかるのではじめに取り掛かっておくことをおすすめします。\
詳しくは https://github.com/foostan/crkbd/blob/master/doc/firmware_jp.md を参照してください
## 実装
@@ -191,33 +191,8 @@ LEDはつずつはんだづけを行いますが、一度につ行わず
![33](https://user-images.githubusercontent.com/736191/52534914-00e19a80-2d8b-11e9-8005-7e0b157e09e4.png)
## ファームウェア
https://docs.qmk.fm/#/newbs_getting_started こちらを参照して頂き、ファームウェアを書き込む環境を用意します。
環境ができましたら、下記コマンドで Crkbd 用にファームウェアをビルドします。
```
make crkbd:default
```
ビルドが完了したら下記コマンドを実行します。
```
make crkbd:default:avrdude
```
実行すると下記のようなログがでて、`.` が増えていくことが確認出来ると思います。
この間にリセットスイッチを **2回** 押すとファームウェアの書き込みが完了します。
```
<省略>
Checking file size of crkbd_rev1_default.hex [OK]
* File size is fine - 27328/28672
Copying crkbd_rev1_default.hex to qmk_firmware folder [OK]
Detecting USB port, reset your controller now........
```
片側のProMicroにファームウェアの書き込みが完了したら、もう片方も同じ手順で書き込みを行います。
下記を参照しファームウェアをProMicroに書き込みます。\
https://github.com/foostan/crkbd/blob/master/doc/firmware_jp.md
以上で完成です。