mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-22 00:16:41 +06:00
move OPT_DEFS += -DKC_BLUETOOTH_ENABLE to bluetooth.mk
This commit is contained in:
parent
b9a3e3dd3c
commit
5856c95340
|
@ -1,3 +1,6 @@
|
|||
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
BLUETOOTH_DIR = bluetooth
|
||||
SRC += \
|
||||
$(BLUETOOTH_DIR)/bluetooth.c \
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": ["B0", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_108": {
|
||||
|
@ -263,4 +264,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": ["C15", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_90": {
|
||||
|
@ -122,4 +123,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": ["C15", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_tkl_ansi": {
|
||||
|
@ -124,4 +125,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": ["B0", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_84": {
|
||||
|
@ -311,4 +312,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": ["C15", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_84": {
|
||||
|
@ -311,4 +312,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": ["B0", "A7", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_100": {
|
||||
|
@ -247,4 +248,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_108": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_68": {
|
||||
|
@ -260,4 +261,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": ["C15", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_68": {
|
||||
|
@ -104,4 +105,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": ["B0", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -24,7 +24,8 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ansi_61": {
|
||||
|
@ -97,4 +98,4 @@
|
|||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
"manufacturer": "Keychron",
|
||||
"url": "https://github.com/Keychron",
|
||||
"maintainer": "lokher",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A10", "pin_b": "A0", "resolution": 4}
|
||||
]
|
||||
},
|
||||
"processor": "STM32L432",
|
||||
"bootloader": "stm32-dfu",
|
||||
"usb": {
|
||||
|
@ -32,7 +27,13 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A10", "pin_b": "A0", "resolution": 4}
|
||||
]
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "CKLED2001",
|
||||
|
@ -60,4 +61,4 @@
|
|||
"solid_splash": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
"manufacturer": "Keychron",
|
||||
"url": "https://github.com/Keychron",
|
||||
"maintainer": "lokher",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A10", "pin_b": "A0", "resolution": 4}
|
||||
]
|
||||
},
|
||||
"processor": "STM32L432",
|
||||
"bootloader": "stm32-dfu",
|
||||
"usb": {
|
||||
|
@ -31,7 +26,13 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A10", "pin_b": "A0", "resolution": 4}
|
||||
]
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "CKLED2001",
|
||||
|
@ -59,4 +60,4 @@
|
|||
"solid_splash": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
"manufacturer": "Keychron",
|
||||
"url": "https://github.com/Keychron",
|
||||
"maintainer": "lokher",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A10", "pin_b": "A0", "resolution": 4}
|
||||
]
|
||||
},
|
||||
"processor": "STM32L432",
|
||||
"bootloader": "stm32-dfu",
|
||||
"usb": {
|
||||
|
@ -32,7 +27,13 @@
|
|||
"matrix_pins": {
|
||||
"rows": ["B5", "B4", "B3", "A15", "A14", "A13"],
|
||||
"cols": [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null],
|
||||
"custom_lite": true
|
||||
"custom": true,
|
||||
"custom_lite": true
|
||||
},
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A10", "pin_b": "A0", "resolution": 4}
|
||||
]
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "CKLED2001",
|
||||
|
@ -60,4 +61,4 @@
|
|||
"solid_splash": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# Enter lower-power sleep mode when on the ChibiOS idle thread
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
OPT_DEFS += -DNO_USB_STARTUP_CHECK -DENABLE_FACTORY_TEST
|
||||
OPT_DEFS += -DKC_BLUETOOTH_ENABLE
|
||||
|
||||
SRC += matrix.c
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user