Move LED indicator config to data driven (#19800)
This commit is contained in:
parent
d784f78bd0
commit
f4ba17c4a0
979 changed files with 1935 additions and 2171 deletions
|
@ -33,11 +33,8 @@
|
|||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
||||
|
||||
/* LED indicator pins */
|
||||
#define LED_CAPS_LOCK_PIN C4
|
||||
#define LED_WIN_LOCK_PIN C5
|
||||
#define LED_SCROLL_LOCK_PIN A8
|
||||
#define LED_MR_LOCK_PIN LED_SCROLL_LOCK_PIN
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
// This is a 7-bit address, that gets left-shifted and bit 0
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{
|
||||
"indicators": {
|
||||
"caps_lock": "C4",
|
||||
"num_lock": "A8",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "STM32F072", // F070
|
||||
"bootloader": "stm32-dfu",
|
||||
"board": "DURGOD_STM32_F070"
|
||||
|
|
|
@ -38,12 +38,8 @@
|
|||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
||||
|
||||
/* LED indicator pins */
|
||||
#define LED_NUM_LOCK_PIN C8
|
||||
#define LED_CAPS_LOCK_PIN C9
|
||||
#define LED_SCROLL_LOCK_PIN A8
|
||||
#define LED_WIN_LOCK_PIN A9
|
||||
#define LED_MR_LOCK_PIN A10
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
/* Original hardware "reset" button on pin D2 */
|
||||
#define HARDWARE_RESET_PIN D2
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
{
|
||||
"indicators": {
|
||||
"caps_lock": "C9",
|
||||
"num_lock": "C8",
|
||||
"scroll_lock": "A8",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "STM32F072", // F070
|
||||
"bootloader": "stm32-dfu",
|
||||
"board": "DURGOD_STM32_F070"
|
||||
|
|
|
@ -38,11 +38,8 @@
|
|||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
||||
|
||||
/* LED indicator pins */
|
||||
#define LED_CAPS_LOCK_PIN C9
|
||||
#define LED_SCROLL_LOCK_PIN A8
|
||||
#define LED_WIN_LOCK_PIN A9
|
||||
#define LED_MR_LOCK_PIN A10
|
||||
#define LED_PIN_ON_STATE 0
|
||||
|
||||
/* Original hardware "reset" button on pin D2 */
|
||||
#define HARDWARE_RESET_PIN D2
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{
|
||||
"indicators": {
|
||||
"caps_lock": "C9",
|
||||
"scroll_lock": "A8",
|
||||
"on_state": 0
|
||||
},
|
||||
"processor": "STM32F072", // F070
|
||||
"bootloader": "stm32-dfu",
|
||||
"board": "DURGOD_STM32_F070"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue