diff options
| author | yulei <yuleiz@gmail.com> | 2021-08-14 14:35:32 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-14 16:35:32 +1000 |
| commit | ed350a1aa6eac4194a0f75af798b47a6e6e85164 (patch) | |
| tree | f09b08c32549cafc12c8ac20a197b7ecf90f8380 | |
| parent | 088d6abf5455ab8ea3e7f3071cd7ce674f12fce8 (diff) | |
| download | qmk_firmware-ed350a1aa6eac4194a0f75af798b47a6e6e85164.tar.gz qmk_firmware-ed350a1aa6eac4194a0f75af798b47a6e6e85164.zip | |
add falcon keyboard (#13674)
* added falcon keyboard
* Update keyboards/matrix/falcon/rules.mk
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/matrix/falcon/rules.mk
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Apply suggestions from code review
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Apply suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
* added description for the bootloader
* Apply suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
| -rw-r--r-- | keyboards/matrix/falcon/config.h | 72 | ||||
| -rw-r--r-- | keyboards/matrix/falcon/falcon.c | 28 | ||||
| -rw-r--r-- | keyboards/matrix/falcon/falcon.h | 51 | ||||
| -rw-r--r-- | keyboards/matrix/falcon/info.json | 12 | ||||
| -rw-r--r-- | keyboards/matrix/falcon/keymaps/default/keymap.c | 32 | ||||
| -rw-r--r-- | keyboards/matrix/falcon/keymaps/via/keymap.c | 46 | ||||
| -rw-r--r-- | keyboards/matrix/falcon/keymaps/via/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/matrix/falcon/readme.md | 25 | ||||
| -rw-r--r-- | keyboards/matrix/falcon/rules.mk | 24 |
9 files changed, 292 insertions, 0 deletions
diff --git a/keyboards/matrix/falcon/config.h b/keyboards/matrix/falcon/config.h new file mode 100644 index 000000000..afd0b5d3e --- /dev/null +++ b/keyboards/matrix/falcon/config.h | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | /** | ||
| 2 | * config.h | ||
| 3 | * | ||
| 4 | * Copyright 2021 astro | ||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 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 | 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 "config_common.h" | ||
| 19 | |||
| 20 | /* USB Device descriptor parameter */ | ||
| 21 | #define VENDOR_ID 0x4D58 | ||
| 22 | #define PRODUCT_ID 0x474E | ||
| 23 | #define DEVICE_VER 0x0001 | ||
| 24 | #define MANUFACTURER Matrix Lab | ||
| 25 | #define PRODUCT Falcon | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 5 | ||
| 29 | #define MATRIX_COLS 13 | ||
| 30 | |||
| 31 | #define MATRIX_ROW_PINS { F1, B7, F7, F5, F4} | ||
| 32 | #define MATRIX_COL_PINS { F6, B3, B2, B1, B0, C7, C6, B6, B5, B4, D7, D6, D4} | ||
| 33 | |||
| 34 | #define UNUSED_PINS | ||
| 35 | #define DIODE_DIRECTION ROW2COL | ||
| 36 | |||
| 37 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 38 | #define DEBOUNCE 5 | ||
| 39 | |||
| 40 | /* | ||
| 41 | * Feature disable options | ||
| 42 | * These options are also useful to firmware size reduction. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* disable debug print */ | ||
| 46 | //#define NO_DEBUG | ||
| 47 | |||
| 48 | /* disable print */ | ||
| 49 | //#define NO_PRINT | ||
| 50 | |||
| 51 | //rgb light setting | ||
| 52 | #define RGBLED_NUM 4 | ||
| 53 | #define RGB_DI_PIN D1 | ||
| 54 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 55 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 56 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 57 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 58 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 59 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 60 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 61 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 62 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 63 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 64 | #define RGBLIGHT_HUE_STEP 8 | ||
| 65 | #define RGBLIGHT_SAT_STEP 8 | ||
| 66 | #define RGBLIGHT_VAL_STEP 8 | ||
| 67 | |||
| 68 | //pin setting | ||
| 69 | #define LED_CAPS_LOCK_PIN E2 | ||
| 70 | #define LED_POWER_PIN D5 | ||
| 71 | #define CHG_EN_PIN E6 | ||
| 72 | #define BATTERY_LEVEL_PIN F0 | ||
diff --git a/keyboards/matrix/falcon/falcon.c b/keyboards/matrix/falcon/falcon.c new file mode 100644 index 000000000..0d7794431 --- /dev/null +++ b/keyboards/matrix/falcon/falcon.c | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | /** | ||
| 2 | * falcon.c | ||
| 3 | * Copyright 2021 astro | ||
| 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 | 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 | You should have received a copy of the GNU General Public License | ||
| 13 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | */ | ||
| 15 | |||
| 16 | #include "falcon.h" | ||
| 17 | |||
| 18 | void matrix_init_kb(void) | ||
| 19 | { | ||
| 20 | // enable charge | ||
| 21 | setPinOutput(CHG_EN_PIN); | ||
| 22 | writePinHigh(CHG_EN_PIN); | ||
| 23 | |||
| 24 | // enable led power | ||
| 25 | setPinOutput(LED_POWER_PIN); | ||
| 26 | writePinHigh(LED_POWER_PIN); | ||
| 27 | |||
| 28 | } | ||
diff --git a/keyboards/matrix/falcon/falcon.h b/keyboards/matrix/falcon/falcon.h new file mode 100644 index 000000000..f98ba0950 --- /dev/null +++ b/keyboards/matrix/falcon/falcon.h | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | /** | ||
| 2 | * falcon.h | ||
| 3 | * Copyright 2021 astro | ||
| 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 | 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 | You should have received a copy of the GNU General Public License | ||
| 13 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 14 | * | ||
| 15 | */ | ||
| 16 | #pragma once | ||
| 17 | |||
| 18 | #include "quantum.h" | ||
| 19 | |||
| 20 | |||
| 21 | // This a shortcut to help you visually see your layout. | ||
| 22 | // The first section contains all of the arguements | ||
| 23 | // The second converts the arguments into a two-dimensional array | ||
| 24 | |||
| 25 | #define LAYOUT_60_hhkb( \ | ||
| 26 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
| 27 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
| 28 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2d, \ | ||
| 29 | k30, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
| 30 | k41, k42, k43, k44, k45) \ | ||
| 31 | { \ | ||
| 32 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \ | ||
| 33 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c}, \ | ||
| 34 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b,KC_NO}, \ | ||
| 35 | { k30,KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c}, \ | ||
| 36 | {KC_NO, k41, k42,KC_NO,KC_NO, k43, k44, k45, k0e, k3d, k2d, k1d, k0d} \ | ||
| 37 | } | ||
| 38 | |||
| 39 | #define LAYOUT_all( \ | ||
| 40 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, \ | ||
| 41 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
| 42 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
| 43 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
| 44 | k41, k42, k43, k44, k45) \ | ||
| 45 | { \ | ||
| 46 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c}, \ | ||
| 47 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c}, \ | ||
| 48 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c}, \ | ||
| 49 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c}, \ | ||
| 50 | {KC_NO, k41, k42,KC_NO,KC_NO, k43, k44, k45, k0e, k3d, k2d, k1d, k0d} \ | ||
| 51 | } | ||
diff --git a/keyboards/matrix/falcon/info.json b/keyboards/matrix/falcon/info.json new file mode 100644 index 000000000..a7c48220c --- /dev/null +++ b/keyboards/matrix/falcon/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Matrix Lab Falcon", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "Astro", | ||
| 5 | "width": 15, | ||
| 6 | "height": 5, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_60_hhkb": { | ||
| 9 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"!", "x":1, "y":0}, {"label":"@", "x":2, "y":0}, {"label":"#", "x":3, "y":0}, {"label":"$", "x":4, "y":0}, {"label":"%", "x":5, "y":0}, {"label":"^", "x":6, "y":0}, {"label":"&", "x":7, "y":0}, {"label":"*", "x":8, "y":0}, {"label":"(", "x":9, "y":0}, {"label":")", "x":10, "y":0}, {"label":"_", "x":11, "y":0}, {"label":"+", "x":12, "y":0}, {"label":"|", "x":13, "y":0}, {"label":"~", "x":14, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.5}, {"label":"Q", "x":1.5, "y":1}, {"label":"W", "x":2.5, "y":1}, {"label":"E", "x":3.5, "y":1}, {"label":"R", "x":4.5, "y":1}, {"label":"T", "x":5.5, "y":1}, {"label":"Y", "x":6.5, "y":1}, {"label":"U", "x":7.5, "y":1}, {"label":"I", "x":8.5, "y":1}, {"label":"O", "x":9.5, "y":1}, {"label":"P", "x":10.5, "y":1}, {"label":"{", "x":11.5, "y":1}, {"label":"}", "x":12.5, "y":1}, {"label":"Delete", "x":13.5, "y":1, "w":1.5}, {"label":"Control", "x":0, "y":2, "w":1.75}, {"label":"A", "x":1.75, "y":2}, {"label":"S", "x":2.75, "y":2}, {"label":"D", "x":3.75, "y":2}, {"label":"F", "x":4.75, "y":2}, {"label":"G", "x":5.75, "y":2}, {"label":"H", "x":6.75, "y":2}, {"label":"J", "x":7.75, "y":2}, {"label":"K", "x":8.75, "y":2}, {"label":"L", "x":9.75, "y":2}, {"label":":", "x":10.75, "y":2}, {"label":"\"", "x":11.75, "y":2}, {"label":"Enter", "x":12.75, "y":2, "w":2.25}, {"label":"Shift", "x":0, "y":3, "w":2.25}, {"label":"Z", "x":2.25, "y":3}, {"label":"X", "x":3.25, "y":3}, {"label":"C", "x":4.25, "y":3}, {"label":"V", "x":5.25, "y":3}, {"label":"B", "x":6.25, "y":3}, {"label":"N", "x":7.25, "y":3}, {"label":"M", "x":8.25, "y":3}, {"label":"<", "x":9.25, "y":3}, {"label":">", "x":10.25, "y":3}, {"label":"?", "x":11.25, "y":3}, {"label":"Shift", "x":12.25, "y":3, "w":1.75}, {"label":"Fn", "x":14, "y":3}, {"label":"Os", "x":1.5, "y":4}, {"label":"Alt", "x":2.5, "y":4, "w":1.5}, {"x":4, "y":4, "w":7}, {"label":"Alt", "x":11, "y":4, "w":1.5}, {"label":"Os", "x":12.5, "y":4}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } \ No newline at end of file | ||
diff --git a/keyboards/matrix/falcon/keymaps/default/keymap.c b/keyboards/matrix/falcon/keymaps/default/keymap.c new file mode 100644 index 000000000..2860d515e --- /dev/null +++ b/keyboards/matrix/falcon/keymaps/default/keymap.c | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | /** | ||
| 2 | * keymap.c | ||
| 3 | * | ||
| 4 | Copyright 2021 astro | ||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 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 | 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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_60_hhkb( | ||
| 20 | KC_ESC, 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_BSLS, KC_GRV, | ||
| 21 | 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_BSPC, | ||
| 22 | 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, | ||
| 23 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 24 | KC_LCTL, KC_LALT, KC_SPC, KC_RALT, KC_RCTL), | ||
| 25 | |||
| 26 | [1] = LAYOUT_60_hhkb( | ||
| 27 | _______, 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_PSCR, | ||
| 28 | RESET, RGB_TOG,RGB_MOD,_______,KC_F13,KC_F14,_______,_______,_______,_______,_______,KC_PGUP,KC_PGDN,_______, | ||
| 29 | _______, _______,_______,_______,_______,_______,KC_LEFT,KC_DOWN, KC_UP,KC_RIGHT,KC_HOME,KC_END,_______, | ||
| 30 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 31 | _______,_______, _______, _______,_______), | ||
| 32 | }; | ||
diff --git a/keyboards/matrix/falcon/keymaps/via/keymap.c b/keyboards/matrix/falcon/keymaps/via/keymap.c new file mode 100644 index 000000000..03f9bab87 --- /dev/null +++ b/keyboards/matrix/falcon/keymaps/via/keymap.c | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /** | ||
| 2 | * keymap.c | ||
| 3 | * | ||
| 4 | Copyright 2021 astro | ||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 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 | 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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_all( | ||
| 20 | KC_ESC, 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_DEL, KC_BSPC, | ||
| 21 | 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, | ||
| 22 | 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_NUHS, KC_ENT, | ||
| 23 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 24 | KC_LCTL, KC_LALT, KC_SPC, KC_RGUI,KC_RALT), | ||
| 25 | |||
| 26 | [1] = LAYOUT_all( | ||
| 27 | KC_GRV, 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_DEL, | ||
| 28 | RESET, _______,KC_UP,_______,_______,_______,_______,_______,KC_PAUS,KC_SLCK,KC_PSCR,KC_PGUP,_______,KC_INS, | ||
| 29 | _______, KC_LEFT,KC_DOWN,KC_RIGHT,_______,_______,_______,_______, _______,_______,KC_HOME,KC_END,_______, _______, | ||
| 30 | _______,_______, _______,_______,_______,_______,_______,_______,_______,_______,_______,KC_PGDN,_______,_______, | ||
| 31 | _______,_______, _______, _______,MO(2)), | ||
| 32 | |||
| 33 | [2] = LAYOUT_all( | ||
| 34 | _______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______,_______,_______, | ||
| 35 | _______, _______,KC_VOLU,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 36 | KC_MUTE, KC_MPRV,KC_VOLD,KC_MNXT,_______,_______,_______,_______, _______,_______,_______,_______,_______, _______, | ||
| 37 | _______, _______, RGB_TOG,RGB_MOD,RGB_RMOD,RGB_VAI,RGB_VAD,RGB_HUI,RGB_HUD,RGB_SAI,RGB_SAD,_______,_______,_______, | ||
| 38 | _______,_______, KC_MPLY, _______,_______), | ||
| 39 | |||
| 40 | [3] = LAYOUT_all( | ||
| 41 | _______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______, _______,_______,_______,_______, | ||
| 42 | _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 43 | _______, _______,_______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, | ||
| 44 | _______, _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______, | ||
| 45 | _______,_______, _______, _______,_______) | ||
| 46 | }; | ||
diff --git a/keyboards/matrix/falcon/keymaps/via/rules.mk b/keyboards/matrix/falcon/keymaps/via/rules.mk new file mode 100644 index 000000000..36b7ba9cb --- /dev/null +++ b/keyboards/matrix/falcon/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | VIA_ENABLE = yes | ||
| 2 | LTO_ENABLE = yes | ||
diff --git a/keyboards/matrix/falcon/readme.md b/keyboards/matrix/falcon/readme.md new file mode 100644 index 000000000..c283650fc --- /dev/null +++ b/keyboards/matrix/falcon/readme.md | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | # Falcon AVR | ||
| 2 | |||
| 3 | PCB using atmega32u4 for the Matrix Falcon | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [astro](https://github.com/yulei) | ||
| 6 | * Hardware Supported: Matrix Falcon | ||
| 7 | * Hardware Availability: Limited GB | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make matrix/falcon:default | ||
| 12 | |||
| 13 | Flashing example for this keyboard: | ||
| 14 | |||
| 15 | make matrix/falcon:default:flash | ||
| 16 | |||
| 17 | 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). | ||
| 18 | |||
| 19 | ## Bootloader | ||
| 20 | |||
| 21 | Enter the bootloader in 3 ways: | ||
| 22 | |||
| 23 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard. | ||
| 24 | * **Physical reset button**: Briefly short cut the *RST* pin with the *GND* pin (pin at the topside of the *RST*) on the back of the PCB. | ||
| 25 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available. \ No newline at end of file | ||
diff --git a/keyboards/matrix/falcon/rules.mk b/keyboards/matrix/falcon/rules.mk new file mode 100644 index 000000000..9d1fe7ea8 --- /dev/null +++ b/keyboards/matrix/falcon/rules.mk | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
| 23 | |||
| 24 | LAYOUTS = 60_hhkb | ||
