]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/mt40/rules.mk
10023da0eeb0875db4a703c23f4a59885b516f0c
[qmk_firmware.git] / keyboards / mt40 / rules.mk
1 # MCU name
2 MCU = atmega32a
3 PROTOCOL = VUSB
4
5 # unsupported features for now
6 NO_UART = yes
7 NO_SUSPEND_POWER_DOWN = yes
8
9 # processor frequency
10 F_CPU = 12000000
11
12 # build options
13 BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000)
14 MOUSEKEY_ENABLE ?= no   # Mouse keys(+4700)
15 EXTRAKEY_ENABLE ?= yes  # Audio control and System control(+450)
16 CONSOLE_ENABLE ?= no    # Console for debug(+400)
17 COMMAND_ENABLE ?= no    # Commands for debug and configuration
18 NKRO_ENABLE ?= no       # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ # nkro-doesnt-work
19 BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
20 MIDI_ENABLE ?= no       # MIDI controls
21 AUDIO_ENABLE ?= no      # Audio output on port C6
22 UNICODE_ENABLE ?= no    # Unicode
23 BLUETOOTH_ENABLE ?= no  # Enable Bluetooth with the Adafruit EZ-Key HID
24 RGBLIGHT_ENABLE ?= yes  # Enable WS2812 RGB underlight.  Do not enable this with audio at the same time.
25 RGBLIGHT_CUSTOM_DRIVER = yes
26 TAP_DANCE_ENABLE = no
27
28 OPT_DEFS = -DDEBUG_LEVEL=0
29 OPT_DEFS += -DBOOTLOADER_SIZE=2048
30
31 # custom matrix setup
32 CUSTOM_MATRIX = yes
33 SRC = matrix.c i2c.c
34
35 # programming options
36 PROGRAM_CMD = ./keyboards/mt40/program $(TARGET).hex