diff options
Diffstat (limited to 'keyboards/tkw/grandiceps')
-rw-r--r-- | keyboards/tkw/grandiceps/config.h | 7 | ||||
-rw-r--r-- | keyboards/tkw/grandiceps/info.json | 7 | ||||
-rw-r--r-- | keyboards/tkw/grandiceps/readme.md | 2 | ||||
-rw-r--r-- | keyboards/tkw/grandiceps/rev1/info.json | 6 | ||||
-rw-r--r-- | keyboards/tkw/grandiceps/rev1/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/tkw/grandiceps/rev2/config.h | 5 | ||||
-rw-r--r-- | keyboards/tkw/grandiceps/rev2/info.json | 6 | ||||
-rw-r--r-- | keyboards/tkw/grandiceps/rules.mk | 3 |
8 files changed, 21 insertions, 15 deletions
diff --git a/keyboards/tkw/grandiceps/config.h b/keyboards/tkw/grandiceps/config.h index b2b6008240..76a3de1bab 100644 --- a/keyboards/tkw/grandiceps/config.h +++ b/keyboards/tkw/grandiceps/config.h @@ -17,13 +17,6 @@ #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x7812 -#define DEVICE_VER 0x0001 -#define MANUFACTURER tkw -#define PRODUCT Grandiceps Split - /* key matrix size */ #define MATRIX_ROWS 10 #define MATRIX_COLS 6 diff --git a/keyboards/tkw/grandiceps/info.json b/keyboards/tkw/grandiceps/info.json index 7a4324ffdc..dc4cf5a0ee 100644 --- a/keyboards/tkw/grandiceps/info.json +++ b/keyboards/tkw/grandiceps/info.json @@ -1,8 +1,11 @@ { - "keyboard_name": "grandiceps", + "manufacturer": "tkw", "url": "https://github.com/vattern/grandiceps", "maintainer": "vattern", - "manufacturer": "tkw", + "usb": { + "vid": "0xFEED", + "pid": "0x7812" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/tkw/grandiceps/readme.md b/keyboards/tkw/grandiceps/readme.md index 57a6dac28d..899d0b462d 100644 --- a/keyboards/tkw/grandiceps/readme.md +++ b/keyboards/tkw/grandiceps/readme.md @@ -30,4 +30,4 @@ Enter the bootloader in 3 ways: * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard * **Physical reset buttons**: Hold down the BOOT0 button and then briefly press the NRST button on the BlackPill PCB. -* **Keycode in layout**: Press the key mapped to `RESET` if it is available +* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available diff --git a/keyboards/tkw/grandiceps/rev1/info.json b/keyboards/tkw/grandiceps/rev1/info.json new file mode 100644 index 0000000000..34d2a94743 --- /dev/null +++ b/keyboards/tkw/grandiceps/rev1/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Grandiceps Split", + "usb": { + "device_version": "0.0.1" + } +} diff --git a/keyboards/tkw/grandiceps/rev1/rules.mk b/keyboards/tkw/grandiceps/rev1/rules.mk new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/keyboards/tkw/grandiceps/rev1/rules.mk diff --git a/keyboards/tkw/grandiceps/rev2/config.h b/keyboards/tkw/grandiceps/rev2/config.h index 98b762087e..5810fe75bc 100644 --- a/keyboards/tkw/grandiceps/rev2/config.h +++ b/keyboards/tkw/grandiceps/rev2/config.h @@ -15,10 +15,5 @@ */ #pragma once -#undef DEVICE_VER -#define DEVICE_VER 0x0002 -#undef PRODUCT -#define PRODUCT Grandiceps Split rev2 - #define SPLIT_HAND_PIN B3 #define EEPROM_I2C_24LC64 diff --git a/keyboards/tkw/grandiceps/rev2/info.json b/keyboards/tkw/grandiceps/rev2/info.json new file mode 100644 index 0000000000..786f381c4f --- /dev/null +++ b/keyboards/tkw/grandiceps/rev2/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "Grandiceps Split rev2", + "usb": { + "device_version": "0.0.2" + } +} diff --git a/keyboards/tkw/grandiceps/rules.mk b/keyboards/tkw/grandiceps/rules.mk index f408feb059..2220b16252 100644 --- a/keyboards/tkw/grandiceps/rules.mk +++ b/keyboards/tkw/grandiceps/rules.mk @@ -1,5 +1,6 @@ # MCU name MCU = STM32F411 +BOARD = BLACKPILL_STM32_F411 # Bootloader selection BOOTLOADER = stm32-dfu @@ -25,3 +26,5 @@ OLED_ENABLE = yes OLED_DRIVER = SSD1306 WS2812_DRIVER = pwm OPT_DEFS += -DSTM32_DMA_REQUIRED=TRUE + +DEFAULT_FOLDER = tkw/grandiceps/rev1 |