summaryrefslogtreecommitdiffstats
path: root/keyboards/cannonkeys
diff options
context:
space:
mode:
authorAndrew Kannan <andrew.kannan@gmail.com>2023-09-24 22:59:38 -0400
committerGitHub <noreply@github.com>2023-09-25 12:59:38 +1000
commitc10a46aa436fdd55279bf5b78cc5b9b54c90ca56 (patch)
tree423bd9950c96804d132dffca7f9fbeaa83423020 /keyboards/cannonkeys
parente3cbd8a9650a9e85be5c2d90ed21686863382376 (diff)
Add is0gr to QMK (#22024)
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com> Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
Diffstat (limited to 'keyboards/cannonkeys')
-rw-r--r--keyboards/cannonkeys/is0gr/info.json32
-rw-r--r--keyboards/cannonkeys/is0gr/keymaps/default/keymap.c10
-rw-r--r--keyboards/cannonkeys/is0gr/keymaps/via/keymap.c11
-rw-r--r--keyboards/cannonkeys/is0gr/keymaps/via/rules.mk1
-rw-r--r--keyboards/cannonkeys/is0gr/readme.md24
-rw-r--r--keyboards/cannonkeys/is0gr/rules.mk2
6 files changed, 80 insertions, 0 deletions
diff --git a/keyboards/cannonkeys/is0gr/info.json b/keyboards/cannonkeys/is0gr/info.json
new file mode 100644
index 0000000000..3fd95577d8
--- /dev/null
+++ b/keyboards/cannonkeys/is0gr/info.json
@@ -0,0 +1,32 @@
+{
+ "manufacturer": "CannonKeys",
+ "keyboard_name": "is0GR",
+ "maintainer": "awkannan",
+ "bootloader": "stm32-dfu",
+ "diode_direction": "COL2ROW",
+ "features": {
+ "bootmagic": true,
+ "extrakey": true,
+ "mousekey": true,
+ "nkro": true
+ },
+ "matrix_pins": {
+ "cols": ["B3"],
+ "rows": ["A15"]
+ },
+ "processor": "STM32F072",
+ "url": "https://cannonkeys.com",
+ "usb": {
+ "device_version": "0.0.1",
+ "pid": "0xCA04",
+ "vid": "0x0028"
+ },
+ "community_layouts": ["ortho_1x1"],
+ "layouts": {
+ "LAYOUT_ortho_1x1": {
+ "layout": [
+ {"matrix": [0, 0], "x": 0.25, "y": 0, "w": 1.25, "h": 2}
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/keyboards/cannonkeys/is0gr/keymaps/default/keymap.c b/keyboards/cannonkeys/is0gr/keymaps/default/keymap.c
new file mode 100644
index 0000000000..49f0cdb491
--- /dev/null
+++ b/keyboards/cannonkeys/is0gr/keymaps/default/keymap.c
@@ -0,0 +1,10 @@
+// Copyright 2023 Andrew Kannan
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_ortho_1x1(
+ KC_ENT
+ ),
+};
diff --git a/keyboards/cannonkeys/is0gr/keymaps/via/keymap.c b/keyboards/cannonkeys/is0gr/keymaps/via/keymap.c
new file mode 100644
index 0000000000..10451984f0
--- /dev/null
+++ b/keyboards/cannonkeys/is0gr/keymaps/via/keymap.c
@@ -0,0 +1,11 @@
+// Copyright 2023 Andrew Kannan
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [0] = LAYOUT_ortho_1x1(
+ KC_ENT
+ ),
+};
+
diff --git a/keyboards/cannonkeys/is0gr/keymaps/via/rules.mk b/keyboards/cannonkeys/is0gr/keymaps/via/rules.mk
new file mode 100644
index 0000000000..1e5b99807c
--- /dev/null
+++ b/keyboards/cannonkeys/is0gr/keymaps/via/rules.mk
@@ -0,0 +1 @@
+VIA_ENABLE = yes
diff --git a/keyboards/cannonkeys/is0gr/readme.md b/keyboards/cannonkeys/is0gr/readme.md
new file mode 100644
index 0000000000..f6fb2b8f61
--- /dev/null
+++ b/keyboards/cannonkeys/is0gr/readme.md
@@ -0,0 +1,24 @@
+# Alchemist Keyboards is0GR
+
+is0GR Keyboard
+
+Keyboard Maintainer: [Andrew Kannan](https://github.com/awkannan)
+Hardware Supported: STM32F072CBT6 or equivalent
+
+Make example for this keyboard (after setting up your build environment):
+
+ make cannonkeys/is0gr:default
+
+Flashing example for this keyboard:
+
+ make cannonkeys/is0gr: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).
+
+## Bootloader
+
+Enter the bootloader in 3 ways:
+
+* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (on this board - it's the only key) and plug in the keyboard
+* **Physical reset button**: Bridge the two pads labeled "RESET" on the top of the PCB using some tweezers, and hold the tweezers there until the board enters the bootloader mode
+* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available (it isn't by default)
diff --git a/keyboards/cannonkeys/is0gr/rules.mk b/keyboards/cannonkeys/is0gr/rules.mk
new file mode 100644
index 0000000000..0ab54aaaf7
--- /dev/null
+++ b/keyboards/cannonkeys/is0gr/rules.mk
@@ -0,0 +1,2 @@
+# Wildcard to allow APM32 MCU
+DFU_SUFFIX_ARGS = -v FFFF -p FFFF