[Keyboard] Refactor of onekey to support multiple development boards (#6017)
* Initial refactor of onekey to support multiple development boards * Fixes to get teensy lc && 3.2 working * Add pin tables * Add caveats to Teensy boards * Correct bootloader for Elite-C
This commit is contained in:
parent
01fb06af6c
commit
2a56b61a28
44 changed files with 4142 additions and 77 deletions
23
keyboards/handwired/onekey/proton_c/config.h
Normal file
23
keyboards/handwired/onekey/proton_c/config.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
/* 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 { A3 }
|
||||
#define MATRIX_ROW_PINS { A2 }
|
||||
#define UNUSED_PINS
|
3
keyboards/handwired/onekey/proton_c/readme.md
Normal file
3
keyboards/handwired/onekey/proton_c/readme.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Proton C onekey
|
||||
|
||||
To trigger keypress, short together pins *A3* and *A2*.
|
2
keyboards/handwired/onekey/proton_c/rules.mk
Normal file
2
keyboards/handwired/onekey/proton_c/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
# MCU name
|
||||
MCU = STM32F303
|
Loading…
Add table
Add a link
Reference in a new issue