diff options
| author | Archetype <62484425+archetype-made@users.noreply.github.com> | 2024-03-28 22:04:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-28 22:04:43 -0700 |
| commit | 742ff91cf883a636d893076df347aa5817ecfac5 (patch) | |
| tree | b78d7ff5a25500669d97d38c896b937e47beeb00 | |
| parent | 5ef5a79fd9993747204a6ad89b206ea411c45083 (diff) | |
[Keyboard] Add Minerva LX (#23291)
Co-authored-by: jack <0x6a73@protonmail.com>
Co-authored-by: Álvaro A. Volpato <alvaro.augusto.volpato@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/archetype/minervalx/config.h | 22 | ||||
| -rw-r--r-- | keyboards/archetype/minervalx/halconf.h | 21 | ||||
| -rw-r--r-- | keyboards/archetype/minervalx/info.json | 98 | ||||
| -rw-r--r-- | keyboards/archetype/minervalx/keymaps/default/keymap.c | 35 | ||||
| -rw-r--r-- | keyboards/archetype/minervalx/keymaps/via/keymap.c | 35 | ||||
| -rw-r--r-- | keyboards/archetype/minervalx/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/archetype/minervalx/mcuconf.h | 22 | ||||
| -rw-r--r-- | keyboards/archetype/minervalx/readme.md | 24 | ||||
| -rw-r--r-- | keyboards/archetype/minervalx/rules.mk | 1 |
9 files changed, 260 insertions, 0 deletions
diff --git a/keyboards/archetype/minervalx/config.h b/keyboards/archetype/minervalx/config.h new file mode 100644 index 0000000000..3b5eb8e56a --- /dev/null +++ b/keyboards/archetype/minervalx/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2024 Archetype Made, Inc. | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define RP2040_BOOTLOADER_DOUBLE_TAP_RESET | ||
| 20 | |||
| 21 | #define BACKLIGHT_PWM_DRIVER PWMD5 | ||
| 22 | #define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_A \ No newline at end of file | ||
diff --git a/keyboards/archetype/minervalx/halconf.h b/keyboards/archetype/minervalx/halconf.h new file mode 100644 index 0000000000..b807fe1650 --- /dev/null +++ b/keyboards/archetype/minervalx/halconf.h | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | /* Copyright 2024 Archetype Made, Inc. | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #define HAL_USE_PWM TRUE | ||
| 20 | |||
| 21 | #include_next <halconf.h> | ||
diff --git a/keyboards/archetype/minervalx/info.json b/keyboards/archetype/minervalx/info.json new file mode 100644 index 0000000000..0d01ccf485 --- /dev/null +++ b/keyboards/archetype/minervalx/info.json | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | { | ||
| 2 | "manufacturer": "Archetype", | ||
| 3 | "keyboard_name": "Minerva LX", | ||
| 4 | "maintainer": "Archetype", | ||
| 5 | "backlight": { | ||
| 6 | "pin": "GP7" | ||
| 7 | }, | ||
| 8 | "bootloader": "rp2040", | ||
| 9 | "diode_direction": "COL2ROW", | ||
| 10 | "features": { | ||
| 11 | "backlight": true, | ||
| 12 | "bootmagic": true, | ||
| 13 | "extrakey": true, | ||
| 14 | "mousekey": true | ||
| 15 | }, | ||
| 16 | "matrix_pins": { | ||
| 17 | "cols": ["GP0", "GP29", "GP28", "GP27", "GP26", "GP25", "GP24", "GP23", "GP22", "GP21", "GP20", "GP19", "GP18", "GP17", "GP16"], | ||
| 18 | "rows": ["GP11", "GP12", "GP13", "GP14", "GP15"] | ||
| 19 | }, | ||
| 20 | "processor": "RP2040", | ||
| 21 | "url": "", | ||
| 22 | "usb": { | ||
| 23 | "device_version": "1.0.0", | ||
| 24 | "pid": "0x0100", | ||
| 25 | "vid": "0x5453" | ||
| 26 | }, | ||
| 27 | "layouts": { | ||
| 28 | "LAYOUT": { | ||
| 29 | "layout": [ | ||
| 30 | {"matrix": [0, 0], "x": 0, "y": 0}, | ||
| 31 | {"matrix": [0, 1], "x": 1, "y": 0}, | ||
| 32 | {"matrix": [0, 2], "x": 2, "y": 0}, | ||
| 33 | {"matrix": [0, 3], "x": 3, "y": 0}, | ||
| 34 | {"matrix": [0, 4], "x": 4, "y": 0}, | ||
| 35 | {"matrix": [0, 5], "x": 5, "y": 0}, | ||
| 36 | {"matrix": [0, 6], "x": 6, "y": 0}, | ||
| 37 | {"matrix": [0, 7], "x": 7, "y": 0}, | ||
| 38 | {"matrix": [0, 8], "x": 8, "y": 0}, | ||
| 39 | {"matrix": [0, 9], "x": 9, "y": 0}, | ||
| 40 | {"matrix": [0, 10], "x": 10, "y": 0}, | ||
| 41 | {"matrix": [0, 11], "x": 11, "y": 0}, | ||
| 42 | {"matrix": [0, 12], "x": 12, "y": 0}, | ||
| 43 | {"matrix": [2, 12], "x": 13, "y": 0}, | ||
| 44 | {"matrix": [0, 13], "x": 14, "y": 0}, | ||
| 45 | {"matrix": [1, 0], "x": 0, "y": 1, "w": 1.5}, | ||
| 46 | {"matrix": [1, 1], "x": 1.5, "y": 1}, | ||
| 47 | {"matrix": [1, 2], "x": 2.5, "y": 1}, | ||
| 48 | {"matrix": [1, 3], "x": 3.5, "y": 1}, | ||
| 49 | {"matrix": [1, 4], "x": 4.5, "y": 1}, | ||
| 50 | {"matrix": [1, 5], "x": 5.5, "y": 1}, | ||
| 51 | {"matrix": [1, 6], "x": 6.5, "y": 1}, | ||
| 52 | {"matrix": [1, 7], "x": 7.5, "y": 1}, | ||
| 53 | {"matrix": [1, 8], "x": 8.5, "y": 1}, | ||
| 54 | {"matrix": [1, 9], "x": 9.5, "y": 1}, | ||
| 55 | {"matrix": [1, 10], "x": 10.5, "y": 1}, | ||
| 56 | {"matrix": [1, 11], "x": 11.5, "y": 1}, | ||
| 57 | {"matrix": [1, 12], "x": 12.5, "y": 1}, | ||
| 58 | {"matrix": [1, 13], "x": 13.5, "y": 1, "w": 1.5}, | ||
| 59 | {"matrix": [2, 0], "x": 0, "y": 2, "w": 1.75}, | ||
| 60 | {"matrix": [2, 1], "x": 1.75, "y": 2}, | ||
| 61 | {"matrix": [2, 2], "x": 2.75, "y": 2}, | ||
| 62 | {"matrix": [2, 3], "x": 3.75, "y": 2}, | ||
| 63 | {"matrix": [2, 4], "x": 4.75, "y": 2}, | ||
| 64 | {"matrix": [2, 5], "x": 5.75, "y": 2}, | ||
| 65 | {"matrix": [2, 6], "x": 6.75, "y": 2}, | ||
| 66 | {"matrix": [2, 7], "x": 7.75, "y": 2}, | ||
| 67 | {"matrix": [2, 8], "x": 8.75, "y": 2}, | ||
| 68 | {"matrix": [2, 9], "x": 9.75, "y": 2}, | ||
| 69 | {"matrix": [2, 10], "x": 10.75, "y": 2}, | ||
| 70 | {"matrix": [2, 11], "x": 11.75, "y": 2}, | ||
| 71 | {"matrix": [2, 13], "x": 12.75, "y": 2, "w": 2.25}, | ||
| 72 | {"matrix": [3, 0], "x": 0, "y": 3, "w": 2.25}, | ||
| 73 | {"matrix": [3, 1], "x": 2.25, "y": 3}, | ||
| 74 | {"matrix": [3, 2], "x": 3.25, "y": 3}, | ||
| 75 | {"matrix": [3, 3], "x": 4.25, "y": 3}, | ||
| 76 | {"matrix": [3, 4], "x": 5.25, "y": 3}, | ||
| 77 | {"matrix": [3, 5], "x": 6.25, "y": 3}, | ||
| 78 | {"matrix": [3, 6], "x": 7.25, "y": 3}, | ||
| 79 | {"matrix": [3, 7], "x": 8.25, "y": 3}, | ||
| 80 | {"matrix": [3, 8], "x": 9.25, "y": 3}, | ||
| 81 | {"matrix": [3, 9], "x": 10.25, "y": 3}, | ||
| 82 | {"matrix": [3, 10], "x": 11.25, "y": 3}, | ||
| 83 | {"matrix": [3, 12], "x": 12.25, "y": 3, "w": 1.75}, | ||
| 84 | {"matrix": [3, 13], "x": 14, "y": 3}, | ||
| 85 | {"matrix": [4, 0], "x": 0, "y": 4, "w": 1.5}, | ||
| 86 | {"matrix": [4, 1], "x": 1.5, "y": 4}, | ||
| 87 | {"matrix": [4, 2], "x": 2.5, "y": 4, "w": 1.5}, | ||
| 88 | {"matrix": [4, 4], "x": 4, "y": 4, "w": 3}, | ||
| 89 | {"matrix": [4, 6], "x": 4, "y": 4, "w": 7}, | ||
| 90 | {"matrix": [4, 8], "x": 8, "y": 4, "w": 3}, | ||
| 91 | {"matrix": [4, 9], "x": 10, "y": 5.25, "w": 1.25}, | ||
| 92 | {"matrix": [4, 10], "x": 11, "y": 4, "w": 1.5}, | ||
| 93 | {"matrix": [4, 12], "x": 12.5, "y": 4}, | ||
| 94 | {"matrix": [4, 13], "x": 13.5, "y": 4, "w": 1.5} | ||
| 95 | ] | ||
| 96 | } | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/archetype/minervalx/keymaps/default/keymap.c b/keyboards/archetype/minervalx/keymaps/default/keymap.c new file mode 100644 index 0000000000..c52c7f4c1e --- /dev/null +++ b/keyboards/archetype/minervalx/keymaps/default/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* Copyright 2024 Archetype Made, Inc. | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT( | ||
| 22 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL | ||
| 27 | ), | ||
| 28 | [1] = LAYOUT( | ||
| 29 | QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 34 | ) | ||
| 35 | }; | ||
diff --git a/keyboards/archetype/minervalx/keymaps/via/keymap.c b/keyboards/archetype/minervalx/keymaps/via/keymap.c new file mode 100644 index 0000000000..c52c7f4c1e --- /dev/null +++ b/keyboards/archetype/minervalx/keymaps/via/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* Copyright 2024 Archetype Made, Inc. | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT( | ||
| 22 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC, | ||
| 23 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, | ||
| 24 | KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
| 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, MO(1), KC_RCTL | ||
| 27 | ), | ||
| 28 | [1] = LAYOUT( | ||
| 29 | QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 33 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 34 | ) | ||
| 35 | }; | ||
diff --git a/keyboards/archetype/minervalx/keymaps/via/rules.mk b/keyboards/archetype/minervalx/keymaps/via/rules.mk new file mode 100644 index 0000000000..43061db1dd --- /dev/null +++ b/keyboards/archetype/minervalx/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes \ No newline at end of file | ||
diff --git a/keyboards/archetype/minervalx/mcuconf.h b/keyboards/archetype/minervalx/mcuconf.h new file mode 100644 index 0000000000..6bc01108d3 --- /dev/null +++ b/keyboards/archetype/minervalx/mcuconf.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2024 Archetype Made, Inc. | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include_next <mcuconf.h> | ||
| 20 | |||
| 21 | #undef RP_PWM_USE_PWM5 | ||
| 22 | #define RP_PWM_USE_PWM5 TRUE | ||
diff --git a/keyboards/archetype/minervalx/readme.md b/keyboards/archetype/minervalx/readme.md new file mode 100644 index 0000000000..365fd375e5 --- /dev/null +++ b/keyboards/archetype/minervalx/readme.md | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # Minerva LX | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | The following is the QMK Firmware for the Minerva LX PCB. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Archetype](https://github.com/archetype-made) | ||
| 8 | * Hardware Supported: RP2040-based proprietary PCB. | ||
| 9 | * Hardware Availability: https://archetypemade.com/minerva-is-here/ | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make archetype/minervalx:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make archetype/minervalx:default:flash | ||
| 18 | |||
| 19 | 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). | ||
| 20 | |||
| 21 | ## Bootloader Enter the bootloader in 3 ways: | ||
| 22 | * **Bootmagic reset**: Hold down the key ESC key and plug in the keyboard (Top Left most switch) | ||
| 23 | * **Keycode in layout**: Press the key mapped to `QK_BOOT` if available | ||
| 24 | * **Physical Reset Button**: With the PCB unplugged, hold down the button labled `RESET` on the back of the PCB while pluggin in the USB. \ No newline at end of file | ||
diff --git a/keyboards/archetype/minervalx/rules.mk b/keyboards/archetype/minervalx/rules.mk new file mode 100644 index 0000000000..6e7633bfe0 --- /dev/null +++ b/keyboards/archetype/minervalx/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| # This file intentionally left blank | |||
