Browse Source

fix 38keys, right bootmagic

pull/23568/head
Evgenii Vilkov 1 month ago
parent
commit
2162854eab
7 changed files with 30 additions and 8 deletions
  1. +8
    -0
      keyboards/stront/38keys/config.h
  2. +5
    -0
      keyboards/stront/38keys/keyboard.json
  3. +9
    -0
      keyboards/stront/38keys/mcuconf.h
  4. +0
    -4
      keyboards/stront/40keys/config.h
  5. +8
    -0
      keyboards/stront/40keys/keyboard.json
  6. +0
    -1
      keyboards/stront/40keys/mcuconf.h
  7. +0
    -3
      keyboards/stront/mcuconf.h

+ 8
- 0
keyboards/stront/38keys/config.h View File

@ -0,0 +1,8 @@
// Copyright 2023 zzeneg (@zzeneg)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define LCD_DC_PIN GP12
#define LCD_RST_PIN GP13
#define BACKLIGHT_PWM_DRIVER PWMD7

+ 5
- 0
keyboards/stront/38keys/keyboard.json View File

@ -53,6 +53,11 @@
"cols": ["GP2", "GP3", "GP4", "GP5", "GP6"],
"rows": ["GP28", "GP27", "GP26", "GP15"]
},
"split":{
"bootmagic": {
"matrix": [4, 0]
}
},
"backlight": {
"pin": "GP14"
},


+ 9
- 0
keyboards/stront/38keys/mcuconf.h View File

@ -0,0 +1,9 @@
// Copyright 2023 zzeneg (@zzeneg)
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include_next <mcuconf.h>
#undef RP_PWM_USE_PWM7
#define RP_PWM_USE_PWM7 TRUE

+ 0
- 4
keyboards/stront/40keys/config.h View File

@ -6,7 +6,3 @@
#define LCD_DC_PIN GP27
#define LCD_RST_PIN GP12
#define BACKLIGHT_PWM_DRIVER PWMD6
/* Bootmagic on top outer pinky key */
#define BOOTMAGIC_ROW 3
#define BOOTMAGIC_COLUMN 0

+ 8
- 0
keyboards/stront/40keys/keyboard.json View File

@ -55,6 +55,14 @@
"cols": ["GP2", "GP3", "GP4", "GP5", "GP6"],
"rows": ["GP26", "GP15", "GP14", "GP13"]
},
"bootmagic": {
"matrix": [3, 0]
},
"split":{
"bootmagic": {
"matrix": [7, 0]
}
},
"backlight": {
"pin": "GP28"
},


+ 0
- 1
keyboards/stront/40keys/mcuconf.h View File

@ -5,6 +5,5 @@
#include_next <mcuconf.h>
#undef RP_PWM_USE_PWM7
#undef RP_PWM_USE_PWM6
#define RP_PWM_USE_PWM6 TRUE

+ 0
- 3
keyboards/stront/mcuconf.h View File

@ -10,6 +10,3 @@
#undef RP_SPI_USE_SPI1
#define RP_SPI_USE_SPI1 TRUE
#undef RP_PWM_USE_PWM7
#define RP_PWM_USE_PWM7 TRUE

Loading…
Cancel
Save