diff options
| author | Naoto Takai <takai@recompile.net> | 2019-05-02 23:33:04 +0900 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-05-02 07:33:04 -0700 |
| commit | de5c8d86b432f0481f73602d978ac8f4249c3819 (patch) | |
| tree | b44204798bf9e835cdca51c7ce40e83d787aff0d | |
| parent | 7e68faa3361902458ef7d02e4ae156b2ed4e2303 (diff) | |
| download | qmk_firmware-de5c8d86b432f0481f73602d978ac8f4249c3819.tar.gz qmk_firmware-de5c8d86b432f0481f73602d978ac8f4249c3819.zip | |
Add support for Nomu30 (#5759)
| -rw-r--r-- | keyboards/nomu30/config.h | 49 | ||||
| -rw-r--r-- | keyboards/nomu30/info.json | 172 | ||||
| -rw-r--r-- | keyboards/nomu30/keymaps/default/config.h | 22 | ||||
| -rw-r--r-- | keyboards/nomu30/keymaps/default/keymap.c | 44 | ||||
| -rw-r--r-- | keyboards/nomu30/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/nomu30/nomu30.c | 16 | ||||
| -rw-r--r-- | keyboards/nomu30/nomu30.h | 48 | ||||
| -rw-r--r-- | keyboards/nomu30/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/nomu30/rules.mk | 81 |
9 files changed, 448 insertions, 0 deletions
diff --git a/keyboards/nomu30/config.h b/keyboards/nomu30/config.h new file mode 100644 index 000000000..13fae5af3 --- /dev/null +++ b/keyboards/nomu30/config.h | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Naoto Takai | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0xC0C0 | ||
| 24 | #define PRODUCT_ID 0x3000 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Naoto Takai | ||
| 27 | #define PRODUCT nomu30 | ||
| 28 | #define DESCRIPTION A 30% keyboard with ISO enter. | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 3 | ||
| 32 | #define MATRIX_COLS 12 | ||
| 33 | |||
| 34 | /* | ||
| 35 | * Keyboard Matrix Assignments | ||
| 36 | * | ||
| 37 | * Change this to how you wired your keyboard | ||
| 38 | * COLS: AVR pins used for columns, left to right | ||
| 39 | * ROWS: AVR pins used for rows, top to bottom | ||
| 40 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 41 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 42 | * | ||
| 43 | */ | ||
| 44 | #define MATRIX_ROW_PINS { D1, D0, D4 } | ||
| 45 | #define MATRIX_COL_PINS { C6, D7, E6, B4, F4, F5, F6, F7, B1, B3, B2, B6 } | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL*/ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
diff --git a/keyboards/nomu30/info.json b/keyboards/nomu30/info.json new file mode 100644 index 000000000..d0c186016 --- /dev/null +++ b/keyboards/nomu30/info.json | |||
| @@ -0,0 +1,172 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Nomu30", | ||
| 3 | "url": "https://keys.recompile.net/projects/nomu30/", | ||
| 4 | "maintainer": "takai", | ||
| 5 | "width": 11.5, | ||
| 6 | "height": 3, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [ | ||
| 10 | { | ||
| 11 | "label": "Q", | ||
| 12 | "x": 0.5, | ||
| 13 | "y": 0 | ||
| 14 | }, | ||
| 15 | { | ||
| 16 | "label": "W", | ||
| 17 | "x": 1.5, | ||
| 18 | "y": 0 | ||
| 19 | }, | ||
| 20 | { | ||
| 21 | "label": "E", | ||
| 22 | "x": 2.5, | ||
| 23 | "y": 0 | ||
| 24 | }, | ||
| 25 | { | ||
| 26 | "label": "R", | ||
| 27 | "x": 3.5, | ||
| 28 | "y": 0 | ||
| 29 | }, | ||
| 30 | { | ||
| 31 | "label": "T", | ||
| 32 | "x": 4.5, | ||
| 33 | "y": 0 | ||
| 34 | }, | ||
| 35 | { | ||
| 36 | "label": "Y", | ||
| 37 | "x": 5.5, | ||
| 38 | "y": 0 | ||
| 39 | }, | ||
| 40 | { | ||
| 41 | "label": "U", | ||
| 42 | "x": 6.5, | ||
| 43 | "y": 0 | ||
| 44 | }, | ||
| 45 | { | ||
| 46 | "label": "I", | ||
| 47 | "x": 7.5, | ||
| 48 | "y": 0 | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | "label": "O", | ||
| 52 | "x": 8.5, | ||
| 53 | "y": 0 | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | "label": "P", | ||
| 57 | "x": 9.5, | ||
| 58 | "y": 0 | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | "label": "Del", | ||
| 62 | "x": 10.5, | ||
| 63 | "y": 0 | ||
| 64 | }, | ||
| 65 | { | ||
| 66 | "label": "|", | ||
| 67 | "x": 0, | ||
| 68 | "y": 1 | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | "label": "A", | ||
| 72 | "x": 1, | ||
| 73 | "y": 1 | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | "label": "S", | ||
| 77 | "x": 2, | ||
| 78 | "y": 1 | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | "label": "D", | ||
| 82 | "x": 3, | ||
| 83 | "y": 1 | ||
| 84 | }, | ||
| 85 | { | ||
| 86 | "label": "F", | ||
| 87 | "x": 4, | ||
| 88 | "y": 1 | ||
| 89 | }, | ||
| 90 | { | ||
| 91 | "label": "G", | ||
| 92 | "x": 5, | ||
| 93 | "y": 1 | ||
| 94 | }, | ||
| 95 | { | ||
| 96 | "label": "H", | ||
| 97 | "x": 6, | ||
| 98 | "y": 1 | ||
| 99 | }, | ||
| 100 | { | ||
| 101 | "label": "J", | ||
| 102 | "x": 7, | ||
| 103 | "y": 1 | ||
| 104 | }, | ||
| 105 | { | ||
| 106 | "label": "K", | ||
| 107 | "x": 8, | ||
| 108 | "y": 1 | ||
| 109 | }, | ||
| 110 | { | ||
| 111 | "label": "L", | ||
| 112 | "x": 9, | ||
| 113 | "y": 1 | ||
| 114 | }, | ||
| 115 | { | ||
| 116 | "label": "Enter", | ||
| 117 | "x": 10.25, | ||
| 118 | "y": 1, | ||
| 119 | "w": 1.25, | ||
| 120 | "h": 2 | ||
| 121 | }, | ||
| 122 | { | ||
| 123 | "label": "Control", | ||
| 124 | "x": 0, | ||
| 125 | "y": 2, | ||
| 126 | "w": 1.5 | ||
| 127 | }, | ||
| 128 | { | ||
| 129 | "label": "Z", | ||
| 130 | "x": 1.5, | ||
| 131 | "y": 2 | ||
| 132 | }, | ||
| 133 | { | ||
| 134 | "label": "X", | ||
| 135 | "x": 2.5, | ||
| 136 | "y": 2 | ||
| 137 | }, | ||
| 138 | { | ||
| 139 | "label": "C", | ||
| 140 | "x": 3.5, | ||
| 141 | "y": 2 | ||
| 142 | }, | ||
| 143 | { | ||
| 144 | "label": "V", | ||
| 145 | "x": 4.5, | ||
| 146 | "y": 2 | ||
| 147 | }, | ||
| 148 | { | ||
| 149 | "label": "B", | ||
| 150 | "x": 5.5, | ||
| 151 | "y": 2 | ||
| 152 | }, | ||
| 153 | { | ||
| 154 | "label": "N", | ||
| 155 | "x": 6.5, | ||
| 156 | "y": 2 | ||
| 157 | }, | ||
| 158 | { | ||
| 159 | "label": "M", | ||
| 160 | "x": 7.5, | ||
| 161 | "y": 2 | ||
| 162 | }, | ||
| 163 | { | ||
| 164 | "label": "Shift", | ||
| 165 | "x": 8.5, | ||
| 166 | "y": 2, | ||
| 167 | "w": 1.75 | ||
| 168 | } | ||
| 169 | ] | ||
| 170 | } | ||
| 171 | } | ||
| 172 | } | ||
diff --git a/keyboards/nomu30/keymaps/default/config.h b/keyboards/nomu30/keymaps/default/config.h new file mode 100644 index 000000000..fb21eed1b --- /dev/null +++ b/keyboards/nomu30/keymaps/default/config.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* Copyright 2019 Naoto Takai | ||
| 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 | // place overrides here | ||
| 20 | |||
| 21 | #define TAPPING_TERM 200 | ||
| 22 | #define PERMISSIVE_HOLD | ||
diff --git a/keyboards/nomu30/keymaps/default/keymap.c b/keyboards/nomu30/keymaps/default/keymap.c new file mode 100644 index 000000000..8878c3b1e --- /dev/null +++ b/keyboards/nomu30/keymaps/default/keymap.c | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2019 Naoto Takai | ||
| 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 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | #define _BASE 0 | ||
| 19 | #define _NUMS 1 | ||
| 20 | #define _SYMS 2 | ||
| 21 | #define _FUNC 3 | ||
| 22 | |||
| 23 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 24 | [_BASE] = LAYOUT( | ||
| 25 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 26 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
| 27 | KC_LSFT, LALT_T(KC_Z), LGUI_T(KC_X), KC_C, LT(_SYMS, KC_V), LT(_FUNC, KC_B), LT(_NUMS, KC_N), KC_M, KC_SPC | ||
| 28 | ), | ||
| 29 | [_NUMS] = LAYOUT( | ||
| 30 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_GRV, | ||
| 31 | KC_TRNS, KC_LBRC, KC_RBRC, KC_SLSH, KC_BSLS, KC_TRNS, KC_MINS, KC_EQL, KC_SCLN, KC_QUOT, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_COMM, KC_DOT | ||
| 33 | ), | ||
| 34 | [_SYMS] = LAYOUT( | ||
| 35 | KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_TILD, | ||
| 36 | KC_TRNS, KC_LCBR, KC_RCBR, KC_QUES, KC_PIPE, KC_TRNS, KC_UNDS, KC_PLUS, KC_COLN, KC_DQUO, KC_TRNS, | ||
| 37 | KC_TRNS, KC_LABK, KC_RABK, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 38 | ), | ||
| 39 | [_FUNC] = LAYOUT( | ||
| 40 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, | ||
| 41 | KC_TAB, KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, RESET, | ||
| 42 | KC_TRNS, KC_LALT, KC_LGUI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
| 43 | ) | ||
| 44 | }; | ||
diff --git a/keyboards/nomu30/keymaps/default/readme.md b/keyboards/nomu30/keymaps/default/readme.md new file mode 100644 index 000000000..55bc45850 --- /dev/null +++ b/keyboards/nomu30/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for nomu30 | |||
diff --git a/keyboards/nomu30/nomu30.c b/keyboards/nomu30/nomu30.c new file mode 100644 index 000000000..37a8614c1 --- /dev/null +++ b/keyboards/nomu30/nomu30.c | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | /* Copyright 2019 Naoto Takai | ||
| 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 | #include "nomu30.h" | ||
diff --git a/keyboards/nomu30/nomu30.h b/keyboards/nomu30/nomu30.h new file mode 100644 index 000000000..e6c553bec --- /dev/null +++ b/keyboards/nomu30/nomu30.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* Copyright 2019 Naoto Takai | ||
| 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 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | /* This a shortcut to help you visually see your layout. | ||
| 21 | * | ||
| 22 | * The first section contains all of the arguments representing the physical | ||
| 23 | * layout of the board and position of the keys. | ||
| 24 | * | ||
| 25 | * The second converts the arguments into a two-dimensional array which | ||
| 26 | * represents the switch matrix. | ||
| 27 | */ | ||
| 28 | #define LAYOUT( \ | ||
| 29 | K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
| 30 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ | ||
| 31 | K200, K201, K202, K203, K204, K205, K206, K207, K208 \ | ||
| 32 | ) \ | ||
| 33 | { \ | ||
| 34 | { KC_NO, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
| 35 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, KC_NO }, \ | ||
| 36 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, KC_NO, KC_NO, KC_NO }, \ | ||
| 37 | } | ||
| 38 | |||
| 39 | #define LAYOUT_kc( \ | ||
| 40 | K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
| 41 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, \ | ||
| 42 | K200, K201, K202, K203, K204, K205, K206, K207, K208 \ | ||
| 43 | ) \ | ||
| 44 | LAYOUT( \ | ||
| 45 | KC_##K001, KC_##K002, KC_##K003, KC_##K004, KC_##K005, KC_##K006, KC_##K007, KC_##K008, KC_##K009, KC_##K010, KC_##K011, \ | ||
| 46 | KC_##K100, KC_##K101, KC_##K102, KC_##K103, KC_##K104, KC_##K105, KC_##K106, KC_##K107, KC_##K108, KC_##K109, KC_##K110, \ | ||
| 47 | KC_##K200, KC_##K201, KC_##K202, KC_##K203, KC_##K204, KC_##K205, KC_##K206, KC_##K207, KC_##K208 \ | ||
| 48 | ) | ||
diff --git a/keyboards/nomu30/readme.md b/keyboards/nomu30/readme.md new file mode 100644 index 000000000..95577164a --- /dev/null +++ b/keyboards/nomu30/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # nomu30 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A 30% keyboard with ISO enter. | ||
| 6 | |||
| 7 | Keyboard Maintainer: [Naoto Takai](https://github.com/takai) | ||
| 8 | Hardware Supported: The Nomu30 PCBs, ProMicro supported | ||
| 9 | Hardware Availability: https://keys.recompile.net/projects/nomu30/ | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make nomu30:default | ||
| 14 | |||
| 15 | 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). | ||
diff --git a/keyboards/nomu30/rules.mk b/keyboards/nomu30/rules.mk new file mode 100644 index 000000000..d4785aabb --- /dev/null +++ b/keyboards/nomu30/rules.mk | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | # MCU name | ||
| 2 | #MCU = at90usb1286 | ||
| 3 | MCU = atmega32u4 | ||
| 4 | |||
| 5 | # Processor frequency. | ||
| 6 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 7 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 8 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 9 | # automatically to create a 32-bit value in your source code. | ||
| 10 | # | ||
| 11 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 12 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 13 | # does not *change* the processor frequency - it should merely be updated to | ||
| 14 | # reflect the processor speed set externally so that the code can use accurate | ||
| 15 | # software delays. | ||
| 16 | F_CPU = 16000000 | ||
| 17 | |||
| 18 | |||
| 19 | # | ||
| 20 | # LUFA specific | ||
| 21 | # | ||
| 22 | # Target architecture (see library "Board Types" documentation). | ||
| 23 | ARCH = AVR8 | ||
| 24 | |||
| 25 | # Input clock frequency. | ||
| 26 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 27 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 28 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 29 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 30 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 31 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 32 | # source code. | ||
| 33 | # | ||
| 34 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 35 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 36 | F_USB = $(F_CPU) | ||
| 37 | |||
| 38 | # Interrupt driven control endpoint task(+60) | ||
| 39 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 40 | |||
| 41 | |||
| 42 | # Bootloader selection | ||
| 43 | # Teensy halfkay | ||
| 44 | # Pro Micro caterina | ||
| 45 | # Atmel DFU atmel-dfu | ||
| 46 | # LUFA DFU lufa-dfu | ||
| 47 | # QMK DFU qmk-dfu | ||
| 48 | # atmega32a bootloadHID | ||
| 49 | BOOTLOADER = caterina | ||
| 50 | |||
| 51 | |||
| 52 | # If you don't know the bootloader type, then you can specify the | ||
| 53 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 54 | # Teensy halfKay 512 | ||
| 55 | # Teensy++ halfKay 1024 | ||
| 56 | # Atmel DFU loader 4096 | ||
| 57 | # LUFA bootloader 4096 | ||
| 58 | # USBaspLoader 2048 | ||
| 59 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 60 | |||
| 61 | |||
| 62 | # Build Options | ||
| 63 | # change yes to no to disable | ||
| 64 | # | ||
| 65 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 66 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 67 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 68 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 69 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 70 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 71 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 72 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 73 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 74 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 75 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 76 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 77 | UNICODE_ENABLE = no # Unicode | ||
| 78 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 79 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 80 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 81 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
