diff options
| author | Naoto Takai <takai@recompile.net> | 2019-07-28 01:11:50 +0900 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-07-27 09:11:50 -0700 |
| commit | 57958ce88e91d53ac21611ae8da244c9d6a52721 (patch) | |
| tree | 7e1599762943a2d46e524af41f59e47de972a599 /keyboards/cocoa40 | |
| parent | dd6330b07c80eb624383e5bf01aec82035f68e2d (diff) | |
| download | qmk_firmware-57958ce88e91d53ac21611ae8da244c9d6a52721.tar.gz qmk_firmware-57958ce88e91d53ac21611ae8da244c9d6a52721.zip | |
[Keyboard] Add support for Cocoa40 (#6414)
Diffstat (limited to 'keyboards/cocoa40')
| -rw-r--r-- | keyboards/cocoa40/cocoa40.c | 43 | ||||
| -rw-r--r-- | keyboards/cocoa40/cocoa40.h | 44 | ||||
| -rw-r--r-- | keyboards/cocoa40/config.h | 55 | ||||
| -rw-r--r-- | keyboards/cocoa40/info.json | 12 | ||||
| -rw-r--r-- | keyboards/cocoa40/keymaps/default/config.h | 20 | ||||
| -rw-r--r-- | keyboards/cocoa40/keymaps/default/keymap.c | 55 | ||||
| -rw-r--r-- | keyboards/cocoa40/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/cocoa40/keymaps/default/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/cocoa40/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/cocoa40/rules.mk | 81 |
10 files changed, 327 insertions, 0 deletions
diff --git a/keyboards/cocoa40/cocoa40.c b/keyboards/cocoa40/cocoa40.c new file mode 100644 index 000000000..22d19828d --- /dev/null +++ b/keyboards/cocoa40/cocoa40.c | |||
| @@ -0,0 +1,43 @@ | |||
| 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 "cocoa40.h" | ||
| 17 | |||
| 18 | void matrix_init_kb(void) { | ||
| 19 | // put your keyboard start-up code here | ||
| 20 | // runs once when the firmware starts up | ||
| 21 | |||
| 22 | matrix_init_user(); | ||
| 23 | } | ||
| 24 | |||
| 25 | void matrix_scan_kb(void) { | ||
| 26 | // put your looping keyboard code here | ||
| 27 | // runs every cycle (a lot) | ||
| 28 | |||
| 29 | matrix_scan_user(); | ||
| 30 | } | ||
| 31 | |||
| 32 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 33 | // put your per-action keyboard code here | ||
| 34 | // runs for every action, just before processing by the firmware | ||
| 35 | |||
| 36 | return process_record_user(keycode, record); | ||
| 37 | } | ||
| 38 | |||
| 39 | void led_set_kb(uint8_t usb_led) { | ||
| 40 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
| 41 | |||
| 42 | led_set_user(usb_led); | ||
| 43 | } | ||
diff --git a/keyboards/cocoa40/cocoa40.h b/keyboards/cocoa40/cocoa40.h new file mode 100644 index 000000000..a468a75ef --- /dev/null +++ b/keyboards/cocoa40/cocoa40.h | |||
| @@ -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 | #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 | |||
| 29 | #define LAYOUT( \ | ||
| 30 | L00, L01, L02, L03, L04, L05, R00, R01, R02, R03, R04, R05, R06, R07, \ | ||
| 31 | L10, L11, L12, L13, L14, L15, R10, R11, R12, R13, R14, R15, R16, \ | ||
| 32 | L20, L21, L22, L23, L24, L25, R20, R21, R22, R23, R24, R25, R26, \ | ||
| 33 | L31, L32, L33, R30, R32, R33 \ | ||
| 34 | ) \ | ||
| 35 | { \ | ||
| 36 | { L00, L01, L02, L03, L04, L05, KC_NO, KC_NO }, \ | ||
| 37 | { L10, L11, L12, L13, L14, L15, KC_NO, KC_NO }, \ | ||
| 38 | { L20, L21, L22, L23, L24, L25, KC_NO, KC_NO }, \ | ||
| 39 | { KC_NO, L31, L32, L33, KC_NO, KC_NO, KC_NO, KC_NO }, \ | ||
| 40 | { R00, R01, R02, R03, R04, R05, R06, R07 }, \ | ||
| 41 | { R10, R11, R12, R13, R14, R15, R16, KC_NO }, \ | ||
| 42 | { R20, R21, R22, R23, R24, R25, R26, KC_NO }, \ | ||
| 43 | { R30, KC_NO, R32, R33, KC_NO, KC_NO, KC_NO, KC_NO } \ | ||
| 44 | } | ||
diff --git a/keyboards/cocoa40/config.h b/keyboards/cocoa40/config.h new file mode 100644 index 000000000..0dfa02aa6 --- /dev/null +++ b/keyboards/cocoa40/config.h | |||
| @@ -0,0 +1,55 @@ | |||
| 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 0x4000 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER recompile keys | ||
| 27 | #define PRODUCT cocoa40 | ||
| 28 | #define DESCRIPTION A 40% keyboard for programmers. | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 8 | ||
| 32 | #define MATRIX_COLS 8 | ||
| 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 { F4, F5, F6, F7 } | ||
| 45 | #define MATRIX_COL_PINS { B5, B4, E6, D7, C6, D4, D0, D1 } | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL*/ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | /* | ||
| 52 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 53 | */ | ||
| 54 | #define SOFT_SERIAL_PIN D2 // or D1, D2, D3, E6 | ||
| 55 | #define SPLIT_HAND_PIN D3 | ||
diff --git a/keyboards/cocoa40/info.json b/keyboards/cocoa40/info.json new file mode 100644 index 000000000..d359c0ddb --- /dev/null +++ b/keyboards/cocoa40/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Cocoa40", | ||
| 3 | "url": "https://keys.recompile.net/projects/cocoa40/", | ||
| 4 | "maintainer": "Naoto Takai", | ||
| 5 | "width": 15.25, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":7.25, "y":0}, {"label":"U", "x":8.25, "y":0}, {"label":"I", "x":9.25, "y":0}, {"label":"O", "x":10.25, "y":0}, {"label":"P", "x":11.25, "y":0}, {"label":"{", "x":12.25, "y":0}, {"label":"}", "x":13.25, "y":0}, {"label":"Back<br>Space", "x":14.25, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":7.5, "y":1}, {"label":"J", "x":8.5, "y":1}, {"label":"K", "x":9.5, "y":1}, {"label":"L", "x":10.5, "y":1}, {"label":":", "x":11.5, "y":1}, {"label":"\"", "x":12.5, "y":1}, {"label":"Enter", "x":13.5, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":8, "y":2}, {"label":"M", "x":9, "y":2}, {"label":"<", "x":10, "y":2}, {"label":">", "x":11, "y":2}, {"label":"?", "x":12, "y":2}, {"label":"Shift", "x":13, "y":2, "w":1.25}, {"label":"Fn", "x":14.25, "y":2}, {"label":"Opt", "x":1.5, "y":3}, {"label":"Command", "x":2.5, "y":3, "w":1.5}, {"label":"", "x":4, "y":3, "w":2.25}, {"label":"", "x":7.5, "y":3, "w":2.75}, {"label":"Command", "x":10.25, "y":3, "w":1.5}, {"label":"Opt", "x":11.75, "y":3}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/cocoa40/keymaps/default/config.h b/keyboards/cocoa40/keymaps/default/config.h new file mode 100644 index 000000000..01232ff92 --- /dev/null +++ b/keyboards/cocoa40/keymaps/default/config.h | |||
| @@ -0,0 +1,20 @@ | |||
| 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 | |||
diff --git a/keyboards/cocoa40/keymaps/default/keymap.c b/keyboards/cocoa40/keymaps/default/keymap.c new file mode 100644 index 000000000..320f918a9 --- /dev/null +++ b/keyboards/cocoa40/keymaps/default/keymap.c | |||
| @@ -0,0 +1,55 @@ | |||
| 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 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | enum layer_names { | ||
| 20 | _BASE, | ||
| 21 | _NUMS, | ||
| 22 | _SYMS, | ||
| 23 | _FN, | ||
| 24 | }; | ||
| 25 | |||
| 26 | #define KC_NUMS LT(_NUMS, KC_SPACE) | ||
| 27 | #define KC_SYMS LT(_SYMS, KC_SPACE) | ||
| 28 | #define KC_FN MO(_FN) | ||
| 29 | |||
| 30 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 31 | [_BASE] = LAYOUT( | ||
| 32 | KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRACKET, KC_RBRACKET, KC_BSPACE, | ||
| 33 | KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCOLON, KC_QUOTE, KC_ENTER, | ||
| 34 | KC_LSHIFT,KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_RSHIFT, KC_FN, | ||
| 35 | KC_LALT, KC_LGUI, KC_NUMS, KC_SYMS, KC_RGUI, KC_RALT | ||
| 36 | ), | ||
| 37 | [_NUMS] = LAYOUT( | ||
| 38 | KC_TAB, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BSLASH, | ||
| 39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, _______, _______ | ||
| 42 | ), | ||
| 43 | [_SYMS] = LAYOUT( | ||
| 44 | KC_TILDE, KC_EXCLAIM, KC_AT, KC_HASH, KC_DOLLAR, KC_PERCENT, KC_CIRCUMFLEX, KC_AMPERSAND, KC_ASTERISK, KC_LEFT_PAREN, KC_RIGHT_PAREN, KC_MINUS, KC_PLUS, KC_PIPE, | ||
| 45 | _______, _______, _______, _______, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RIGHT, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, _______, _______ | ||
| 48 | ), | ||
| 49 | [_FN] = LAYOUT( | ||
| 50 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DELETE, | ||
| 51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 52 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 53 | _______, _______, _______, _______, _______, _______ | ||
| 54 | ), | ||
| 55 | }; | ||
diff --git a/keyboards/cocoa40/keymaps/default/readme.md b/keyboards/cocoa40/keymaps/default/readme.md new file mode 100644 index 000000000..9e530faff --- /dev/null +++ b/keyboards/cocoa40/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for cocoa40 | |||
diff --git a/keyboards/cocoa40/keymaps/default/rules.mk b/keyboards/cocoa40/keymaps/default/rules.mk new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/keyboards/cocoa40/keymaps/default/rules.mk | |||
| @@ -0,0 +1 @@ | |||
diff --git a/keyboards/cocoa40/readme.md b/keyboards/cocoa40/readme.md new file mode 100644 index 000000000..e05caaba9 --- /dev/null +++ b/keyboards/cocoa40/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # cocoa40 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A 40% split keyboard for programmers. | ||
| 6 | |||
| 7 | Keyboard Maintainer: [Naoto Takai](https://github.com/takai) | ||
| 8 | Hardware Supported: The Cocoa40 PCBs, Pro Micro supported | ||
| 9 | Hardware Availability: https://keys.recompile.net/projects/cocoa40/ | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make cocoa40: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/cocoa40/rules.mk b/keyboards/cocoa40/rules.mk new file mode 100644 index 000000000..f7e529a4b --- /dev/null +++ b/keyboards/cocoa40/rules.mk | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Processor frequency. | ||
| 5 | # This will define a symbol, F_CPU, in all source code files equal to the | ||
| 6 | # processor frequency in Hz. You can then use this symbol in your source code to | ||
| 7 | # calculate timings. Do NOT tack on a 'UL' at the end, this will be done | ||
| 8 | # automatically to create a 32-bit value in your source code. | ||
| 9 | # | ||
| 10 | # This will be an integer division of F_USB below, as it is sourced by | ||
| 11 | # F_USB after it has run through any CPU prescalers. Note that this value | ||
| 12 | # does not *change* the processor frequency - it should merely be updated to | ||
| 13 | # reflect the processor speed set externally so that the code can use accurate | ||
| 14 | # software delays. | ||
| 15 | F_CPU = 16000000 | ||
| 16 | |||
| 17 | |||
| 18 | # | ||
| 19 | # LUFA specific | ||
| 20 | # | ||
| 21 | # Target architecture (see library "Board Types" documentation). | ||
| 22 | ARCH = AVR8 | ||
| 23 | |||
| 24 | # Input clock frequency. | ||
| 25 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 26 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 27 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 28 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 29 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 30 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 31 | # source code. | ||
| 32 | # | ||
| 33 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 34 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 35 | F_USB = $(F_CPU) | ||
| 36 | |||
| 37 | # Interrupt driven control endpoint task(+60) | ||
| 38 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 39 | |||
| 40 | |||
| 41 | # Bootloader selection | ||
| 42 | # Teensy halfkay | ||
| 43 | # Pro Micro caterina | ||
| 44 | # Atmel DFU atmel-dfu | ||
| 45 | # LUFA DFU lufa-dfu | ||
| 46 | # QMK DFU qmk-dfu | ||
| 47 | # atmega32a bootloadHID | ||
| 48 | BOOTLOADER = caterina | ||
| 49 | |||
| 50 | |||
| 51 | # If you don't know the bootloader type, then you can specify the | ||
| 52 | # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line | ||
| 53 | # Teensy halfKay 512 | ||
| 54 | # Teensy++ halfKay 1024 | ||
| 55 | # Atmel DFU loader 4096 | ||
| 56 | # LUFA bootloader 4096 | ||
| 57 | # USBaspLoader 2048 | ||
| 58 | # OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 59 | |||
| 60 | |||
| 61 | # Build Options | ||
| 62 | # change yes to no to disable | ||
| 63 | # | ||
| 64 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 65 | MOUSEKEY_ENABLE =no # Mouse keys(+4700) | ||
| 66 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 67 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 68 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 69 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 70 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 71 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 72 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 73 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 74 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 75 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | ||
| 76 | UNICODE_ENABLE = no # Unicode | ||
| 77 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 78 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 79 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 80 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) | ||
| 81 | SPLIT_KEYBOARD = yes | ||
