aboutsummaryrefslogtreecommitdiff
path: root/keyboards/meira/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/meira/rules.mk')
-rw-r--r--keyboards/meira/rules.mk39
1 files changed, 16 insertions, 23 deletions
diff --git a/keyboards/meira/rules.mk b/keyboards/meira/rules.mk
index e898146ab..d3e45fc8d 100644
--- a/keyboards/meira/rules.mk
+++ b/keyboards/meira/rules.mk
@@ -4,19 +4,6 @@ SRC += matrix.c TWIlib.c issi.c lighting.c
4#MCU = at90usb1286 4#MCU = at90usb1286
5MCU = atmega32u4 5MCU = atmega32u4
6 6
7# Processor frequency.
8# This will define a symbol, F_CPU, in all source code files equal to the
9# processor frequency in Hz. You can then use this symbol in your source code to
10# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
11# automatically to create a 32-bit value in your source code.
12#
13# This will be an integer division of F_USB below, as it is sourced by
14# F_USB after it has run through any CPU prescalers. Note that this value
15# does not *change* the processor frequency - it should merely be updated to
16# reflect the processor speed set externally so that the code can use accurate
17# software delays.
18F_CPU = 16000000
19
20 7
21# 8#
22# LUFA specific 9# LUFA specific
@@ -37,6 +24,12 @@ ARCH = AVR8
37# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU. 24# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
38F_USB = $(F_CPU) 25F_USB = $(F_CPU)
39 26
27# Bootloader
28# This definition is optional, and if your keyboard supports multiple bootloaders of
29# different sizes, comment this out, and the correct address will be loaded
30# automatically (+60). See bootloader.mk for all options.
31BOOTLOADER = caterina
32
40# Interrupt driven control endpoint task(+60) 33# Interrupt driven control endpoint task(+60)
41OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT 34OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
42 35
@@ -54,10 +47,10 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
54# change yes to no to disable 47# change yes to no to disable
55# 48#
56BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) 49BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
57MOUSEKEY_ENABLE = yes # Mouse keys(+4700) 50MOUSEKEY_ENABLE = no # Mouse keys(+4700)
58EXTRAKEY_ENABLE = yes # Audio control and System control(+450) 51EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
59CONSOLE_ENABLE = yes # Console for debug(+400) 52CONSOLE_ENABLE = no # Console for debug(+400)
60COMMAND_ENABLE = yes # Commands for debug and configuration 53COMMAND_ENABLE = no # Commands for debug and configuration
61# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE 54# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
62SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend 55SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
63# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work 56# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
@@ -74,13 +67,13 @@ ISSI_ENABLE = yes # If the I2C pullup resistors aren't install this must be di
74 67
75CUSTOM_MATRIX = yes 68CUSTOM_MATRIX = yes
76 69
77ifeq ($(strip $(ISSI_ENABLE)), yes) 70#ifeq ($(strip $(ISSI_ENABLE)), yes)
78 TMK_COMMON_DEFS += -DISSI_ENABLE 71# TMK_COMMON_DEFS += -DISSI_ENABLE
79endif 72#endif
80 73#
81ifeq ($(strip $(WATCHDOG_ENABLE)), yes) 74#ifeq ($(strip $(WATCHDOG_ENABLE)), yes)
82 TMK_COMMON_DEFS += -DWATCHDOG_ENABLE 75# TMK_COMMON_DEFS += -DWATCHDOG_ENABLE
83endif 76#endif
84 77
85DEFAULT_FOLDER = meira/promicro 78DEFAULT_FOLDER = meira/promicro
86LAYOUTS = ortho_4x12 79LAYOUTS = ortho_4x12