]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/mt40/rules.mk
Updates bootloader settings, adds file size check (#2029)
[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 # Bootloader
13 #     This definition is optional, and if your keyboard supports multiple bootloaders of
14 #     different sizes, comment this out, and the correct address will be loaded 
15 #     automatically (+60). See bootloader.mk for all options.
16 BOOTLOADER = bootloadHID
17
18 # build options
19 BOOTMAGIC_ENABLE ?= yes # Virtual DIP switch configuration(+1000)
20 MOUSEKEY_ENABLE ?= no   # Mouse keys(+4700)
21 EXTRAKEY_ENABLE ?= yes  # Audio control and System control(+450)
22 CONSOLE_ENABLE ?= no    # Console for debug(+400)
23 COMMAND_ENABLE ?= no    # Commands for debug and configuration
24 NKRO_ENABLE ?= no       # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ # nkro-doesnt-work
25 BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
26 MIDI_ENABLE ?= no       # MIDI controls
27 AUDIO_ENABLE ?= no      # Audio output on port C6
28 UNICODE_ENABLE ?= no    # Unicode
29 BLUETOOTH_ENABLE ?= no  # Enable Bluetooth with the Adafruit EZ-Key HID
30 RGBLIGHT_ENABLE ?= yes  # Enable WS2812 RGB underlight.  Do not enable this with audio at the same time.
31 RGBLIGHT_CUSTOM_DRIVER = yes
32 TAP_DANCE_ENABLE = no
33
34 OPT_DEFS = -DDEBUG_LEVEL=0
35
36 # custom matrix setup
37 CUSTOM_MATRIX = yes
38 SRC = matrix.c i2c.c
39
40 # programming options
41 PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex