@ -1,3 +1,14 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Blackpill STM32F401" | |||||
"keyboard_name": "Onekey Blackpill STM32F401", | |||||
"development_board": "blackpill_f401", | |||||
"matrix_pins": { | |||||
"cols": ["B0"], | |||||
"rows": ["A7"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "A0" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A1" | |||||
} | |||||
} | } |
@ -1,8 +1 @@ | |||||
# MCU name | |||||
MCU = STM32F401 | |||||
BOARD = BLACKPILL_STM32_F401 | |||||
# Bootloader selection | |||||
BOOTLOADER = stm32-dfu | |||||
KEYBOARD_SHARED_EP = yes | KEYBOARD_SHARED_EP = yes |
@ -1,3 +1,14 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Blackpill STM32F411" | |||||
"keyboard_name": "Onekey Blackpill STM32F411", | |||||
"development_board": "blackpill_f411", | |||||
"matrix_pins": { | |||||
"cols": ["B0"], | |||||
"rows": ["A7"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "A0" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A1" | |||||
} | |||||
} | } |
@ -1,8 +1 @@ | |||||
# MCU name | |||||
MCU = STM32F411 | |||||
BOARD = BLACKPILL_STM32_F411 | |||||
# Bootloader selection | |||||
BOOTLOADER = stm32-dfu | |||||
KEYBOARD_SHARED_EP = yes | KEYBOARD_SHARED_EP = yes |
@ -1,3 +1,16 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Blackpill STM32F411 TinyUF2" | |||||
"keyboard_name": "Onekey Blackpill STM32F411 TinyUF2", | |||||
"processor": "STM32F411", | |||||
"bootloader": "tinyuf2", | |||||
"board": "BLACKPILL_STM32_F411", | |||||
"matrix_pins": { | |||||
"cols": ["B0"], | |||||
"rows": ["A7"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "A0" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A1" | |||||
} | |||||
} | } |
@ -1,8 +1 @@ | |||||
# MCU name | |||||
MCU = STM32F411 | |||||
BOARD = BLACKPILL_STM32_F411 | |||||
# Bootloader selection | |||||
BOOTLOADER = tinyuf2 | |||||
KEYBOARD_SHARED_EP = yes | KEYBOARD_SHARED_EP = yes |
@ -1,3 +1,14 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Bluepill STM32F103" | |||||
"keyboard_name": "Onekey Bluepill STM32F103", | |||||
"development_board": "bluepill", | |||||
"matrix_pins": { | |||||
"cols": ["B0"], | |||||
"rows": ["A7"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "A0" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A1" | |||||
} | |||||
} | } |
@ -1,8 +1,2 @@ | |||||
# MCU name | |||||
MCU = STM32F103 | |||||
# Bootloader selection | |||||
BOOTLOADER = stm32duino | |||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
@ -1,3 +1,15 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Bluepill STM32F103C6" | |||||
"keyboard_name": "Onekey Bluepill STM32F103C6", | |||||
"processor": "STM32F103", | |||||
"board": "STM32_F103_STM32DUINO", | |||||
"matrix_pins": { | |||||
"cols": ["B0"], | |||||
"rows": ["A7"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "A0" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A1" | |||||
} | |||||
} | } |
@ -1,3 +1,14 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Elite-C" | |||||
"keyboard_name": "Onekey Elite-C", | |||||
"development_board": "elite_c", | |||||
"matrix_pins": { | |||||
"cols": ["F4"], | |||||
"rows": ["F5"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "B6" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "F6" | |||||
} | |||||
} | } |
@ -1,5 +0,0 @@ | |||||
# MCU name | |||||
MCU = atmega32u4 | |||||
# Bootloader selection | |||||
BOOTLOADER = atmel-dfu |
@ -1,8 +0,0 @@ | |||||
// Copyright 2021 Nick Brassel (@tzarc) | |||||
// SPDX-License-Identifier: GPL-2.0-or-later | |||||
#pragma once | |||||
#include "config_common.h" | |||||
#define MATRIX_COL_PINS { B12 } | |||||
#define MATRIX_ROW_PINS { B13 } |
@ -1,3 +1,9 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey WB32F3G71 Eval" | |||||
"keyboard_name": "Onekey WB32F3G71 Eval", | |||||
"processor": "WB32F3G71", | |||||
"bootloader": "wb32-dfu", | |||||
"matrix_pins": { | |||||
"cols": ["B12"], | |||||
"rows": ["B13"] | |||||
} | |||||
} | } |
@ -1,9 +1,3 @@ | |||||
# MCU name | |||||
MCU = WB32F3G71 | |||||
# Bootloader selection | |||||
BOOTLOADER = wb32-dfu | |||||
MOUSEKEY_ENABLE = no # Mouse keys | MOUSEKEY_ENABLE = no # Mouse keys | ||||
EXTRAKEY_ENABLE = no # Audio control and System control | EXTRAKEY_ENABLE = no # Audio control and System control | ||||
NKRO_ENABLE = no # Enable N-Key Rollover | NKRO_ENABLE = no # Enable N-Key Rollover |
@ -1,8 +0,0 @@ | |||||
// Copyright 2021 Nick Brassel (@tzarc) | |||||
// SPDX-License-Identifier: GPL-2.0-or-later | |||||
#pragma once | |||||
#include "config_common.h" | |||||
#define MATRIX_COL_PINS { B12 } | |||||
#define MATRIX_ROW_PINS { B13 } |
@ -1,3 +1,9 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey WB32FQ95 Eval" | |||||
"keyboard_name": "Onekey WB32FQ95 Eval", | |||||
"processor": "WB32FQ95", | |||||
"bootloader": "wb32-dfu", | |||||
"matrix_pins": { | |||||
"cols": ["B12"], | |||||
"rows": ["B13"] | |||||
} | |||||
} | } |
@ -1,9 +1,3 @@ | |||||
# MCU name | |||||
MCU = WB32FQ95 | |||||
# Bootloader selection | |||||
BOOTLOADER = wb32-dfu | |||||
MOUSEKEY_ENABLE = no # Mouse keys | MOUSEKEY_ENABLE = no # Mouse keys | ||||
EXTRAKEY_ENABLE = no # Audio control and System control | EXTRAKEY_ENABLE = no # Audio control and System control | ||||
NKRO_ENABLE = no # Enable N-Key Rollover | NKRO_ENABLE = no # Enable N-Key Rollover |
@ -1,3 +1,11 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey KB2040" | |||||
"keyboard_name": "Onekey KB2040", | |||||
"development_board": "kb2040", | |||||
"matrix_pins": { | |||||
"cols": ["GP4"], | |||||
"rows": ["GP5"] | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A1" | |||||
} | |||||
} | } |
@ -1,9 +1,4 @@ | |||||
# MCU name | |||||
MCU = RP2040 | |||||
BOOTLOADER = rp2040 | |||||
OLED_ENABLE = yes | OLED_ENABLE = yes | ||||
OLED_DRIVER = SSD1306 | OLED_DRIVER = SSD1306 | ||||
OPT_DEFS += -DHAL_USE_I2C=TRUE | OPT_DEFS += -DHAL_USE_I2C=TRUE | ||||
@ -1,3 +1,15 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Nucleo L432KC" | |||||
"keyboard_name": "Onekey Nucleo L432KC", | |||||
"processor": "STM32L432", | |||||
"bootloader": "stm32-dfu", | |||||
"matrix_pins": { | |||||
"cols": ["A2"], | |||||
"rows": ["A1"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "B8" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A0" | |||||
} | |||||
} | } |
@ -1,5 +0,0 @@ | |||||
# MCU name | |||||
MCU = STM32L432 | |||||
# Bootloader selection | |||||
BOOTLOADER = stm32-dfu |
@ -1,25 +0,0 @@ | |||||
/* Copyright 2019 | |||||
* | |||||
* This program is free software: you can redistribute it and/or modify | |||||
* it under the terms of the GNU General Public License as published by | |||||
* the Free Software Foundation, either version 2 of the License, or | |||||
* (at your option) any later version. | |||||
* | |||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* | |||||
* You should have received a copy of the GNU General Public License | |||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||||
*/ | |||||
#pragma once | |||||
#include "quantum.h" | |||||
#define LAYOUT_ortho_1x1( \ | |||||
k00 \ | |||||
) { \ | |||||
{ k00 } \ | |||||
} |
@ -1,3 +1,14 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Pro Micro" | |||||
"keyboard_name": "Onekey Pro Micro", | |||||
"development_board": "promicro", | |||||
"matrix_pins": { | |||||
"cols": ["F4"], | |||||
"rows": ["F5"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "B6" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "F6" | |||||
} | |||||
} | } |
@ -1,5 +0,0 @@ | |||||
# MCU name | |||||
MCU = atmega32u4 | |||||
# Bootloader selection | |||||
BOOTLOADER = caterina |
@ -1,3 +1,14 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Proton-C" | |||||
"keyboard_name": "Onekey Proton-C", | |||||
"development_board": "proton_c", | |||||
"matrix_pins": { | |||||
"cols": ["A2"], | |||||
"rows": ["A1"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "B8" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A0" | |||||
} | |||||
} | } |
@ -1,6 +0,0 @@ | |||||
# MCU name | |||||
MCU = STM32F303 | |||||
BOARD = QMK_PROTON_C | |||||
# Bootloader selection | |||||
BOOTLOADER = stm32-dfu |
@ -1,3 +1,12 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey RP2040" | |||||
"keyboard_name": "Onekey RP2040", | |||||
"processor": "RP2040", | |||||
"bootloader": "rp2040", | |||||
"matrix_pins": { | |||||
"cols": ["GP4"], | |||||
"rows": ["GP5"] | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A1" | |||||
} | |||||
} | } |
@ -1,3 +0,0 @@ | |||||
# MCU name | |||||
MCU = RP2040 | |||||
BOOTLOADER = rp2040 |
@ -1,16 +1 @@ | |||||
# Build Options | |||||
# change yes to no to disable | |||||
# | |||||
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite | |||||
MOUSEKEY_ENABLE = yes # Mouse keys | |||||
EXTRAKEY_ENABLE = yes # Audio control and System control | |||||
CONSOLE_ENABLE = yes # Console for debug | |||||
COMMAND_ENABLE = no # Commands for debug and configuration | |||||
NKRO_ENABLE = yes # Enable N-Key Rollover | |||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | |||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | |||||
AUDIO_ENABLE = no # Audio output | |||||
DEFAULT_FOLDER = handwired/onekey/promicro | DEFAULT_FOLDER = handwired/onekey/promicro | ||||
LAYOUTS = ortho_1x1 |
@ -1,3 +1,16 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Sipeed Longan Nano" | |||||
"keyboard_name": "Onekey Sipeed Longan Nano", | |||||
"processor": "GD32VF103", | |||||
"bootloader": "gd32v-dfu", | |||||
"board": "SIPEED_LONGAN_NANO", | |||||
"matrix_pins": { | |||||
"cols": ["B0"], | |||||
"rows": ["A7"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "A1" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "A2" | |||||
} | |||||
} | } |
@ -1,11 +1 @@ | |||||
# MCU name | |||||
MCU = GD32VF103 | |||||
BOARD = SIPEED_LONGAN_NANO | |||||
# Bootloader selection | |||||
BOOTLOADER = gd32v-dfu | |||||
# Build Options | |||||
# change yes to no to disable | |||||
# | |||||
KEYBOARD_SHARED_EP = yes | KEYBOARD_SHARED_EP = yes |
@ -1,3 +1,15 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey STM32F072 Discovery" | |||||
"keyboard_name": "Onekey STM32F072 Discovery", | |||||
"processor": "STM32F072", | |||||
"bootloader": "stm32-dfu", | |||||
"matrix_pins": { | |||||
"cols": ["B4"], | |||||
"rows": ["B5"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "C8" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "B15" | |||||
} | |||||
} | } |
@ -1,8 +1,2 @@ | |||||
# MCU name | |||||
MCU = STM32F072 | |||||
# Bootloader selection | |||||
BOOTLOADER = stm32-dfu | |||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
@ -1,22 +0,0 @@ | |||||
/* Copyright 2019 | |||||
* | |||||
* This program is free software: you can redistribute it and/or modify | |||||
* it under the terms of the GNU General Public License as published by | |||||
* the Free Software Foundation, either version 2 of the License, or | |||||
* (at your option) any later version. | |||||
* | |||||
* This program is distributed in the hope that it will be useful, | |||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||||
* GNU General Public License for more details. | |||||
* | |||||
* You should have received a copy of the GNU General Public License | |||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | |||||
*/ | |||||
#pragma once | |||||
#include "config_common.h" | |||||
#define MATRIX_COL_PINS { C2 } | |||||
#define MATRIX_ROW_PINS { C3 } |
@ -1,3 +1,9 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Adafruit Feather STM32F405" | |||||
"keyboard_name": "Onekey Adafruit Feather STM32F405", | |||||
"processor": "STM32F405", | |||||
"bootloader": "stm32-dfu", | |||||
"matrix_pins": { | |||||
"cols": ["C2"], | |||||
"rows": ["C3"], | |||||
} | |||||
} | } |
@ -1,8 +1,2 @@ | |||||
# MCU name | |||||
MCU = STM32F405 | |||||
# Bootloader selection | |||||
BOOTLOADER = stm32-dfu | |||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
@ -1,3 +1,15 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Teensy 2.0" | |||||
"keyboard_name": "Onekey Teensy 2.0", | |||||
"processor": "atmega32u4", | |||||
"bootloader": "halfkay", | |||||
"matrix_pins": { | |||||
"cols": ["F4"], | |||||
"rows": ["F5"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "B6" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "F6" | |||||
} | |||||
} | } |
@ -1,5 +0,0 @@ | |||||
# MCU name | |||||
MCU = atmega32u4 | |||||
# Bootloader selection | |||||
BOOTLOADER = halfkay |
@ -1,3 +1,15 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Teensy 2.0++" | |||||
"keyboard_name": "Onekey Teensy 2.0++", | |||||
"processor": "at90usb1286", | |||||
"bootloader": "halfkay", | |||||
"matrix_pins": { | |||||
"cols": ["F4"], | |||||
"rows": ["F5"] | |||||
}, | |||||
"backlight": { | |||||
"pin": "B6" | |||||
}, | |||||
"rgblight": { | |||||
"pin": "F6" | |||||
} | |||||
} | } |
@ -1,5 +0,0 @@ | |||||
# MCU name | |||||
MCU = at90usb1286 | |||||
# Bootloader selection | |||||
BOOTLOADER = halfkay |
@ -1,3 +1,9 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Teensy 3.2" | |||||
"keyboard_name": "Onekey Teensy 3.2", | |||||
"processor": "MK20DX256", | |||||
"bootloader": "halfkay", | |||||
"matrix_pins": { | |||||
"cols": ["D5"], | |||||
"rows": ["B2"] | |||||
} | |||||
} | } |
@ -1,8 +1,2 @@ | |||||
# MCU name | |||||
MCU = MK20DX256 | |||||
# Bootloader selection | |||||
BOOTLOADER = halfkay | |||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
@ -1,3 +1,9 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Teensy 3.5" | |||||
"keyboard_name": "Onekey Teensy 3.5", | |||||
"processor": "MK64FX512", | |||||
"bootloader": "halfkay", | |||||
"matrix_pins": { | |||||
"cols": ["D5"], // 20/A6 | |||||
"rows": ["B2"] // 19/A5 | |||||
} | |||||
} | } |
@ -1,8 +1,2 @@ | |||||
# MCU name | |||||
MCU = MK64FX512 | |||||
# Bootloader selection | |||||
BOOTLOADER = halfkay | |||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
@ -1,3 +1,9 @@ | |||||
{ | { | ||||
"keyboard_name": "Onekey Teensy LC" | |||||
"keyboard_name": "Onekey Teensy LC", | |||||
"processor": "MKL26Z64", | |||||
"bootloader": "halfkay", | |||||
"matrix_pins": { | |||||
"cols": ["D5"], | |||||
"rows": ["B2"] | |||||
} | |||||
} | } |
@ -1,9 +1,4 @@ | |||||
# MCU name | |||||
MCU = MKL26Z64 | |||||
USE_CHIBIOS_CONTRIB = yes | USE_CHIBIOS_CONTRIB = yes | ||||
# Bootloader selection | |||||
BOOTLOADER = halfkay | |||||
# Enter lower-power sleep mode when on the ChibiOS idle thread | # Enter lower-power sleep mode when on the ChibiOS idle thread | ||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |