Enable finer RGB brightness dial control on BCORNE firmware.
Lower RGB_MATRIX_VAL_STEP to 1, fix info.json syntax errors, and document the vial-qmk build path.
This commit is contained in:
@@ -89,6 +89,7 @@
|
||||
# define WS2812_DMA_CHANNEL 5 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
|
||||
//# define WS2812_DMAMUX_ID STM32_DMAMUX1_TIM2_UP // DMAMUX configuration for TIMx_UP -- only required if your MCU has a DMAMUX peripheral, see the respective reference manual for the appropriate values for your MCU.
|
||||
#define RGB_MATRIX_SLEEP
|
||||
#define RGB_MATRIX_VAL_STEP 1
|
||||
|
||||
#define WEAR_LEVELING_LOGICAL_SIZE 2048
|
||||
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
|
||||
|
||||
@@ -123,12 +123,10 @@
|
||||
|
||||
|
||||
{"matrix": [9, 1], "x": 8, "y": 3.7},
|
||||
{"matrix": [9, 2], "x": 9, "y": 3.7}
|
||||
{"matrix": [9, 3], "x": 8, "y": 0.2},
|
||||
|
||||
|
||||
{"matrix": [9, 2], "x": 9, "y": 3.7},
|
||||
{"matrix": [9, 3], "x": 8, "y": 0.2}
|
||||
]
|
||||
},
|
||||
}
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "pwm",
|
||||
@@ -140,6 +138,7 @@
|
||||
"split": true,
|
||||
"split_count": [29, 29],
|
||||
"max_brightness": 50,
|
||||
"val_steps": 1,
|
||||
"animations": {
|
||||
"alphas_mods": true,
|
||||
"gradient_up_down": true,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
{
|
||||
"keyboard_name": "left"
|
||||
}
|
||||
s
|
||||
|
||||
@@ -1 +1,57 @@
|
||||
# BCORNE firmware (DH747 / STM32F401)
|
||||
|
||||
Keyboard target: `sh01/m36:via`
|
||||
|
||||
## Prerequisites
|
||||
|
||||
1. Install [QMK CLI 1.2.0](https://docs.qmk.fm/#/cli) (or QMK MSYS on Windows).
|
||||
2. Clone vial-qmk at the IFKB-pinned commit:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/vial-kb/vial-qmk.git
|
||||
cd vial-qmk
|
||||
git checkout fcd56b119ea8c60142c9a03e997be5a7acba52b7
|
||||
make git-submodule
|
||||
```
|
||||
|
||||
## Install this keyboard port
|
||||
|
||||
Copy the contents of this folder into vial-qmk:
|
||||
|
||||
```bash
|
||||
mkdir -p keyboards/sh01/m36
|
||||
cp -r /path/to/kb-layouts/corne/firmware/* keyboards/sh01/m36/
|
||||
```
|
||||
|
||||
The make target comes from that path: `keyboards/sh01/m36` → `sh01/m36:via`.
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
make sh01/m36:via
|
||||
```
|
||||
|
||||
Output: `sh01_m36_via.uf2` in the vial-qmk root.
|
||||
|
||||
## Flash
|
||||
|
||||
Flash **both halves** with the same UF2 file:
|
||||
|
||||
1. Connect the half to USB (left half is the normal USB host side).
|
||||
2. Double-tap the reset button (not single tap).
|
||||
3. A drive named `IFKB` should appear.
|
||||
4. Drag the `.uf2` file onto the drive.
|
||||
5. Repeat for the other half.
|
||||
|
||||
After flashing, load `../corne.vil` in Vial to restore your keymap.
|
||||
|
||||
## RGB brightness dial
|
||||
|
||||
Brightness step size is controlled in `config.h`:
|
||||
|
||||
```c
|
||||
#define RGB_MATRIX_VAL_STEP 1
|
||||
```
|
||||
|
||||
With `max_brightness: 50` in `info.json`, step `1` gives 51 brightness levels.
|
||||
Increase to `2` or `4` if the dial feels too slow.
|
||||
|
||||
Reference in New Issue
Block a user