aboutsummaryrefslogtreecommitdiff
path: root/keyboards/tkw/grandiceps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tkw/grandiceps')
-rw-r--r--keyboards/tkw/grandiceps/config.h4
-rw-r--r--keyboards/tkw/grandiceps/info.json19
-rw-r--r--keyboards/tkw/grandiceps/rev1/keyboard.json (renamed from keyboards/tkw/grandiceps/rev1/info.json)0
-rw-r--r--keyboards/tkw/grandiceps/rev1/rules.mk0
-rw-r--r--keyboards/tkw/grandiceps/rev2/config.h1
-rw-r--r--keyboards/tkw/grandiceps/rev2/keyboard.json (renamed from keyboards/tkw/grandiceps/rev2/info.json)8
-rw-r--r--keyboards/tkw/grandiceps/rev2/rules.mk1
-rw-r--r--keyboards/tkw/grandiceps/rules.mk18
8 files changed, 25 insertions, 26 deletions
diff --git a/keyboards/tkw/grandiceps/config.h b/keyboards/tkw/grandiceps/config.h
index a963fbfb51..a02e14f91f 100644
--- a/keyboards/tkw/grandiceps/config.h
+++ b/keyboards/tkw/grandiceps/config.h
@@ -20,5 +20,5 @@
#define WS2812_PWM_DRIVER PWMD3
#define WS2812_PWM_CHANNEL 4
#define WS2812_PWM_PAL_MODE 2
-#define WS2812_DMA_STREAM STM32_DMA1_STREAM2
-#define WS2812_DMA_CHANNEL 5
+#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM2
+#define WS2812_PWM_DMA_CHANNEL 5
diff --git a/keyboards/tkw/grandiceps/info.json b/keyboards/tkw/grandiceps/info.json
index de4fa5cd49..13bc1e7acf 100644
--- a/keyboards/tkw/grandiceps/info.json
+++ b/keyboards/tkw/grandiceps/info.json
@@ -4,7 +4,19 @@
"maintainer": "vattern",
"usb": {
"vid": "0xFEED",
- "pid": "0x7812"
+ "pid": "0x7812",
+ "shared_endpoint": {
+ "keyboard": true
+ }
+ },
+ "features": {
+ "bootmagic": true,
+ "encoder": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true,
+ "oled": true,
+ "rgblight": true
},
"ws2812": {
"pin": "B1",
@@ -39,6 +51,7 @@
]
},
"split": {
+ "enabled": true,
"soft_serial_pin": "A15",
"matrix_pins": {
"right": {
@@ -50,9 +63,7 @@
"qmk": {
"tap_keycode_delay": 10
},
- "processor": "STM32F411",
- "bootloader": "stm32-dfu",
- "board": "BLACKPILL_STM32_F411",
+ "development_board": "blackpill_f411",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/tkw/grandiceps/rev1/info.json b/keyboards/tkw/grandiceps/rev1/keyboard.json
index 34d2a94743..34d2a94743 100644
--- a/keyboards/tkw/grandiceps/rev1/info.json
+++ b/keyboards/tkw/grandiceps/rev1/keyboard.json
diff --git a/keyboards/tkw/grandiceps/rev1/rules.mk b/keyboards/tkw/grandiceps/rev1/rules.mk
deleted file mode 100644
index e69de29bb2..0000000000
--- a/keyboards/tkw/grandiceps/rev1/rules.mk
+++ /dev/null
diff --git a/keyboards/tkw/grandiceps/rev2/config.h b/keyboards/tkw/grandiceps/rev2/config.h
index 5810fe75bc..83f1b56157 100644
--- a/keyboards/tkw/grandiceps/rev2/config.h
+++ b/keyboards/tkw/grandiceps/rev2/config.h
@@ -15,5 +15,4 @@
*/
#pragma once
-#define SPLIT_HAND_PIN B3
#define EEPROM_I2C_24LC64
diff --git a/keyboards/tkw/grandiceps/rev2/info.json b/keyboards/tkw/grandiceps/rev2/keyboard.json
index cd80948196..b0f9970bcd 100644
--- a/keyboards/tkw/grandiceps/rev2/info.json
+++ b/keyboards/tkw/grandiceps/rev2/keyboard.json
@@ -5,5 +5,13 @@
},
"eeprom": {
"driver": "i2c"
+ },
+ "features": {
+ "pointing_device": true
+ },
+ "split": {
+ "handedness": {
+ "pin": "B3"
+ }
}
}
diff --git a/keyboards/tkw/grandiceps/rev2/rules.mk b/keyboards/tkw/grandiceps/rev2/rules.mk
index 20f2871924..0cac88f7f7 100644
--- a/keyboards/tkw/grandiceps/rev2/rules.mk
+++ b/keyboards/tkw/grandiceps/rev2/rules.mk
@@ -1,2 +1 @@
-POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = pimoroni_trackball
diff --git a/keyboards/tkw/grandiceps/rules.mk b/keyboards/tkw/grandiceps/rules.mk
index 86483ba920..01fa521763 100644
--- a/keyboards/tkw/grandiceps/rules.mk
+++ b/keyboards/tkw/grandiceps/rules.mk
@@ -1,21 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # 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
-ENCODER_ENABLE = yes # Enable rotary encoder support
-AUDIO_ENABLE = no # Audio output
-KEYBOARD_SHARED_EP = yes # Free up some extra endpoints - needed if console+mouse+extra
-
-SPLIT_KEYBOARD = yes
SERIAL_DRIVER = usart
-OLED_ENABLE = yes
-OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE
DEFAULT_FOLDER = tkw/grandiceps/rev1