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

@@ -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

View File

@@ -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": {