Onekey: migrate some stuff to data driven (#18502)
This commit is contained in:
@@ -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
|
||||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
|
||||
|
Reference in New Issue
Block a user