mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 04:41:28 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
608ce78778
28
keyboards/kinesis/kint32/chconf.h
Normal file
28
keyboards/kinesis/kint32/chconf.h
Normal file
@ -0,0 +1,28 @@
|
||||
/* Copyright 2020 QMK
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
/*
|
||||
* This file was auto-generated by:
|
||||
* `qmk chibios-confmigrate -i keyboards/kinesis/kint32/chconf.h -r platforms/chibios/common/configs/chconf.h`
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define CH_CFG_ST_TIMEDELTA 0
|
||||
|
||||
#define CH_CFG_TIME_QUANTUM 20
|
||||
|
||||
#include_next <chconf.h>
|
19
keyboards/kinesis/kint32/config.h
Normal file
19
keyboards/kinesis/kint32/config.h
Normal file
@ -0,0 +1,19 @@
|
||||
/* Copyright 2020 QMK
|
||||
*
|
||||
* 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
|
||||
|
||||
#define EEPROM_SIZE 2048
|
125
keyboards/kinesis/kint32/keyboard.json
Normal file
125
keyboards/kinesis/kint32/keyboard.json
Normal file
@ -0,0 +1,125 @@
|
||||
{
|
||||
"manufacturer": "https://github.com/stapelberg",
|
||||
"keyboard_name": "kinT (kint32)",
|
||||
"bootloader": "halfkay",
|
||||
"build": {
|
||||
"debounce_type": "sym_eager_pk"
|
||||
},
|
||||
"debounce": 20,
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C7",
|
||||
"on_state": 0
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B3", "D1", "C0", "D5", "C1", "B2", "D4"],
|
||||
"rows": ["D3", "C3", "C4", "C6", "D2", "B0", "D7", "A12", "A13", "B17", "B16", "D0", "B1", "C2", "D6"]
|
||||
},
|
||||
"processor": "MK20DX256",
|
||||
"usb": {
|
||||
"device_version": "0.0.1",
|
||||
"max_power": 100,
|
||||
"pid": "0x345C",
|
||||
"vid": "0x1209"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"matrix": [12, 0], "x": 0, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [13, 0], "x": 0.7, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [14, 0], "x": 1.39, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [12, 1], "x": 2.09, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [13, 1], "x": 2.78, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [14, 1], "x": 3.48, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [12, 2], "x": 4.17, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [13, 2], "x": 4.87, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [14, 2], "x": 5.56, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [12, 3], "x": 9.25, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [13, 3], "x": 9.95, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [14, 3], "x": 10.64, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [12, 4], "x": 11.34, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [13, 4], "x": 12.03, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [14, 4], "x": 12.73, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [12, 5], "x": 13.42, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [14, 5], "x": 14.12, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [13, 5], "x": 14.81, "y": 0, "w": 0.69, "h": 0.85},
|
||||
{"matrix": [0, 0], "x": 0, "y": 1.25, "w": 1.25},
|
||||
{"matrix": [1, 0], "x": 1.25, "y": 1.25},
|
||||
{"matrix": [2, 0], "x": 2.25, "y": 1},
|
||||
{"matrix": [3, 0], "x": 3.25, "y": 1},
|
||||
{"matrix": [4, 0], "x": 4.25, "y": 1},
|
||||
{"matrix": [5, 0], "x": 5.25, "y": 1},
|
||||
{"matrix": [6, 0], "x": 9.25, "y": 1},
|
||||
{"matrix": [7, 0], "x": 10.25, "y": 1},
|
||||
{"matrix": [8, 0], "x": 11.25, "y": 1},
|
||||
{"matrix": [9, 0], "x": 12.25, "y": 1},
|
||||
{"matrix": [10, 0], "x": 13.25, "y": 1.25},
|
||||
{"matrix": [11, 0], "x": 14.25, "y": 1.25, "w": 1.25},
|
||||
{"matrix": [0, 1], "x": 0, "y": 2.25, "w": 1.25},
|
||||
{"matrix": [1, 1], "x": 1.25, "y": 2.25},
|
||||
{"matrix": [2, 1], "x": 2.25, "y": 2},
|
||||
{"matrix": [3, 1], "x": 3.25, "y": 2},
|
||||
{"matrix": [4, 1], "x": 4.25, "y": 2},
|
||||
{"matrix": [5, 1], "x": 5.25, "y": 2},
|
||||
{"matrix": [6, 1], "x": 9.25, "y": 2},
|
||||
{"matrix": [7, 1], "x": 10.25, "y": 2},
|
||||
{"matrix": [8, 1], "x": 11.25, "y": 2},
|
||||
{"matrix": [9, 1], "x": 12.25, "y": 2},
|
||||
{"matrix": [10, 1], "x": 13.25, "y": 2.25},
|
||||
{"matrix": [11, 1], "x": 14.25, "y": 2.25, "w": 1.25},
|
||||
{"matrix": [0, 2], "x": 0, "y": 3.25, "w": 1.25},
|
||||
{"matrix": [1, 2], "x": 1.25, "y": 3.25},
|
||||
{"matrix": [2, 2], "x": 2.25, "y": 3},
|
||||
{"matrix": [3, 2], "x": 3.25, "y": 3},
|
||||
{"matrix": [4, 2], "x": 4.25, "y": 3},
|
||||
{"matrix": [5, 2], "x": 5.25, "y": 3},
|
||||
{"matrix": [6, 2], "x": 9.25, "y": 3},
|
||||
{"matrix": [7, 2], "x": 10.25, "y": 3},
|
||||
{"matrix": [8, 2], "x": 11.25, "y": 3},
|
||||
{"matrix": [9, 2], "x": 12.25, "y": 3},
|
||||
{"matrix": [10, 2], "x": 13.25, "y": 3.25},
|
||||
{"matrix": [11, 2], "x": 14.25, "y": 3.25, "w": 1.25},
|
||||
{"matrix": [0, 3], "x": 0, "y": 4.25, "w": 1.25},
|
||||
{"matrix": [1, 3], "x": 1.25, "y": 4.25},
|
||||
{"matrix": [2, 3], "x": 2.25, "y": 4},
|
||||
{"matrix": [3, 3], "x": 3.25, "y": 4},
|
||||
{"matrix": [4, 3], "x": 4.25, "y": 4},
|
||||
{"matrix": [5, 3], "x": 5.25, "y": 4},
|
||||
{"matrix": [6, 3], "x": 9.25, "y": 4},
|
||||
{"matrix": [7, 3], "x": 10.25, "y": 4},
|
||||
{"matrix": [8, 3], "x": 11.25, "y": 4},
|
||||
{"matrix": [9, 3], "x": 12.25, "y": 4},
|
||||
{"matrix": [10, 3], "x": 13.25, "y": 4.25},
|
||||
{"matrix": [11, 3], "x": 14.25, "y": 4.25, "w": 1.25},
|
||||
{"matrix": [1, 4], "x": 1.25, "y": 5.25},
|
||||
{"matrix": [2, 4], "x": 2.25, "y": 5},
|
||||
{"matrix": [3, 4], "x": 3.25, "y": 5},
|
||||
{"matrix": [5, 4], "x": 4.25, "y": 5},
|
||||
{"matrix": [6, 4], "x": 10.25, "y": 5},
|
||||
{"matrix": [8, 4], "x": 11.25, "y": 5},
|
||||
{"matrix": [9, 4], "x": 12.25, "y": 5},
|
||||
{"matrix": [10, 4], "x": 13.25, "y": 5.25},
|
||||
{"matrix": [5, 6], "x": 5.25, "y": 6},
|
||||
{"matrix": [5, 5], "x": 6.25, "y": 6},
|
||||
{"matrix": [9, 6], "x": 8.25, "y": 6},
|
||||
{"matrix": [8, 5], "x": 9.25, "y": 6},
|
||||
{"matrix": [3, 5], "x": 6.25, "y": 7},
|
||||
{"matrix": [8, 6], "x": 8.25, "y": 7},
|
||||
{"matrix": [3, 6], "x": 4.25, "y": 7, "h": 2},
|
||||
{"matrix": [4, 6], "x": 5.25, "y": 7, "h": 2},
|
||||
{"matrix": [2, 5], "x": 6.25, "y": 8},
|
||||
{"matrix": [6, 6], "x": 8.25, "y": 8},
|
||||
{"matrix": [7, 5], "x": 9.25, "y": 7, "h": 2},
|
||||
{"matrix": [6, 5], "x": 10.25, "y": 7, "h": 2}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
27
keyboards/kinesis/kint32/kint32.c
Normal file
27
keyboards/kinesis/kint32/kint32.c
Normal file
@ -0,0 +1,27 @@
|
||||
/* Copyright 2020 QMK
|
||||
*
|
||||
* 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/>.
|
||||
*/
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LED_POWER C5
|
||||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
// Turn on the Teensy 3.2 Power LED:
|
||||
gpio_set_pin_output(LED_POWER);
|
||||
gpio_write_pin_high(LED_POWER);
|
||||
|
||||
keyboard_pre_init_user();
|
||||
}
|
51
keyboards/kinesis/kint32/mcuconf.h
Normal file
51
keyboards/kinesis/kint32/mcuconf.h
Normal file
@ -0,0 +1,51 @@
|
||||
/*
|
||||
ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef _MCUCONF_H_
|
||||
#define _MCUCONF_H_
|
||||
|
||||
#define K20x_MCUCONF
|
||||
|
||||
/*
|
||||
* HAL driver system settings.
|
||||
*/
|
||||
/* PEE mode - 48MHz system clock driven by (16 MHz) external crystal. */
|
||||
#define KINETIS_MCG_MODE KINETIS_MCG_MODE_PEE
|
||||
#define KINETIS_PLLCLK_FREQUENCY 96000000UL
|
||||
#define KINETIS_SYSCLK_FREQUENCY 48000000UL
|
||||
|
||||
/*
|
||||
* SERIAL driver system settings.
|
||||
*/
|
||||
#define KINETIS_SERIAL_USE_UART0 TRUE
|
||||
|
||||
/*
|
||||
* USB driver settings
|
||||
*/
|
||||
#define KINETIS_USB_USE_USB0 TRUE
|
||||
|
||||
/* Need to redefine this, since the default (configured for K20x) might not apply
|
||||
* 2 for Teensy LC
|
||||
* 5 for Teensy 3.x */
|
||||
#define KINETIS_USB_USB0_IRQ_PRIORITY 5
|
||||
|
||||
/*
|
||||
* I2C driver settings
|
||||
*/
|
||||
#define KINETIS_I2C_USE_I2C0 TRUE
|
||||
#define KINETIS_I2C_I2C0_PRIORITY 4
|
||||
|
||||
#endif /* _MCUCONF_H_ */
|
3
keyboards/kinesis/kint32/readme.md
Normal file
3
keyboards/kinesis/kint32/readme.md
Normal file
@ -0,0 +1,3 @@
|
||||
# kinesis_kint32 keyboard firmware
|
||||
|
||||
Please see https://github.com/kinx-project/kint for details.
|
Loading…
Reference in New Issue
Block a user