summaryrefslogtreecommitdiff
path: root/keyboards/smithrune/iron165r2/f411
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/smithrune/iron165r2/f411')
-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
3 files changed, 9 insertions, 13 deletions
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