aboutsummaryrefslogtreecommitdiff
path: root/keyboards/wolfmarkclub/wm1
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2024-04-13 06:31:34 +0100
committerGitHub <[email protected]>2024-04-13 06:31:34 +0100
commit43a122e050647057dbaa16bc50417b9306e00bcc (patch)
tree3afe0ca15bc1bd3d3a6d25aeba8ac1620cd675d5 /keyboards/wolfmarkclub/wm1
parentbbf63a84664282289a10ccf2b7bd4dadde3ed635 (diff)
downloadqmk_firmware-43a122e050647057dbaa16bc50417b9306e00bcc.tar.gz
qmk_firmware-43a122e050647057dbaa16bc50417b9306e00bcc.zip
Migrate build target markers to keyboard.json - W (#23511)
Diffstat (limited to 'keyboards/wolfmarkclub/wm1')
-rw-r--r--keyboards/wolfmarkclub/wm1/config.h39
-rw-r--r--keyboards/wolfmarkclub/wm1/keyboard.json (renamed from keyboards/wolfmarkclub/wm1/info.json)21
-rw-r--r--keyboards/wolfmarkclub/wm1/rules.mk22
3 files changed, 21 insertions, 61 deletions
diff --git a/keyboards/wolfmarkclub/wm1/config.h b/keyboards/wolfmarkclub/wm1/config.h
deleted file mode 100644
index 4b007cf387..0000000000
--- a/keyboards/wolfmarkclub/wm1/config.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
-Copyright 2015 Jun Wako <[email protected]>
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
-#define LOCKING_SUPPORT_ENABLE
-/* Locking resynchronize hack */
-#define LOCKING_RESYNC_ENABLE
-
-/*
- * Feature disable options
- * These options are also useful to firmware size reduction.
- */
-
-/* disable debug print */
-//#define NO_DEBUG
-
-/* disable print */
-//#define NO_PRINT
-
-/* disable action features */
-//#define NO_ACTION_LAYER
-//#define NO_ACTION_TAPPING
-//#define NO_ACTION_ONESHOT
diff --git a/keyboards/wolfmarkclub/wm1/info.json b/keyboards/wolfmarkclub/wm1/keyboard.json
index 04b8ae3b11..56c062e102 100644
--- a/keyboards/wolfmarkclub/wm1/info.json
+++ b/keyboards/wolfmarkclub/wm1/keyboard.json
@@ -8,6 +8,25 @@
"pid": "0x2B29",
"device_version": "0.0.1"
},
+ "build": {
+ "lto": true
+ },
+ "features": {
+ "bootmagic": false,
+ "command": true,
+ "console": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "rgblight": true,
+ "sleep_led": true
+ },
+ "qmk": {
+ "locking": {
+ "enabled": true,
+ "resync": true
+ }
+ },
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
@@ -34,6 +53,8 @@
"rows": ["C4", "A7", "A6", "A5", "A4"]
},
"diode_direction": "COL2ROW",
+ "processor": "STM32F103",
+ "bootloader": "custom",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/wolfmarkclub/wm1/rules.mk b/keyboards/wolfmarkclub/wm1/rules.mk
index 512ef119fd..63ba3477c3 100644
--- a/keyboards/wolfmarkclub/wm1/rules.mk
+++ b/keyboards/wolfmarkclub/wm1/rules.mk
@@ -1,27 +1,5 @@
-# MCU name
-MCU = STM32F103
-
# GENERIC STM32F103C8T6 board - mass storage bootloader
MCU_LDSCRIPT = wm1_f103
BOARD = STM32_F103_STM32DUINO
-# Bootloader selection
-BOOTLOADER = custom
-
PROGRAM_CMD = echo 'CLI flashing not supported' >&2
-
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-SLEEP_LED_ENABLE = yes
-LTO_ENABLE = yes
-