Move LED indicator config to data driven (#19800)

This commit is contained in:
Ryan
2023-02-17 13:14:29 +11:00
committed by GitHub
parent d784f78bd0
commit f4ba17c4a0
979 changed files with 1935 additions and 2171 deletions

View File

@@ -1,16 +0,0 @@
/* Copyright 2022 Harrison Chan (Xelus)
*
* 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/>.
*/

View File

@@ -31,8 +31,5 @@
// Locking resynchronize hack
#define LOCKING_RESYNC_ENABLE
//Indicator
#define LED_CAPS_LOCK_PIN B0
//Force NKRO
#define FORCE_NKRO

View File

@@ -2,6 +2,9 @@
"usb": {
"device_version": "0.1.0"
},
"indicators": {
"caps_lock": "B0"
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu"
}

View File

@@ -31,9 +31,6 @@
// Locking resynchronize hack
#define LOCKING_RESYNC_ENABLE
//Indicator
#define LED_CAPS_LOCK_PIN A1
// I2C config
#define I2C1_SCL_PIN B8
#define I2C1_SDA_PIN B9

View File

@@ -2,6 +2,9 @@
"usb": {
"device_version": "0.2.0"
},
"indicators": {
"caps_lock": "A1"
},
"processor": "STM32F401",
"bootloader": "stm32-dfu"
}

View File

@@ -31,9 +31,6 @@
// Locking resynchronize hack
#define LOCKING_RESYNC_ENABLE
//Indicator
#define LED_CAPS_LOCK_PIN A1
// Emulated EEPROM
#define WEAR_LEVELING_LOGICAL_SIZE 2048
#define WEAR_LEVELING_BACKING_SIZE WEAR_LEVELING_LOGICAL_SIZE*2

View File

@@ -2,6 +2,9 @@
"usb": {
"device_version": "0.2.1"
},
"indicators": {
"caps_lock": "A1"
},
"processor": "STM32L412",
"bootloader": "stm32-dfu"
}