-
-
Notifications
You must be signed in to change notification settings - Fork 40k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Keyboard] Add Durgod Taurus K310 keyboard (#12314)
Co-authored-by: Tyler Tidman <[email protected]> Co-authored-by: Simon Arlott <sa.me.uk>
- Loading branch information
Showing
52 changed files
with
1,945 additions
and
642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Taurus K310 | ||
|
||
Base Model - no backlight leds | ||
|
||
See: [K310](../../k3x0/k310/base/readme.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DEFAULT_FOLDER=durgod/k3x0/k310/base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# K310 | ||
|
||
See: [K310](../k3x0/k310/readme.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DEFAULT_FOLDER=durgod/k3x0/k310 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Taurus K320 | ||
|
||
Base Model - no backlight leds | ||
|
||
See: [K320](../../k3x0/k320/base/readme.md) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DEFAULT_FOLDER=durgod/k3x0/k320/base |
This file was deleted.
Oops, something went wrong.
367 changes: 0 additions & 367 deletions
367
keyboards/durgod/k320/keymaps/default_toggle_mac_windows/keymap.c
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,4 @@ | ||
# K320 | ||
|
||
This is a standard off-the-shelf Durgod Taurus K320 TKL (87/88-key) keyboard without backlight. | ||
See: [K320](../k3x0/k320/readme.md) | ||
|
||
* Keyboard Maintainer: [dkjer](https://github.com/dkjer) | ||
* Hardware Supported: Durgod Taurus K320 board with STM32F070RBT6 | ||
* Hardware Availability: https://www.durgod.com/page9?product_id=47&_l=en | ||
|
||
## Instructions | ||
|
||
### Build | ||
|
||
Make command example for this keyboard (after setting up your build environment): | ||
|
||
make durgod/k320:default | ||
|
||
Flashing example for this keyboard: | ||
|
||
make durgod/k320:default:flash | ||
|
||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
|
||
### Initial Flash | ||
|
||
For first Flashing from initial Stock's Firmware | ||
|
||
1. Back up original Firmware Image: | ||
- Unplug | ||
- Short Boot0 to Vdd (See below) | ||
- Plug In USB | ||
- Make a Flash Image's Backup in case you wanted to restore the Keyboard to Stock's Image: | ||
- Using DFUseDemo.exe from ST's STSW-STM32080: https://www.st.com/en/development-tools/stsw-stm32080.html | ||
- Using dfu-util: | ||
|
||
dfu-util --list | ||
dfu-util --alt 0 --dfuse-address 0x08000000 --upload ${OLD_STOCK_BIN} | ||
|
||
2. Flash the QMK Firmware Image. | ||
- Put board into Bootloader mode, using the same method as when backing up the original Firmware (above) | ||
- Here are a few options for performing the initial Flash: | ||
- Using [QMK Toolbox](https://github.com/qmk/qmk_toolbox) | ||
- Using DFuseDemo.exe if STTub30 driver is used. | ||
- Using dfu-util: | ||
|
||
dfu-util --alt 0 --dfuse-address 0x08000000 --download ${NEW_QMK_BIN} | ||
|
||
You can short Boot0 to Vdd by shorting R21 to C27 on the sides closest to the processor, as shown: | ||
|
||
<img src="https://i.imgur.com/hvDnw5a.jpg" width="520" height="693" alt="Shorting Boot0 to Vdd on K320"> | ||
|
||
### Subsequent Flashing | ||
|
||
For repeating Flashing you can use BootMagic: | ||
- BootMagic Lite has been enabled with Assigned "Esc" key | ||
- Unplug USB Cable | ||
- Holding Esc Button | ||
- Plug in USB Cable, Keyboard should be in ST-Bootloader state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1 @@ | ||
# MCU name | ||
# Actually F070, but close enough | ||
MCU = STM32F072 | ||
BOARD = DURGOD_STM32_F070 | ||
|
||
# Bootloader selection | ||
BOOTLOADER = stm32-dfu | ||
|
||
# Do not put the microcontroller into power saving mode | ||
OPT_DEFS += -DNO_SUSPEND_POWER_DOWN | ||
|
||
# Build Options | ||
# change yes to no to disable | ||
# | ||
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
MOUSEKEY_ENABLE = no # Mouse keys | ||
EXTRAKEY_ENABLE = yes # Audio control and System control | ||
CONSOLE_ENABLE = no # Console for debug | ||
COMMAND_ENABLE = no # Commands for debug and configuration | ||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
NKRO_ENABLE = yes # USB Nkey Rollover | ||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
AUDIO_ENABLE = no # Audio output | ||
|
||
LAYOUTS = tkl_ansi tkl_iso | ||
DEFAULT_FOLDER=durgod/k3x0/k320 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* Copyright 2021 Simon Arlott | ||
* | ||
* 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 | ||
|
||
#define HAL_USE_PAL TRUE | ||
#define PAL_USE_CALLBACKS TRUE | ||
|
||
#include_next <halconf.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Copyright 2021 Don Kjer | ||
* | ||
* 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 | ||
|
||
#include "config_common.h" | ||
|
||
/* USB Device descriptor parameter */ | ||
#define PRODUCT DURGOD Taurus K310 (QMK) | ||
#define DEVICE_VER 0x0001 // Base (no backlight) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# K310 | ||
|
||
This is a standard off-the-shelf Durgod Taurus K310 full-sized 104/105-key | ||
keyboard without backlight. This supports both the ANSI and ISO variants. | ||
|
||
* Keyboard Maintainers: [dkjer](https://github.com/dkjer) and [tylert](https://github.com/tylert) | ||
* Hardware Supported: Durgod Taurus K310 board with STM32F070RBT6 | ||
* Hardware Availability: K310 https://www.durgod.com/page9?product_id=53&_l=en | ||
|
||
## Instructions | ||
|
||
### Build | ||
|
||
Make command example for this keyboard (after setting up your build environment): | ||
|
||
make durgod/k310:default | ||
|
||
Flashing example for this keyboard: | ||
|
||
make durgod/k310:default:flash | ||
|
||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
|
||
### Initial Flash | ||
|
||
Instructions for Flashing from initial Stock Firmware: | ||
* [Initial Flashing](../../readme.md#initial-flash) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# see common rules.mk |
Oops, something went wrong.