qmk-firmware/keyboards/yd60mq/rules.mk
Kenneth Aloysius 57f5cd3ca7 [Keyboard] YD60MQ support (#5911)
* Keep ASCII art consistent with keymap

* Possible fix for xyverz ortho keymap: define RGBLED_NUM

* Update DZ60 keymap; TODO store old keymap under different directory?

* Change RGUI to RALT because 7u spacebar is too long

* Save old bottom row keymap

* Update Iris keymap: replace backslash with grv

* Add ortho_4x12 layout

* Added Delete key to Iris keymap

* Move delete key

* Oh look a new keyboard

* ortho4x12: get an adjust layer back

* Remove jj40 keymap, add custom power draw #define

* Set WhiteFox to advertise only 100mA of power draw

* Update WhiteFox keymap

* Update WF keymap (2)

* Remove lets_split keymap, update community krusli keymap

* Add #define for BACKLIGHT_LEVELS (unused)

* Update Whitefox keymap

* Add YD60 from auto-generated kbfirmware files

* Bring files up to speed with new standards

* Fix: KEYMAP -> LAYOUT

* Fix keymap differences (DZ60 -> YD60)

* Update keymap

* Update README

* Fix RShift position

* Specify that the port is for the YD60MQ variant

* Update keyboards/iris/keymaps/krusli/keymap.c

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Fix Iris and Let's Split keymaps

* Remove unused keymap file

* Use #include QMK_KEYBOARD_H

* Add atmel-dfu selection to yd60

* Rename dir to YD60MQ, update definitions

* Use new convenience macros/functions for led_set_user

* Use #pragma once

* Change all ?= to = in rules.mk

* Use pragma once for yd60mq.h

* Take out DZ60 and Iris changes

* Remove now-removed Iris folder

* Revert adding ortho_4x12

* Revert on xyverz ortho_4x12 keymap

* Undo deleting JJ40 keymap files

* Don't revert beyond upstream jj40 state

* Extra files from earlier commit is to be deleted

* Remove WhiteFox keymap not in upstream yet

* Re-add my Let's Split keymap

* Revert keymap changes

* Cleanup: indentation

* Update keyboards/yd60mq/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Update keyboards/yd60mq/rules.mk

Co-Authored-By: fauxpark <fauxpark@gmail.com>

* Cleanup & move kb backlighting code to yd60mq.c

* Update README, rename to lowercase

* Update README: rename to lowercase

* Update README with links and picture of PCB

* Remove PREVENT_STUCK_MODIFIERS

Co-Authored-By: Drashna Jaelre <drashna@live.com>
2019-05-20 15:43:29 -07:00

62 lines
2.4 KiB
Makefile

# MCU name
MCU = atmega32u4
# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
# processor frequency in Hz. You can then use this symbol in your source code to
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# This will be an integer division of F_USB below, as it is sourced by
# F_USB after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
F_CPU = 16000000
#
# LUFA specific
#
# Target architecture (see library "Board Types" documentation).
ARCH = AVR8
# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
# at the end, this will be done automatically to create a 32-bit value in your
# source code.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
F_USB = $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# atmega32a bootloadHID
BOOTLOADER = atmel-dfu
# Build Options
# comment out to disable the options.
#
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = no # Commands for debug and configuration
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = yes