diff options
Diffstat (limited to 'keyboards/lazydesigners')
-rw-r--r-- | keyboards/lazydesigners/dimple/config.h | 6 | ||||
-rw-r--r-- | keyboards/lazydesigners/dimple/dimple.c | 4 | ||||
-rw-r--r-- | keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c | 109 | ||||
-rw-r--r-- | keyboards/lazydesigners/dimple/rules.mk | 40 | ||||
-rw-r--r-- | keyboards/lazydesigners/the30/config.h | 42 | ||||
-rw-r--r-- | keyboards/lazydesigners/the30/info.json | 44 | ||||
-rw-r--r-- | keyboards/lazydesigners/the30/keymaps/default/keymap.c | 56 | ||||
-rw-r--r-- | keyboards/lazydesigners/the30/keymaps/default/readme.md | 25 | ||||
-rw-r--r-- | keyboards/lazydesigners/the30/readme.md | 21 | ||||
-rw-r--r-- | keyboards/lazydesigners/the30/rules.mk | 35 | ||||
-rw-r--r-- | keyboards/lazydesigners/the30/the30.c | 16 | ||||
-rw-r--r-- | keyboards/lazydesigners/the30/the30.h | 38 | ||||
-rw-r--r-- | keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/lazydesigners/the50/rules.mk | 43 | ||||
-rw-r--r-- | keyboards/lazydesigners/the60/rules.mk | 43 |
15 files changed, 407 insertions, 117 deletions
diff --git a/keyboards/lazydesigners/dimple/config.h b/keyboards/lazydesigners/dimple/config.h index 9814d1050c..5c36a72527 100644 --- a/keyboards/lazydesigners/dimple/config.h +++ b/keyboards/lazydesigners/dimple/config.h @@ -58,9 +58,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* #define RGBLIGHT_SAT_STEP 8 */ /* #define RGBLIGHT_VAL_STEP 8 */ #endif - -/* CapsLock LED */ -#define BACKLIGHT_PIN E6 -#ifdef BACKLIGHT_PIN - #define BACKLIGHT_LEVELS 6 -#endif diff --git a/keyboards/lazydesigners/dimple/dimple.c b/keyboards/lazydesigners/dimple/dimple.c index 69fb2253fc..6bbb9a0477 100644 --- a/keyboards/lazydesigners/dimple/dimple.c +++ b/keyboards/lazydesigners/dimple/dimple.c @@ -16,11 +16,11 @@ #include "dimple.h" void dimple_led_on() { - writePinHigh(E6); + writePinLow(E6); } void dimple_led_off() { - writePinLow(E6); + writePinHigh(E6); } void keyboard_pre_init_kb(void) { diff --git a/keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c b/keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c new file mode 100644 index 0000000000..cdaade987f --- /dev/null +++ b/keyboards/lazydesigners/dimple/keymaps/tominabox1/keymap.c @@ -0,0 +1,109 @@ +#include QMK_KEYBOARD_H +#include "tominabox1.h" + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + +/* Base COLEMAK layer + * ,---------------------------------------------------------------. + * |GEsc| Q | W | F | P | G | J | L | U | Y | : | Bspc | + * |---------------------------------------------------------------| + * |Tab-Ctl| A | R | S | T | D | H | N | E | I | O |Quote| + * |---------------------------------------------------------------| + * |Shft/Cap| Z | X | C | V | B | K | M | , | Up | . | + * |---------------------------------------------------------------| + * |Ctrl|Gui |Alt | Spc/Lwr | Spc/Rse |Left|Down|Rght| + * `-----------------------------------------------------' + */ + + [_BASE] = LAYOUT_wrapper( + __________________DIMPLE1__________________, + __________________DIMPLE2__________________, + __________________DIMPLE3L_________________,__________________DIMPLE3R_________________, + __________________DIMPLE4__________________ + ), + +/* Lower Symbol Layer + * ,---------------------------------------------------------------. + * | ~ | ! | @ | # | $ | % | ^ | & | * | ( | ) | Del | + * |---------------------------------------------------------------| + * | Del | | | | | | | _ | + | { | } | | | + * |---------------------------------------------------------------| + * | | | | | | | | | ; |PgUp| ? | + * |---------------------------------------------------------------| + * | | | | | |Home|PgDn|End | + * `-----------------------------------------------------' + */ + + [_LOWER] = LAYOUT_wrapper( + _________________LOWER_1___________________, + _________________LOWER_2___________________, + _________________LOWER_3___________________, + _________________LOWER_4___________________ + ), + +/* Raise Number Layer + * ,---------------------------------------------------------------. + * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bspc | + * |---------------------------------------------------------------| + * | Ins | | | | | | | - | = | [ | ] | \ | + * |---------------------------------------------------------------| + * | | | | | | | | | | . | / | + * |---------------------------------------------------------------| + * |VolD|Mute|VolU| | | | | | + * `-----------------------------------------------------' + */ + + [_RAISE] = LAYOUT_wrapper( + ___________________RAISE1__________________, + ___________________RAISE2__________________, + ___________________RAISE3__________________, + ___________________RAISE4__________________ + + ), + +/* Adjust Layer + * ,---------------------------------------------------------------. + * |RST |EEP | | | | | | | | | | | + * |---------------------------------------------------------------| + * | MP | | | | | | | | | | | | + * |---------------------------------------------------------------| + * | MODE | HUI| HUD|M_SN| | | | | | | | + * |---------------------------------------------------------------| + * |RGB-|RGB |RGB+| | | | | | + * `-----------------------------------------------------' + */ + + [_ADJUST] = LAYOUT_wrapper( + ___________________ADJST1__________________, + ___________________ADJST2__________________, + ___________________ADJST3__________________, + ___________________ADJST4__________________ + + ), +/* Fkey Layer +* ,---------------------------------------------------------------. +* | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10| | +* |---------------------------------------------------------------| +* | | | | | | | | | | F11| F12| | +* |---------------------------------------------------------------| +* | | | | | | | | | | | | +* |---------------------------------------------------------------| +* | | | | | |FKEY| | | +* `-----------------------------------------------------' +*/ + + [_FKEY] = LAYOUT_wrapper( + ___________________FKEY1___________________, + ___________________FKEY2___________________, + ___________________FKEY3___________________, + ___________________FKEY4___________________ + ), +}; + +void led_set_user(uint8_t usb_led) { +if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { + writePinLow(E6); + } else { + writePinHigh(E6); + } +} diff --git a/keyboards/lazydesigners/dimple/rules.mk b/keyboards/lazydesigners/dimple/rules.mk index a818e871c6..99e4911afa 100644 --- a/keyboards/lazydesigners/dimple/rules.mk +++ b/keyboards/lazydesigners/dimple/rules.mk @@ -1,50 +1,14 @@ # MCU name MCU = atmega32u4 -# Processor frequency. -# This will define a symbol, F_CPU, in all source code files equal to the -# processor frequency in Hz. You can then use this symbol in your source code to -# calculate timings. Do NOT tack on a 'UL' at the end, this will be done -# automatically to create a 32-bit value in your source code. -# -# This will be an integer division of F_USB below, as it is sourced by -# F_USB after it has run through any CPU prescalers. Note that this value -# does not *change* the processor frequency - it should merely be updated to -# reflect the processor speed set externally so that the code can use accurate -# software delays. -F_CPU = 16000000 - - -# -# LUFA specific -# -# Target architecture (see library "Board Types" documentation). -ARCH = AVR8 - -# Input clock frequency. -# This will define a symbol, F_USB, in all source code files equal to the -# input clock frequency (before any prescaling is performed) in Hz. This value may -# differ from F_CPU if prescaling is used on the latter, and is required as the -# raw input clock is fed directly to the PLL sections of the AVR for high speed -# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' -# at the end, this will be done automatically to create a 32-bit value in your -# source code. -# -# If no clock division is performed on the input clock inside the AVR (via the -# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. -F_USB = $(F_CPU) - -# Interrupt driven control endpoint task(+60) -OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT - - # Bootloader selection # Teensy halfkay # Pro Micro caterina # Atmel DFU atmel-dfu # LUFA DFU lufa-dfu # QMK DFU qmk-dfu -# atmega32a bootloadHID +# ATmega32A bootloadHID +# ATmega328P USBasp BOOTLOADER = atmel-dfu # Build Options diff --git a/keyboards/lazydesigners/the30/config.h b/keyboards/lazydesigners/the30/config.h new file mode 100644 index 0000000000..fdd76fe730 --- /dev/null +++ b/keyboards/lazydesigners/the30/config.h @@ -0,0 +1,42 @@ +/* +Copyright 2019 Erovia + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#pragma once + +#include "config_common.h" + +/* USB Device descriptor parameter */ +#define VENDOR_ID 0xFEED +#define PRODUCT_ID 0x0030 +#define DEVICE_VER 0x0001 +#define MANUFACTURER LazyDesigners +#define PRODUCT THE30 +#define DESCRIPTION A 30% keyboard + +/* key matrix size */ +#define MATRIX_ROWS 3 +#define MATRIX_COLS 10 + +/* key matrix pins */ +#define MATRIX_ROW_PINS { D0, D1, D2 } +#define MATRIX_COL_PINS { B1, B2, B3, D4, D6, D7, B4, B5, B6, C6 } + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + +#define BACKLIGHT_PIN B7 +#define BACKLIGHT_LEVELS 3 diff --git a/keyboards/lazydesigners/the30/info.json b/keyboards/lazydesigners/the30/info.json new file mode 100644 index 0000000000..97974112eb --- /dev/null +++ b/keyboards/lazydesigners/the30/info.json @@ -0,0 +1,44 @@ +{ + "keyboard_name": "THE30", + "url": "http://lazydesigners.cn", + "maintainer": "Erovia", + "width": 10, + "height": 3, + "layouts": { + "LAYOUT_ortho_3x10": { + "key_count": 30, + "layout": [ + {"label":"Q", "x":0, "y":0}, + {"label":"W", "x":1, "y":0}, + {"label":"E", "x":2, "y":0}, + {"label":"R", "x":3, "y":0}, + {"label":"T", "x":4, "y":0}, + {"label":"Y", "x":5, "y":0}, + {"label":"U", "x":6, "y":0}, + {"label":"I", "x":7, "y":0}, + {"label":"O", "x":8, "y":0}, + {"label":"P", "x":9, "y":0}, + {"label":"A", "x":0, "y":1}, + {"label":"S", "x":1, "y":1}, + {"label":"D", "x":2, "y":1}, + {"label":"F", "x":3, "y":1}, + {"label":"G", "x":4, "y":1}, + {"label":"H", "x":5, "y":1}, + {"label":"J", "x":6, "y":1}, + {"label":"K", "x":7, "y":1}, + {"label":"L", "x":8, "y":1}, + {"label":"ENTER", "x":9, "y":1}, + {"label":"Z", "x":0, "y":2}, + {"label":"X", "x":1, "y":2}, + {"label":"C", "x":2, "y":2}, + {"label":"V", "x":3, "y":2}, + {"label":"B", "x":4, "y":2}, + {"label":"N", "x":5, "y":2}, + {"label":"M", "x":6, "y":2}, + {"label":",", "x":7, "y":2}, + {"label":".", "x":8, "y":2}, + {"label":"/", "x":9, "y":2} + ] + } + } +} diff --git a/keyboards/lazydesigners/the30/keymaps/default/keymap.c b/keyboards/lazydesigners/the30/keymaps/default/keymap.c new file mode 100644 index 0000000000..e15fad7eb3 --- /dev/null +++ b/keyboards/lazydesigners/the30/keymaps/default/keymap.c @@ -0,0 +1,56 @@ +/* Copyright 2019 Erovia + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#include QMK_KEYBOARD_H + +enum custom_layers { + _QWERTY, + _FN +}; + +/* Press for Enter, hold for FN layer */ +#define FN_ENT LT(_FN, KC_ENT) + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { +/* + * ,-------------------------------------------------. + * | Q | W | E | R | T | Y | U | I | O | P | + * |-------------------------------------------------| + * | A | S | D | F | G | H | J | K | L |ENT | + * |-------------------------------------------------| + * | Z | X | C | V | B | N | M | , | . | / | + * `-------------------------------------------------' + */ + [_QWERTY] = LAYOUT_ortho_3x10( + KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, + KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, FN_ENT, + KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH + ), +/* + * ,-------------------------------------------------. + * | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | + * |-------------------------------------------------| + * | | | | | | | | | | | + * |-------------------------------------------------| + * |RST |ERST| | |SPC | | | | | | + * `-------------------------------------------------' + */ + [_FN] = LAYOUT_ortho_3x10( + KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, + _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + RESET, EEP_RST, _______, _______, KC_SPC, _______, _______, _______, _______, _______ + ), + +}; diff --git a/keyboards/lazydesigners/the30/keymaps/default/readme.md b/keyboards/lazydesigners/the30/keymaps/default/readme.md new file mode 100644 index 0000000000..7df2b3b0a9 --- /dev/null +++ b/keyboards/lazydesigners/the30/keymaps/default/readme.md @@ -0,0 +1,25 @@ +# The default keymap for THE30 + +_Very simple keymap for testing and for easy access to RESET_ + +## QWERTY (Normal) Layer +``` +,-------------------------------------------------. +| Q | W | E | R | T | Y | U | I | O | P | +|-------------------------------------------------| +| A | S | D | F | G | H | J | K | L |ENT | +|-------------------------------------------------| +| Z | X | C | V | B | N | M | , | . | / | +`-------------------------------------------------' +``` + +## FN Layer +``` +,-------------------------------------------------. +| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | +|-------------------------------------------------| +| | | | | | | | | | | +|-------------------------------------------------| +|RST |ERST| | |SPC | | | | | | +`-------------------------------------------------' +``` diff --git a/keyboards/lazydesigners/the30/readme.md b/keyboards/lazydesigners/the30/readme.md new file mode 100644 index 0000000000..a00e4d1fa1 --- /dev/null +++ b/keyboards/lazydesigners/the30/readme.md @@ -0,0 +1,21 @@ +# THE30 + +![the30](https://i.loli.net/2019/11/06/KTn3dNjreigovRz.jpg) + +A 30% custom keyboard designed and produced by [LazyDesigners](http://lazydesigners.cn). + +* Keyboard Maintainer: [Erovia](https://github.com/Erovia) +* Hardware Supported: THE30 +* Hardware Availability: Check for GBs on [Geekhack](https://geekhack.org) and on [LazyDesigner's homepage.](http://lazydesigners.cn) + +Make example for this keyboard (after setting up your build environment): + + make lazydesigners/the30:default + +Flashing example for this keyboard ([using the command line](https://docs.qmk.fm/#/newbs_flashing?id=flash-your-keyboard-from-the-command-line)): + + make lazydesigners/the30:default:flash + +To enter the bootloader, either press the RESET button on the PCB or the RESET button if the current keymap has one. + +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/lazydesigners/the30/rules.mk b/keyboards/lazydesigners/the30/rules.mk new file mode 100644 index 0000000000..6c1e24fda0 --- /dev/null +++ b/keyboards/lazydesigners/the30/rules.mk @@ -0,0 +1,35 @@ +# MCU name +MCU = atmega32u4 + +# Bootloader selection +# Teensy halfkay +# Pro Micro caterina +# Atmel DFU atmel-dfu +# LUFA DFU lufa-dfu +# QMK DFU qmk-dfu +# ATmega32A bootloadHID +# ATmega328P USBasp +BOOTLOADER = atmel-dfu + +# Build Options +# change yes to no to disable +# +BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration +MOUSEKEY_ENABLE = yes # Mouse keys +EXTRAKEY_ENABLE = yes # Audio control and System control +CONSOLE_ENABLE = no # Console for debug +COMMAND_ENABLE = no # Commands for debug and configuration +# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE +SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend +# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work +NKRO_ENABLE = yes # USB Nkey Rollover +BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality +RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow +MIDI_ENABLE = no # MIDI support +BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID +AUDIO_ENABLE = no # Audio output on port C6 +FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches +HD44780_ENABLE = no # Enable support for HD44780 based LCDs + +# Support community keymaps +LAYOUTS = ortho_3x10 diff --git a/keyboards/lazydesigners/the30/the30.c b/keyboards/lazydesigners/the30/the30.c new file mode 100644 index 0000000000..c41e16dc08 --- /dev/null +++ b/keyboards/lazydesigners/the30/the30.c @@ -0,0 +1,16 @@ +/* Copyright 2019 Erovia + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#include "the30.h" diff --git a/keyboards/lazydesigners/the30/the30.h b/keyboards/lazydesigners/the30/the30.h new file mode 100644 index 0000000000..82a6bf8ba5 --- /dev/null +++ b/keyboards/lazydesigners/the30/the30.h @@ -0,0 +1,38 @@ +/* Copyright 2019 Erovia + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ +#pragma once + +#include "quantum.h" + +/* + * ,-------------------------------------------------. + * | | | | | | | | | | | + * |-------------------------------------------------| + * | | | | | | | | | | | + * |-------------------------------------------------| + * | | | | | | | | | | | + * `-------------------------------------------------' + */ + +#define LAYOUT_ortho_3x10( \ + K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ + K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ + K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 \ +) { \ + { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09 }, \ + { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19 }, \ + { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29 }, \ +} diff --git a/keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c b/keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c index a792d34fbd..18261dbba6 100644 --- a/keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c +++ b/keyboards/lazydesigners/the50/keymaps/mikethetiger/keymap.c @@ -1,4 +1,4 @@ -#include QMK_KEYBOARD_H +#include QMK_KEYBOARD_H enum custom_layers { _QWERTY, diff --git a/keyboards/lazydesigners/the50/rules.mk b/keyboards/lazydesigners/the50/rules.mk index ae211ec66e..561e38a997 100644 --- a/keyboards/lazydesigners/the50/rules.mk +++ b/keyboards/lazydesigners/the50/rules.mk @@ -1,41 +1,14 @@ # MCU name MCU = atmega32u4 -# Processor frequency. -# This will define a symbol, F_CPU, in all source code files equal to the -# processor frequency in Hz. You can then use this symbol in your source code to -# calculate timings. Do NOT tack on a 'UL' at the end, this will be done -# automatically to create a 32-bit value in your source code. -# -# This will be an integer division of F_USB below, as it is sourced by -# F_USB after it has run through any CPU prescalers. Note that this value -# does not *change* the processor frequency - it should merely be updated to -# reflect the processor speed set externally so that the code can use accurate -# software delays. -F_CPU = 16000000 - -# -# LUFA specific -# -# Target architecture (see library "Board Types" documentation). -ARCH = AVR8 - -# Input clock frequency. -# This will define a symbol, F_USB, in all source code files equal to the -# input clock frequency (before any prescaling is performed) in Hz. This value may -# differ from F_CPU if prescaling is used on the latter, and is required as the -# raw input clock is fed directly to the PLL sections of the AVR for high speed -# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' -# at the end, this will be done automatically to create a 32-bit value in your -# source code. -# -# If no clock division is performed on the input clock inside the AVR (via the -# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. -F_USB = $(F_CPU) - -# Interrupt driven control endpoint task(+60) -OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT - +# Bootloader selection +# Teensy halfkay +# Pro Micro caterina +# Atmel DFU atmel-dfu +# LUFA DFU lufa-dfu +# QMK DFU qmk-dfu +# ATmega32A bootloadHID +# ATmega328P USBasp BOOTLOADER = atmel-dfu # Build Options diff --git a/keyboards/lazydesigners/the60/rules.mk b/keyboards/lazydesigners/the60/rules.mk index 76fb44b2c8..97ea15d34a 100644 --- a/keyboards/lazydesigners/the60/rules.mk +++ b/keyboards/lazydesigners/the60/rules.mk @@ -1,41 +1,14 @@ # MCU name MCU = atmega32u4 -# Processor frequency. -# This will define a symbol, F_CPU, in all source code files equal to the -# processor frequency in Hz. You can then use this symbol in your source code to -# calculate timings. Do NOT tack on a 'UL' at the end, this will be done -# automatically to create a 32-bit value in your source code. -# -# This will be an integer division of F_USB below, as it is sourced by -# F_USB after it has run through any CPU prescalers. Note that this value -# does not *change* the processor frequency - it should merely be updated to -# reflect the processor speed set externally so that the code can use accurate -# software delays. -F_CPU = 16000000 - -# -# LUFA specific -# -# Target architecture (see library "Board Types" documentation). -ARCH = AVR8 - -# Input clock frequency. -# This will define a symbol, F_USB, in all source code files equal to the -# input clock frequency (before any prescaling is performed) in Hz. This value may -# differ from F_CPU if prescaling is used on the latter, and is required as the -# raw input clock is fed directly to the PLL sections of the AVR for high speed -# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' -# at the end, this will be done automatically to create a 32-bit value in your -# source code. -# -# If no clock division is performed on the input clock inside the AVR (via the -# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. -F_USB = $(F_CPU) - -# Interrupt driven control endpoint task(+60) -OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT - +# Bootloader selection +# Teensy halfkay +# Pro Micro caterina +# Atmel DFU atmel-dfu +# LUFA DFU lufa-dfu +# QMK DFU qmk-dfu +# ATmega32A bootloadHID +# ATmega328P USBasp BOOTLOADER = atmel-dfu # Build Options |