summaryrefslogtreecommitdiffstats
path: root/keyboards/mechlovin/mechlovin9
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechlovin/mechlovin9')
-rw-r--r--keyboards/mechlovin/mechlovin9/config.h1
-rw-r--r--keyboards/mechlovin/mechlovin9/rev1/config.h2
-rw-r--r--keyboards/mechlovin/mechlovin9/rev1/info.json8
-rw-r--r--keyboards/mechlovin/mechlovin9/rev1/rules.mk7
-rw-r--r--keyboards/mechlovin/mechlovin9/rev2/config.h6
-rw-r--r--keyboards/mechlovin/mechlovin9/rev2/info.json10
-rw-r--r--keyboards/mechlovin/mechlovin9/rev2/rules.mk6
7 files changed, 16 insertions, 24 deletions
diff --git a/keyboards/mechlovin/mechlovin9/config.h b/keyboards/mechlovin/mechlovin9/config.h
index 6795046f8b..a2ef500ffc 100644
--- a/keyboards/mechlovin/mechlovin9/config.h
+++ b/keyboards/mechlovin/mechlovin9/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-#include "config_common.h"
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/mechlovin/mechlovin9/rev1/config.h b/keyboards/mechlovin/mechlovin9/rev1/config.h
index 236529e243..eca0a5236b 100644
--- a/keyboards/mechlovin/mechlovin9/rev1/config.h
+++ b/keyboards/mechlovin/mechlovin9/rev1/config.h
@@ -30,8 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A4, A5, A3, A2, A1 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A0, C15, B4, B5, B3, C13, C14, A13 }
-#define LED_CAPS_LOCK_PIN B9
-
#define BACKLIGHT_PIN B8
#define BACKLIGHT_BREATHING
#define BACKLIGHT_PWM_DRIVER PWMD3
diff --git a/keyboards/mechlovin/mechlovin9/rev1/info.json b/keyboards/mechlovin/mechlovin9/rev1/info.json
index 2153f0ad17..c955b37fc2 100644
--- a/keyboards/mechlovin/mechlovin9/rev1/info.json
+++ b/keyboards/mechlovin/mechlovin9/rev1/info.json
@@ -3,5 +3,11 @@
"usb": {
"pid": "0x6509",
"device_version": "0.0.1"
- }
+ },
+ "indicators": {
+ "caps_lock": "B9"
+ },
+ "processor": "STM32F303",
+ "bootloader": "stm32-dfu",
+ "board": "QMK_PROTON_C"
}
diff --git a/keyboards/mechlovin/mechlovin9/rev1/rules.mk b/keyboards/mechlovin/mechlovin9/rev1/rules.mk
index 927204fc74..d6fa845569 100644
--- a/keyboards/mechlovin/mechlovin9/rev1/rules.mk
+++ b/keyboards/mechlovin/mechlovin9/rev1/rules.mk
@@ -1,10 +1,3 @@
-# MCU name
-MCU = STM32F303
-BOARD = QMK_PROTON_C
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/mechlovin/mechlovin9/rev2/config.h b/keyboards/mechlovin/mechlovin9/rev2/config.h
index c06295dfde..aa8c9db9f3 100644
--- a/keyboards/mechlovin/mechlovin9/rev2/config.h
+++ b/keyboards/mechlovin/mechlovin9/rev2/config.h
@@ -30,11 +30,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 }
#define MATRIX_COL_PINS { B2, B1, B0, B3, B4, B5, D0, D1, D5, D6, D7, C0, C3, C2, C1 }
-#define LED_CAPS_LOCK_PIN A7
-
#define BACKLIGHT_PIN D4
#define BACKLIGHT_BREATHING
-
-/* Bootmagic Lite key configuration */
- #define BOOTMAGIC_LITE_ROW 0
- #define BOOTMAGIC_LITE_COLUMN 13
diff --git a/keyboards/mechlovin/mechlovin9/rev2/info.json b/keyboards/mechlovin/mechlovin9/rev2/info.json
index 2c92773e6d..47fdf4973d 100644
--- a/keyboards/mechlovin/mechlovin9/rev2/info.json
+++ b/keyboards/mechlovin/mechlovin9/rev2/info.json
@@ -3,5 +3,13 @@
"usb": {
"pid": "0x6509",
"device_version": "0.0.2"
- }
+ },
+ "indicators": {
+ "caps_lock": "A7"
+ },
+ "bootmagic": {
+ "matrix": [0, 13]
+ },
+ "processor": "atmega32a",
+ "bootloader": "bootloadhid"
}
diff --git a/keyboards/mechlovin/mechlovin9/rev2/rules.mk b/keyboards/mechlovin/mechlovin9/rev2/rules.mk
index afbfc0d853..c2ee0bc86f 100644
--- a/keyboards/mechlovin/mechlovin9/rev2/rules.mk
+++ b/keyboards/mechlovin/mechlovin9/rev2/rules.mk
@@ -1,8 +1,2 @@
-# MCU name
-MCU = atmega32a
-
# Processor frequency
F_CPU = 16000000
-
-# Bootloader selection
-BOOTLOADER = bootloadhid