Move LED indicator config to data driven (#19800)
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
/* Copyright 2020 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/>.
|
||||
*/
|
||||
|
@@ -34,7 +34,3 @@
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define FORCE_NKRO
|
||||
|
||||
#define LED_CAPS_LOCK_PIN B7
|
||||
#define LED_NUM_LOCK_PIN F0
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0xDAAA",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B7",
|
||||
"num_lock": "F0"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
@@ -52,7 +52,3 @@
|
||||
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define LED_CAPS_LOCK_PIN A2
|
||||
#define LED_SCROLL_LOCK_PIN A13
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x4E4A",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A2",
|
||||
"scroll_lock": "A13"
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layout_aliases": {
|
||||
|
@@ -28,6 +28,3 @@
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define LED_CAPS_LOCK_PIN F1
|
||||
#define LED_SCROLL_LOCK_PIN B3
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x5041",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "F1",
|
||||
"scroll_lock": "B3"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"layouts": {
|
||||
|
@@ -28,7 +28,3 @@
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define LED_CAPS_LOCK_PIN B14
|
||||
#define LED_SCROLL_LOCK_PIN A13
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x5041",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B14",
|
||||
"scroll_lock": "A13"
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
@@ -1,16 +0,0 @@
|
||||
/* Copyright 2021 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/>.
|
||||
*/
|
||||
|
@@ -31,11 +31,6 @@
|
||||
// Locking resynchronize hack
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
//Indicator
|
||||
#define LED_CAPS_LOCK_PIN A6
|
||||
#define LED_SCROLL_LOCK_PIN A13
|
||||
#define LED_NUM_LOCK_PIN A14
|
||||
|
||||
// I2C config
|
||||
#define I2C1_SCL_PIN B8
|
||||
#define I2C1_SDA_PIN B9
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x5208",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A6",
|
||||
"num_lock": "A14",
|
||||
"scroll_lock": "A13"
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
@@ -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/>.
|
||||
*/
|
||||
|
@@ -31,8 +31,5 @@
|
||||
// Locking resynchronize hack
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
//Indicator
|
||||
#define LED_CAPS_LOCK_PIN B0
|
||||
|
||||
//Force NKRO
|
||||
#define FORCE_NKRO
|
||||
|
@@ -2,6 +2,9 @@
|
||||
"usb": {
|
||||
"device_version": "0.1.0"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "B0"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu"
|
||||
}
|
||||
|
@@ -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
|
||||
|
@@ -2,6 +2,9 @@
|
||||
"usb": {
|
||||
"device_version": "0.2.0"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A1"
|
||||
},
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "stm32-dfu"
|
||||
}
|
||||
|
@@ -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
|
||||
|
@@ -2,6 +2,9 @@
|
||||
"usb": {
|
||||
"device_version": "0.2.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A1"
|
||||
},
|
||||
"processor": "STM32L412",
|
||||
"bootloader": "stm32-dfu"
|
||||
}
|
||||
|
@@ -28,7 +28,3 @@
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
#define LED_CAPS_LOCK_PIN A1
|
||||
#define LED_SCROLL_LOCK_PIN A13
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
@@ -8,6 +8,10 @@
|
||||
"pid": "0x5854",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A1",
|
||||
"scroll_lock": "A13"
|
||||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
@@ -30,12 +30,6 @@
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
// LED defines
|
||||
#define LED_CAPS_LOCK_PIN A2
|
||||
#define LED_SCROLL_LOCK_PIN A13
|
||||
#define LED_NUM_LOCK_PIN B7
|
||||
#define LED_PIN_ON_STATE 1
|
||||
|
||||
// I2C setup
|
||||
#define I2C1_SCL_PIN B8
|
||||
#define I2C1_SDA_PIN B9
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0108",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "A2",
|
||||
"num_lock": "B7",
|
||||
"scroll_lock": "A13"
|
||||
},
|
||||
"processor": "STM32L412",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user