qmk_firmware/keyboards/ta65/rules.mk
Yan-Fa Li 1a2a54c326 [Keyboard] Add TA-65 PCB to QMK (#6180)
* [keyboard] TA-65 by maartenwut

 Add ta65 to QMK with 4 layouts

* Simplify config.h

* Simplify keymap

* Update bootloader

 - confirmed to be qmk-dfu by maartenwut

* Update keyboards/ta65/readme.md

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

* Review feedback

 - fauxpark recommendations
 - noroadsleft recommendations

* Repair info.json structure

JSON objects were not properly nested according to the QMK specification.

* Switch info.json to "debug linting"

So I can read the file more easily.

* Remove k2c and k31 from LAYOUT_tsangan

k2c was the Non-US Hash position, and k31 was the Non-US Backslash position, but this layout is intended for ANSI.

* Correct LAYOUT_tsangan data in info.json

* Update tsangan keymap to use updated LAYOUT_tsangan macro correctly

* Rename LAYOUT_tsangan to LAYOUT_ansi_tsangan

Increased clarity.

* Rename tsangan keymap as default_ansi_tsangan

Per QMK Keyboard Guidelines.

* Fix object ordering for ISO layouts in info.json

ISO Enter's object was out of sequence in both layouts.

* Rename ISO keymaps per QMK Keyboard Guidelines

- rename iso keymap as default_iso
- rename iso_tsangan keymap as default_iso_tsangan

* Add default_ansi keymap

For user reference.

* Enable Community Layout support

LAYOUT_ansi and LAYOUT_iso conform to the 65_ansi and 65_iso Community Layouts, respectively.

- rename LAYOUT_ansi to LAYOUT_65_ansi
- rename LAYOUT_iso to LAYOUT_65_iso
- update keymaps as appropriate
- add LAYOUTS rule to rules.mk

* Disambiguate key labels in info.json

* Remove trailing white space from info.json

* Update keyboards/ta65/keymaps/maartenwut/config.h

Co-Authored-By: Drashna Jaelre <drashna@live.com>
2019-06-24 12:29:53 -07:00

66 lines
2.6 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
# Boot Section Size in *bytes*
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
BOOTLOADER = qmk-dfu
# Build Options
# comment out to disable the options.
#
BOOTMAGIC_ENABLE = lite # 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
NKRO_ENABLE = no # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
RGBLIGHT_ENABLE = yes # Enable keyboard underlight functionality (+4870)
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality (+1150)
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
LAYOUTS = 65_ansi 65_iso