forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up some user keymaps specifying MCU (qmk#11966)
- Loading branch information
Showing
19 changed files
with
31 additions
and
1,398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,4 @@ | ||
# project specific files | ||
SRC = matrix.c \ | ||
led.c | ||
|
||
## chip/board settings | ||
# - the next two should match the directories in | ||
# <chibios>/os/hal/ports/$(MCU_FAMILY)/$(MCU_SERIES) | ||
# - For Teensies, FAMILY = KINETIS and SERIES is either | ||
# KL2x (LC) or K20x (3.0,3.1,3.2). | ||
# - For Infinity KB, SERIES = K20x | ||
MCU_FAMILY = KINETIS | ||
MCU_SERIES = K20x | ||
|
||
# Linker script to use | ||
# - it should exist either in <chibios>/os/common/ports/ARMCMx/compilers/GCC/ld/ | ||
# or <this_dir>/ld/ | ||
# - NOTE: a custom ld script is needed for EEPROM on Teensy LC | ||
# - LDSCRIPT = | ||
# - MKL26Z64 for Teensy LC | ||
# - MK20DX128 for Teensy 3.0 | ||
# - MK20DX256 for Teensy 3.1 and 3.2 | ||
# - MK20DX128BLDR4 for Infinity 60% with Kiibohd bootloader | ||
# - MK20DX256BLDR8 for Infinity ErgoDox with Kiibohd bootloader | ||
MCU_LDSCRIPT = MK20DX256BLDR8 | ||
|
||
# Startup code to use | ||
# - it should exist in <chibios>/os/common/ports/ARMCMx/compilers/GCC/mk/ | ||
# - STARTUP = | ||
# - kl2x for Teensy LC | ||
# - k20x5 for Teensy 3.0 and Infinity 60% | ||
# - k20x7 for Teensy 3.1, 3.2 and Infinity ErgoDox | ||
MCU_STARTUP = k20x7 | ||
|
||
# Board: it should exist either in <chibios>/os/hal/boards/ | ||
# or <this_dir>/boards | ||
# - BOARD = | ||
# - PJRC_TEENSY_LC for Teensy LC | ||
# - PJRC_TEENSY_3 for Teensy 3.0 | ||
# - PJRC_TEENSY_3_1 for Teensy 3.1 or 3.2 | ||
# - MCHCK_K20 for Infinity KB | ||
#BOARD = MCHCK_K20 | ||
BOARD = PJRC_TEENSY_3_1 | ||
|
||
# Cortex version | ||
# Teensy LC is cortex-m0; Teensy 3.x are cortex-m4 | ||
MCU = cortex-m4 | ||
|
||
# ARM version, CORTEX-M0/M1 are 6, CORTEX-M3/M4/M7 are 7 | ||
# I.e. 6 for Teensy LC; 7 for Teensy 3.x | ||
ARMV = 7 | ||
|
||
# Vector table for application | ||
# 0x00000000-0x00001000 area is occupied by bootlaoder.*/ | ||
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB | ||
OPT_DEFS += -DCORTEX_VTOR_INIT=0x00002000 | ||
|
||
BOOTLOADER = dfu | ||
|
||
# Build Options | ||
# comment out to disable the options. | ||
# | ||
|
||
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
CONSOLE_ENABLE = no # Console for debug(+400) | ||
COMMAND_ENABLE = yes # Commands for debug and configuration | ||
CUSTOM_MATRIX = yes # Custom matrix file for the ErgoDox EZ | ||
SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
UNICODE_ENABLE = yes # Unicode | ||
SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard | ||
STENO_ENABLE = yes #enable plover steno mode | ||
CUSTOM_MATRIX = yes # Custom matrix file | ||
SERIAL_LINK_ENABLE = yes | ||
VISUALIZER_ENABLE = yes | ||
LCD_ENABLE = yes | ||
BACKLIGHT_ENABLE = yes | ||
LCD_BACKLIGHT_ENABLE = yes | ||
STENO_ENABLE = yes | ||
MIDI_ENABLE = yes | ||
MIDI_ADVANCED = yes | ||
MUSIC_MODE = yes | ||
RGBLIGHT_ENABLE = no | ||
|
||
LCD_DRIVER = st7565 | ||
LCD_WIDTH = 128 | ||
LCD_HEIGHT = 32 | ||
|
||
LED_DRIVER = is31fl3731c | ||
LED_WIDTH = 7 | ||
LED_HEIGHT = 7 | ||
|
||
LAYOUTS = ergodox |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1 @@ | ||
# 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 | ||
|
||
|
||
# Boot Section Size in *bytes* | ||
# Teensy halfKay 512 | ||
# Teensy++ halfKay 1024 | ||
# Atmel DFU loader 4096 | ||
# LUFA bootloader 4096 | ||
# USBaspLoader 2048 | ||
OPT_DEFS += -DBOOTLOADER_SIZE=4096 | ||
|
||
|
||
# Build Options | ||
# comment out to disable the options. | ||
# | ||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
# CONSOLE_ENABLE = yes # Console for debug(+400) | ||
# COMMAND_ENABLE = yes # Commands for debug and configuration | ||
KEYBOARD_LOCK_ENABLE = yes # Allow locking of keyboard via magic key | ||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
# SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
# MIDI_ENABLE = YES # MIDI controls | ||
# UNICODE_ENABLE = YES # Unicode | ||
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID | ||
KEY_LOCK_ENABLE = yes # KC_LOCK | ||
|
||
LAYOUTS = 60_ansi 60_iso 60_ansi_split_bs_rshift | ||
KEY_LOCK_ENABLE = yes |
Oops, something went wrong.