diff options
| author | Ryan <fauxpark@gmail.com> | 2021-02-22 11:49:13 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-22 00:49:13 +0000 |
| commit | 316dcf49605be88b24e81ed61e6a7659a6c3892f (patch) | |
| tree | c95b2dcddf088630ac43ae1da86f736ec9b107b2 /keyboards/planck | |
| parent | c1e6febef74936584bf0e3a7ab17480ced13419c (diff) | |
| download | qmk_firmware-316dcf49605be88b24e81ed61e6a7659a6c3892f.tar.gz qmk_firmware-316dcf49605be88b24e81ed61e6a7659a6c3892f.zip | |
Clean up some user keymaps specifying MCU (#11966)
Diffstat (limited to 'keyboards/planck')
| -rw-r--r-- | keyboards/planck/keymaps/dodger/config.h | 67 | ||||
| -rw-r--r-- | keyboards/planck/keymaps/dodger/rules.mk | 70 | ||||
| -rw-r--r-- | keyboards/planck/keymaps/handwired_binaryplease/config.h | 36 | ||||
| -rw-r--r-- | keyboards/planck/keymaps/handwired_binaryplease/rules.mk | 72 | ||||
| -rw-r--r-- | keyboards/planck/keymaps/kloki/config.h | 7 | ||||
| -rw-r--r-- | keyboards/planck/keymaps/kloki/rules.mk | 72 | ||||
| -rw-r--r-- | keyboards/planck/keymaps/vaire/config.h | 6 | ||||
| -rw-r--r-- | keyboards/planck/keymaps/vaire/rules.mk | 84 |
8 files changed, 20 insertions, 394 deletions
diff --git a/keyboards/planck/keymaps/dodger/config.h b/keyboards/planck/keymaps/dodger/config.h index 38af37bc0..e0a83f7cb 100644 --- a/keyboards/planck/keymaps/dodger/config.h +++ b/keyboards/planck/keymaps/dodger/config.h | |||
| @@ -15,70 +15,7 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef CONFIG_H | 18 | #pragma once |
| 19 | #define CONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #undef BACKLIGHT_LEVELS |
| 22 | |||
| 23 | /* USB Device descriptor parameter */ | ||
| 24 | #define VENDOR_ID 0xFEED | ||
| 25 | #define PRODUCT_ID 0x6060 | ||
| 26 | #define MANUFACTURER OLKB | ||
| 27 | #define PRODUCT Planck | ||
| 28 | |||
| 29 | /* key matrix size */ | ||
| 30 | #define MATRIX_ROWS 4 | ||
| 31 | #define MATRIX_COLS 12 | ||
| 32 | |||
| 33 | /* Planck PCB default pin-out */ | ||
| 34 | #define MATRIX_ROW_PINS { D0, D5, B5, B6 } | ||
| 35 | #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 } | ||
| 36 | #define UNUSED_PINS | ||
| 37 | |||
| 38 | #define QMK_ESC_OUTPUT F1 | ||
| 39 | #define QMK_ESC_INPUT D5 | ||
| 40 | #define QMK_LED E6 | ||
| 41 | #define QMK_SPEAKER C6 | ||
| 42 | |||
| 43 | #define AUDIO_VOICES | ||
| 44 | #define AUDIO_PIN C6 | ||
| 45 | |||
| 46 | #define BACKLIGHT_PIN B7 | ||
| 47 | |||
| 48 | /* COL2ROW or ROW2COL */ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | /* define if matrix has ghost */ | ||
| 52 | //#define MATRIX_HAS_GHOST | ||
| 53 | |||
| 54 | /* number of backlight levels */ | ||
| 55 | #define BACKLIGHT_LEVELS 15 | 21 | #define BACKLIGHT_LEVELS 15 |
| 56 | |||
| 57 | /* Set 0 if debouncing isn't needed */ | ||
| 58 | #define DEBOUNCE 5 | ||
| 59 | |||
| 60 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 61 | #define LOCKING_SUPPORT_ENABLE | ||
| 62 | /* Locking resynchronize hack */ | ||
| 63 | #define LOCKING_RESYNC_ENABLE | ||
| 64 | |||
| 65 | /* | ||
| 66 | * Feature disable options | ||
| 67 | * These options are also useful to firmware size reduction. | ||
| 68 | */ | ||
| 69 | |||
| 70 | /* disable debug print */ | ||
| 71 | //#define NO_DEBUG | ||
| 72 | |||
| 73 | /* disable print */ | ||
| 74 | //#define NO_PRINT | ||
| 75 | |||
| 76 | /* disable action features */ | ||
| 77 | //#define NO_ACTION_LAYER | ||
| 78 | //#define NO_ACTION_TAPPING | ||
| 79 | //#define NO_ACTION_ONESHOT | ||
| 80 | //#define NO_ACTION_MACRO | ||
| 81 | //#define NO_ACTION_FUNCTION | ||
| 82 | |||
| 83 | #define TAPPING_TERM 200 | ||
| 84 | #endif | ||
diff --git a/keyboards/planck/keymaps/dodger/rules.mk b/keyboards/planck/keymaps/dodger/rules.mk index 032f5af68..1246db743 100644 --- a/keyboards/planck/keymaps/dodger/rules.mk +++ b/keyboards/planck/keymaps/dodger/rules.mk | |||
| @@ -1,69 +1,3 @@ | |||
| 1 | # MCU name | 1 | CONSOLE_ENABLE = no |
| 2 | MCU = atmega32u4 | 2 | BACKLIGHT_ENABLE = yes |
| 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 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Bootloader | ||
| 37 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 38 | # different sizes, comment this out, and the correct address will be loaded | ||
| 39 | # automatically (+60). See bootloader.mk for all options. | ||
| 40 | BOOTLOADER = atmel-dfu | ||
| 41 | |||
| 42 | # Interrupt driven control endpoint task(+60) | ||
| 43 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 44 | |||
| 45 | # Build Options | ||
| 46 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 47 | # the appropriate keymap folder that will get included automatically | ||
| 48 | # | ||
| 49 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 50 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 51 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 52 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 53 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 54 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 55 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 56 | MIDI_ENABLE = no # MIDI controls | ||
| 57 | AUDIO_ENABLE = yes # Audio output on port C6 | ||
| 58 | UNICODE_ENABLE = no # Unicode | ||
| 59 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 60 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
| 61 | API_SYSEX_ENABLE = no | ||
| 62 | TAP_DANCE_ENABLE = yes | 3 | TAP_DANCE_ENABLE = yes |
| 63 | |||
| 64 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 65 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 66 | |||
| 67 | LAYOUTS = ortho_4x12 planck_mit planck_grid | ||
| 68 | |||
| 69 | DEFAULT_FOLDER = planck/rev5 | ||
diff --git a/keyboards/planck/keymaps/handwired_binaryplease/config.h b/keyboards/planck/keymaps/handwired_binaryplease/config.h index 8cd4fe40a..abf9f5771 100644 --- a/keyboards/planck/keymaps/handwired_binaryplease/config.h +++ b/keyboards/planck/keymaps/handwired_binaryplease/config.h | |||
| @@ -1,37 +1,11 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H | ||
| 3 | 2 | ||
| 4 | #include "../../config.h" | ||
| 5 | |||
| 6 | /* USB Device descriptor parameter */ | ||
| 7 | |||
| 8 | |||
| 9 | |||
| 10 | #undef VENDOR_ID | ||
| 11 | #undef PRODUCT_ID | ||
| 12 | #undef MANUFACTURER | 3 | #undef MANUFACTURER |
| 4 | #define MANUFACTURER binaryplease | ||
| 13 | #undef PRODUCT | 5 | #undef PRODUCT |
| 14 | #undef MATRIX_ROW_PINS | 6 | #define PRODUCT Teensy_Planck |
| 15 | #undef MATRIX_COL_PINS | ||
| 16 | #undef UNUSED_PINS | ||
| 17 | #undef BACKLIGHT_PIN | ||
| 18 | #undef BACKLIGHT_LEVELS | ||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | #define VENDOR_ID 0xFEED | ||
| 23 | #define PRODUCT_ID 0x6060 | ||
| 24 | #define MANUFACTURER binaryplease | ||
| 25 | #define PRODUCT Teensy_Planck | ||
| 26 | 7 | ||
| 8 | #undef MATRIX_ROW_PINS | ||
| 27 | #define MATRIX_ROW_PINS { D3, D2, D1, D0 } | 9 | #define MATRIX_ROW_PINS { D3, D2, D1, D0 } |
| 10 | #undef MATRIX_COL_PINS | ||
| 28 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, B6, B5, B4, D7, D6, D4 } | 11 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, B6, B5, B4, D7, D6, D4 } |
| 29 | #define UNUSED_PINS | ||
| 30 | |||
| 31 | #define BACKLIGHT_PIN B7 | ||
| 32 | |||
| 33 | /* number of backlight levels */ | ||
| 34 | #define BACKLIGHT_LEVELS 0 | ||
| 35 | |||
| 36 | |||
| 37 | #endif | ||
diff --git a/keyboards/planck/keymaps/handwired_binaryplease/rules.mk b/keyboards/planck/keymaps/handwired_binaryplease/rules.mk index cf37fa6f3..459c7bce6 100644 --- a/keyboards/planck/keymaps/handwired_binaryplease/rules.mk +++ b/keyboards/planck/keymaps/handwired_binaryplease/rules.mk | |||
| @@ -1,68 +1,4 @@ | |||
| 1 | # MCU name | 1 | CONSOLE_ENABLE = no |
| 2 | MCU = atmega32u4 | 2 | NKRO_ENABLE = no |
| 3 | 3 | MIDI_ENABLE = yes | |
| 4 | # Processor frequency. | 4 | AUDIO_ENABLE = no |
| 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 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | |||
| 40 | # Boot Section Size in *bytes* | ||
| 41 | # Teensy halfKay 512 | ||
| 42 | # Teensy++ halfKay 1024 | ||
| 43 | # Atmel DFU loader 4096 | ||
| 44 | # LUFA bootloader 4096 | ||
| 45 | # USBaspLoader 2048 | ||
| 46 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 47 | |||
| 48 | # Build Options | ||
| 49 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 50 | # the appropriate keymap folder that will get included automatically | ||
| 51 | # | ||
| 52 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 53 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 54 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 55 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 56 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 57 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 58 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 59 | MIDI_ENABLE = yes # MIDI controls | ||
| 60 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 61 | UNICODE_ENABLE = no # Unicode | ||
| 62 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 63 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
| 64 | API_SYSEX_ENABLE = no | ||
| 65 | |||
| 66 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 67 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 68 | |||
diff --git a/keyboards/planck/keymaps/kloki/config.h b/keyboards/planck/keymaps/kloki/config.h index 59bf4aa2a..6166fea4a 100644 --- a/keyboards/planck/keymaps/kloki/config.h +++ b/keyboards/planck/keymaps/kloki/config.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include "../../config.h" | ||
| 5 | 2 | ||
| 6 | #ifdef AUDIO_ENABLE | 3 | #ifdef AUDIO_ENABLE |
| 7 | #define STARTUP_SONG SONG(PLANCK_SOUND) | 4 | #define STARTUP_SONG SONG(PLANCK_SOUND) |
| @@ -35,5 +32,3 @@ | |||
| 35 | 32 | ||
| 36 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | 33 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ |
| 37 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 | 34 | //#define MIDI_TONE_KEYCODE_OCTAVES 2 |
| 38 | |||
| 39 | #endif \ No newline at end of file | ||
diff --git a/keyboards/planck/keymaps/kloki/rules.mk b/keyboards/planck/keymaps/kloki/rules.mk index 02926bffa..4f9189130 100644 --- a/keyboards/planck/keymaps/kloki/rules.mk +++ b/keyboards/planck/keymaps/kloki/rules.mk | |||
| @@ -1,70 +1,2 @@ | |||
| 1 | # MCU name | 1 | MOUSEKEY_ENABLE = yes |
| 2 | MCU = atmega32u4 | 2 | NKRO_ENABLE = no |
| 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 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Interrupt driven control endpoint task(+60) | ||
| 37 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 38 | |||
| 39 | |||
| 40 | # Boot Section Size in *bytes* | ||
| 41 | # Teensy halfKay 512 | ||
| 42 | # Teensy++ halfKay 1024 | ||
| 43 | # Atmel DFU loader 4096 | ||
| 44 | # LUFA bootloader 4096 | ||
| 45 | # USBaspLoader 2048 | ||
| 46 | OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
| 47 | |||
| 48 | # Build Options | ||
| 49 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 50 | # the appropriate keymap folder that will get included automatically | ||
| 51 | # | ||
| 52 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 53 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 54 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 55 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 56 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 57 | NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 58 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 59 | MIDI_ENABLE = no # MIDI controls | ||
| 60 | AUDIO_ENABLE = yes # Audio output on port C6 | ||
| 61 | UNICODE_ENABLE = no # Unicode | ||
| 62 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 63 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
| 64 | API_SYSEX_ENABLE = no | ||
| 65 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 66 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 67 | |||
| 68 | LAYOUTS = ortho_4x12 planck_mit planck_grid | ||
| 69 | |||
| 70 | DEFAULT_FOLDER = planck/rev4 | ||
diff --git a/keyboards/planck/keymaps/vaire/config.h b/keyboards/planck/keymaps/vaire/config.h index b247df785..a5e236e4a 100644 --- a/keyboards/planck/keymaps/vaire/config.h +++ b/keyboards/planck/keymaps/vaire/config.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | #pragma | 1 | #pragma once |
| 2 | |||
| 3 | |||
| 4 | |||
| 5 | 2 | ||
| 6 | /* | 3 | /* |
| 7 | * MIDI options | 4 | * MIDI options |
| @@ -15,7 +12,6 @@ | |||
| 15 | #define MOUSEKEY_TIME_TO_MAX 60 | 12 | #define MOUSEKEY_TIME_TO_MAX 60 |
| 16 | #define MOUSEKEY_MAX_SPEED 7 | 13 | #define MOUSEKEY_MAX_SPEED 7 |
| 17 | #define MOUSEKEY_WHEEL_DELAY 0 | 14 | #define MOUSEKEY_WHEEL_DELAY 0 |
| 18 | |||
| 19 | 15 | ||
| 20 | #define MIDI_BASIC | 16 | #define MIDI_BASIC |
| 21 | 17 | ||
diff --git a/keyboards/planck/keymaps/vaire/rules.mk b/keyboards/planck/keymaps/vaire/rules.mk index f9dfeb726..427c06822 100644 --- a/keyboards/planck/keymaps/vaire/rules.mk +++ b/keyboards/planck/keymaps/vaire/rules.mk | |||
| @@ -1,81 +1,3 @@ | |||
| 1 | # MCU name | 1 | MOUSEKEY_ENABLE = yes |
| 2 | MCU = atmega32u4 | 2 | CONSOLE_ENABLE = no |
| 3 | 3 | BACKLIGHT_ENABLE = yes | |
| 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 | # LUFA specific | ||
| 19 | # | ||
| 20 | # Target architecture (see library "Board Types" documentation). | ||
| 21 | ARCH = AVR8 | ||
| 22 | |||
| 23 | # Input clock frequency. | ||
| 24 | # This will define a symbol, F_USB, in all source code files equal to the | ||
| 25 | # input clock frequency (before any prescaling is performed) in Hz. This value may | ||
| 26 | # differ from F_CPU if prescaling is used on the latter, and is required as the | ||
| 27 | # raw input clock is fed directly to the PLL sections of the AVR for high speed | ||
| 28 | # clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL' | ||
| 29 | # at the end, this will be done automatically to create a 32-bit value in your | ||
| 30 | # source code. | ||
| 31 | # | ||
| 32 | # If no clock division is performed on the input clock inside the AVR (via the | ||
| 33 | # CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. | ||
| 34 | F_USB = $(F_CPU) | ||
| 35 | |||
| 36 | # Bootloader | ||
| 37 | # This definition is optional, and if your keyboard supports multiple bootloaders of | ||
| 38 | # different sizes, comment this out, and the correct address will be loaded | ||
| 39 | # automatically (+60). See bootloader.mk for all options. | ||
| 40 | ifeq ($(strip $(KEYBOARD)), planck/rev3) | ||
| 41 | BOOTLOADER = atmel-dfu | ||
| 42 | endif | ||
| 43 | ifeq ($(strip $(KEYBOARD)), planck/rev4) | ||
| 44 | BOOTLOADER = atmel-dfu | ||
| 45 | endif | ||
| 46 | ifeq ($(strip $(KEYBOARD)), planck/rev5) | ||
| 47 | BOOTLOADER = qmk-dfu | ||
| 48 | endif | ||
| 49 | ifeq ($(strip $(KEYBOARD)), planck/light) | ||
| 50 | BOOTLOADER = qmk-dfu | ||
| 51 | endif | ||
| 52 | |||
| 53 | # Interrupt driven control endpoint task(+60) | ||
| 54 | OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT | ||
| 55 | |||
| 56 | # Build Options | ||
| 57 | # change to "no" to disable the options, or define them in the Makefile in[] | ||
| 58 | # the appropriate keymap folder that will get included automatically | ||
| 59 | # | ||
| 60 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 61 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 62 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 63 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 64 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 65 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 66 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 67 | MIDI_ENABLE = no # MIDI controls | ||
| 68 | AUDIO_ENABLE = yes # Audio output on port C6 | ||
| 69 | UNICODE_ENABLE = no # Unicode | ||
| 70 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 71 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
| 72 | API_SYSEX_ENABLE = no | ||
| 73 | |||
| 74 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 75 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 76 | |||
| 77 | LAYOUTS = ortho_4x12 planck_mit planck_grid | ||
| 78 | LAYOUTS_HAS_RGB = no | ||
| 79 | |||
| 80 | DEFAULT_FOLDER = planck/rev5 | ||
| 81 | |||
