summaryrefslogtreecommitdiff
path: root/keyboards/smithrune/iron165r2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/smithrune/iron165r2')
-rw-r--r--keyboards/smithrune/iron165r2/config.h8
-rw-r--r--keyboards/smithrune/iron165r2/f072/config.h5
-rw-r--r--keyboards/smithrune/iron165r2/f072/info.json9
-rw-r--r--keyboards/smithrune/iron165r2/f072/rules.mk7
-rw-r--r--keyboards/smithrune/iron165r2/f411/config.h5
-rw-r--r--keyboards/smithrune/iron165r2/f411/info.json9
-rw-r--r--keyboards/smithrune/iron165r2/f411/rules.mk8
-rw-r--r--keyboards/smithrune/iron165r2/info.json3
8 files changed, 21 insertions, 33 deletions
diff --git a/keyboards/smithrune/iron165r2/config.h b/keyboards/smithrune/iron165r2/config.h
index ce3ddc7b86..d8e7bc64d8 100644
--- a/keyboards/smithrune/iron165r2/config.h
+++ b/keyboards/smithrune/iron165r2/config.h
@@ -17,20 +17,12 @@ 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
#define MATRIX_COL_PINS { A3 , B8 , B9 , B1 , B0 , B5 , B4 , B3 , A15, A8 , A1 , A0 , C15, C14, C13}
#define MATRIX_ROW_PINS { B10, A10, A2 , A5 , A7 }
#define DIODE_DIRECTION COL2ROW
-#define LED_CAPS_LOCK_PIN A4
-
-#define DEBOUNCE 5
-
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/smithrune/iron165r2/f072/config.h b/keyboards/smithrune/iron165r2/f072/config.h
index 502f5d6add..21702a94a6 100644
--- a/keyboards/smithrune/iron165r2/f072/config.h
+++ b/keyboards/smithrune/iron165r2/f072/config.h
@@ -17,14 +17,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 5
-#define BACKLIGHT_ON_STATE 1
#define RGB_DI_PIN B15
#define RGBLED_NUM 22
diff --git a/keyboards/smithrune/iron165r2/f072/info.json b/keyboards/smithrune/iron165r2/f072/info.json
new file mode 100644
index 0000000000..a4171d423e
--- /dev/null
+++ b/keyboards/smithrune/iron165r2/f072/info.json
@@ -0,0 +1,9 @@
+{
+ "backlight": {
+ "pin": "A6",
+ "levels": 20,
+ "breathing": true
+ },
+ "processor": "STM32F072",
+ "bootloader": "stm32-dfu"
+}
diff --git a/keyboards/smithrune/iron165r2/f072/rules.mk b/keyboards/smithrune/iron165r2/f072/rules.mk
index 016b8c2c1e..8b584c9a42 100644
--- a/keyboards/smithrune/iron165r2/f072/rules.mk
+++ b/keyboards/smithrune/iron165r2/f072/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = STM32F072
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
@@ -18,7 +12,6 @@ AUDIO_ENABLE = no # Audio output
LTO_ENABLE = no
ENCODER_ENABLE = no
BACKLIGHT_ENABLE = yes
-BACKLIGHT_DRIVER = pwm
# Enter lower-power sleep mode when on the ChibiOS idle thread
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
diff --git a/keyboards/smithrune/iron165r2/f411/config.h b/keyboards/smithrune/iron165r2/f411/config.h
index af8b46531c..88ff1d167a 100644
--- a/keyboards/smithrune/iron165r2/f411/config.h
+++ b/keyboards/smithrune/iron165r2/f411/config.h
@@ -17,14 +17,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define BACKLIGHT_PIN A6
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 2
-#define BACKLIGHT_LEVELS 20
-#define BACKLIGHT_BREATHING
-#define BREATHING_PERIOD 5
-#define BACKLIGHT_ON_STATE 1
#define RGB_DI_PIN B15
#define RGBLED_NUM 22
diff --git a/keyboards/smithrune/iron165r2/f411/info.json b/keyboards/smithrune/iron165r2/f411/info.json
new file mode 100644
index 0000000000..e3a63f8764
--- /dev/null
+++ b/keyboards/smithrune/iron165r2/f411/info.json
@@ -0,0 +1,9 @@
+{
+ "backlight": {
+ "pin": "A6",
+ "levels": 20,
+ "breathing": true
+ },
+ "processor": "STM32F411",
+ "bootloader": "stm32-dfu"
+}
diff --git a/keyboards/smithrune/iron165r2/f411/rules.mk b/keyboards/smithrune/iron165r2/f411/rules.mk
index 6305fc5a14..b5b0582d5d 100644
--- a/keyboards/smithrune/iron165r2/f411/rules.mk
+++ b/keyboards/smithrune/iron165r2/f411/rules.mk
@@ -1,10 +1,3 @@
-# MCU name
-MCU = STM32F411
-BOARD = GENERIC_STM32_F411XE
-
-# Bootloader selection
-BOOTLOADER = stm32-dfu
-
# Build Options
# change yes to no to disable
#
@@ -20,7 +13,6 @@ LTO_ENABLE = no
ENCODER_ENABLE = no
EEPROM_DRIVER = i2c
BACKLIGHT_ENABLE = yes
-BACKLIGHT_DRIVER = pwm
WS2812_DRIVER = pwm
# Enter lower-power sleep mode when on the ChibiOS idle thread
diff --git a/keyboards/smithrune/iron165r2/info.json b/keyboards/smithrune/iron165r2/info.json
index 4d093a3350..ed24e0e63c 100644
--- a/keyboards/smithrune/iron165r2/info.json
+++ b/keyboards/smithrune/iron165r2/info.json
@@ -8,6 +8,9 @@
"pid": "0x1652",
"device_version": "0.0.1"
},
+ "indicators": {
+ "caps_lock": "A4"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [