Add 328P to mcu_selection.mk (#6682)
[jackhill/qmk/firmware.git] / keyboards / plaid / rules.mk
1 # MCU name
2 MCU = atmega328p
3
4 # Bootloader selection
5 # Teensy halfkay
6 # Pro Micro caterina
7 # Atmel DFU atmel-dfu
8 # LUFA DFU lufa-dfu
9 # QMK DFU qmk-dfu
10 # atmega32a bootloadHID
11 #
12 # This uses usbaspbootloader
13 # BOOTLOADER = atmel-dfu
14
15
16 # If you don't know the bootloader type, then you can specify the
17 # Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
18 # Teensy halfKay 512
19 # Teensy++ halfKay 1024
20 # Atmel DFU loader 4096
21 # LUFA bootloader 4096
22 # USBaspLoader 2048
23 # OPT_DEFS += -DBOOTLOADER_SIZE=4096
24 OPT_DEFS += -DBOOTLOADER_SIZE=2048
25
26 # Flash program via avrdude, but default command is not suitable.
27 # You can use plaid:default:program
28 PROGRAM_CMD = avrdude -c usbasp -p m328p -U flash:w:$(BUILD_DIR)/$(TARGET).hex
29
30
31 # disable debug code
32 OPT_DEFS = -DDEBUG_LEVEL=0
33
34
35 # Build Options
36 # change yes to no to disable
37 #
38 BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
39 MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
40 EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
41 CONSOLE_ENABLE = no # Console for debug(+400)
42 COMMAND_ENABLE = no # Commands for debug and configuration
43 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
44 SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
45 # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
46 NKRO_ENABLE = no # USB Nkey Rollover
47 BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
48 RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
49 MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
50 UNICODE_ENABLE = no # Unicode
51 BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
52 AUDIO_ENABLE = no # Audio output on port C6
53 FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
54 HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
55
56 LAYOUTS = ortho_4x12 planck_mit
57 LAYOUTS_HAS_RGB = no