]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/planck/rules.mk
Remove default folders for the Planck & Preonic (#3497)
[qmk_firmware.git] / keyboards / planck / rules.mk
1 # MCU name
2 MCU = atmega32u4
3
4 # Bootloader
5 #     This definition is optional, and if your keyboard supports multiple bootloaders of
6 #     different sizes, comment this out, and the correct address will be loaded
7 #     automatically (+60). See bootloader.mk for all options.
8 ifeq ($(strip $(KEYBOARD)), planck/rev3)
9     BOOTLOADER = atmel-dfu
10 endif
11 ifeq ($(strip $(KEYBOARD)), planck/rev4)
12     BOOTLOADER = atmel-dfu
13 endif
14 ifeq ($(strip $(KEYBOARD)), planck/rev5)
15     BOOTLOADER = qmk-dfu
16 endif
17 ifeq ($(strip $(KEYBOARD)), planck/light)
18     BOOTLOADER = atmel-dfu
19 endif
20
21 # Interrupt driven control endpoint task(+60)
22 OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
23
24 # Build Options
25 #   change to "no" to disable the options, or define them in the Makefile in
26 #   the appropriate keymap folder that will get included automatically
27 #
28 BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
29 MOUSEKEY_ENABLE = no       # Mouse keys(+4700)
30 EXTRAKEY_ENABLE = yes       # Audio control and System control(+450)
31 CONSOLE_ENABLE = yes         # Console for debug(+400)
32 COMMAND_ENABLE = no        # Commands for debug and configuration
33 NKRO_ENABLE = yes            # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
34 BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
35 MIDI_ENABLE = no            # MIDI controls
36 AUDIO_ENABLE = yes           # Audio output on port C6
37 UNICODE_ENABLE = no         # Unicode
38 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
39 RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
40 API_SYSEX_ENABLE = no
41
42 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
43 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
44
45 LAYOUTS = ortho_4x12 planck_mit planck_grid
46 LAYOUTS_HAS_RGB = no