mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-04 15:06:49 +06:00
Move MCU and bootloader definitions into info.json
This commit is contained in:
parent
06bcc1cce5
commit
eaf047a65c
|
@ -8,15 +8,11 @@ A customizable 100% keyboard.
|
||||||
|
|
||||||
Make example for this keyboard (after setting up your build environment):
|
Make example for this keyboard (after setting up your build environment):
|
||||||
|
|
||||||
```base
|
|
||||||
make keychron/v6/v6_ansi_stm32l432:default
|
make keychron/v6/v6_ansi_stm32l432:default
|
||||||
```
|
|
||||||
|
|
||||||
Flashing example for this keyboard:
|
Flashing example for this keyboard:
|
||||||
|
|
||||||
```base
|
|
||||||
make keychron/v6/v6_ansi_stm32l432:flash
|
make keychron/v6/v6_ansi_stm32l432:flash
|
||||||
```
|
|
||||||
|
|
||||||
**Reset Key**: Hold down the key located at *K00*, commonly programmed as *Esc* while plugging in the keyboard.
|
**Reset Key**: Hold down the key located at *K00*, commonly programmed as *Esc* while plugging in the keyboard.
|
||||||
|
|
||||||
|
|
|
@ -136,4 +136,18 @@ bool led_update_kb(led_t led_state) {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CAPS_LOCK_LED_INDEX or NUM_LOCK_LED_INDEX
|
#endif // CAPS_LOCK_LED_INDEX
|
||||||
|
|
||||||
|
#ifdef ENCODER_ENABLE
|
||||||
|
bool encoder_update_kb(uint8_t index, bool clockwise) {
|
||||||
|
if (!encoder_update_user(index, clockwise)) { return false; }
|
||||||
|
if (index == 0) {
|
||||||
|
if (clockwise) {
|
||||||
|
tap_code_delay(KC_VOLU, 10);
|
||||||
|
} else {
|
||||||
|
tap_code_delay(KC_VOLD, 10);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -8,6 +8,8 @@
|
||||||
"pid": "0x0360",
|
"pid": "0x0360",
|
||||||
"device_version": "1.0.3"
|
"device_version": "1.0.3"
|
||||||
},
|
},
|
||||||
|
"processor": "STM32L432",
|
||||||
|
"bootloader": "stm32-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_ansi_108": {
|
"LAYOUT_ansi_108": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
# MCU name
|
|
||||||
MCU = STM32L432
|
|
||||||
|
|
||||||
# Bootloader selection
|
|
||||||
BOOTLOADER = stm32-dfu
|
|
||||||
|
|
||||||
# Build Options
|
# Build Options
|
||||||
# change yes to no to disable.
|
# change yes to no to disable.
|
||||||
#
|
#
|
||||||
|
|
|
@ -6,8 +6,10 @@
|
||||||
"usb": {
|
"usb": {
|
||||||
"vid": "0x3434",
|
"vid": "0x3434",
|
||||||
"pid": "0x0361",
|
"pid": "0x0361",
|
||||||
"device_version": "1.0.2"
|
"device_version": "1.0.3"
|
||||||
},
|
},
|
||||||
|
"processor": "STM32L432",
|
||||||
|
"bootloader": "stm32-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_ansi_109": {
|
"LAYOUT_ansi_109": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
# MCU name
|
|
||||||
MCU = STM32L432
|
|
||||||
|
|
||||||
# Bootloader selection
|
|
||||||
BOOTLOADER = stm32-dfu
|
|
||||||
|
|
||||||
# Build Options
|
# Build Options
|
||||||
# change yes to no to disable.
|
# change yes to no to disable.
|
||||||
#
|
#
|
||||||
|
|
|
@ -6,8 +6,10 @@
|
||||||
"usb": {
|
"usb": {
|
||||||
"vid": "0x3434",
|
"vid": "0x3434",
|
||||||
"pid": "0x0362",
|
"pid": "0x0362",
|
||||||
"device_version": "1.0.2"
|
"device_version": "1.0.3"
|
||||||
},
|
},
|
||||||
|
"processor": "STM32L432",
|
||||||
|
"bootloader": "stm32-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_iso_109": {
|
"LAYOUT_iso_109": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
# MCU name
|
|
||||||
MCU = STM32L432
|
|
||||||
|
|
||||||
# Bootloader selection
|
|
||||||
BOOTLOADER = stm32-dfu
|
|
||||||
|
|
||||||
# Build Options
|
# Build Options
|
||||||
# change yes to no to disable.
|
# change yes to no to disable.
|
||||||
#
|
#
|
||||||
|
|
|
@ -6,8 +6,10 @@
|
||||||
"usb": {
|
"usb": {
|
||||||
"vid": "0x3434",
|
"vid": "0x3434",
|
||||||
"pid": "0x0363",
|
"pid": "0x0363",
|
||||||
"device_version": "1.0.1"
|
"device_version": "1.0.2"
|
||||||
},
|
},
|
||||||
|
"processor": "STM32L432",
|
||||||
|
"bootloader": "stm32-dfu",
|
||||||
"layouts": {
|
"layouts": {
|
||||||
"LAYOUT_iso_110": {
|
"LAYOUT_iso_110": {
|
||||||
"layout": [
|
"layout": [
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
# MCU name
|
|
||||||
MCU = STM32L432
|
|
||||||
|
|
||||||
# Bootloader selection
|
|
||||||
BOOTLOADER = stm32-dfu
|
|
||||||
|
|
||||||
# Build Options
|
# Build Options
|
||||||
# change yes to no to disable.
|
# change yes to no to disable.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue
Block a user