Compare commits

..
8 Commits
Author SHA1 Message Date
Sorixelle 7f65323e10 Add support for Void Linux systems to the qmk_install.sh script (#5526)
* Add support for Void Linux systems to the qmk_install.sh script

* Fix typos + grammatical edits in comments

* Sort distributions by alphabetical order in linux_install.sh

* Revert previous commit and sort Void packages in alphabetical order

* Fix permissions on `util/linux_install.sh`
2019-09-20 23:55:51 -07:00
fauxpark 3642a82d37 Add support for 328P hardware backlight on B1/B2 (#6776) 2019-09-20 22:11:15 -07:00
c7d0262be7 [Keyboard] Add Discipad, Update Zadig doc for USBaspLoader (#6771)
* add discipad

* Update driver_installation_zadig.md

* Update keyboards/coseyfannitutti/discipad/info.json

Co-Authored-By: noroadsleft <[email protected]>

* Update keyboards/coseyfannitutti/discipad/readme.md

Co-Authored-By: noroadsleft <[email protected]>

* Update rules.mk

* Update keyboards/coseyfannitutti/discipad/rules.mk

Co-Authored-By: noroadsleft <[email protected]>

* Update docs/driver_installation_zadig.md

Co-Authored-By: fauxpark <[email protected]>

* Update keyboards/coseyfannitutti/discipad/discipad.c

Co-Authored-By: fauxpark <[email protected]>

* Update docs/driver_installation_zadig.md

Co-Authored-By: fauxpark <[email protected]>

* Update docs/driver_installation_zadig.md

Co-Authored-By: fauxpark <[email protected]>

* Update rules.mk

* Update discipad.c

* Update driver_installation_zadig.md

* Update config.h
2019-09-20 22:07:21 -07:00
fauxpark de4a47f1cc Cleanup rules.mk for 32A and 328P keyboards (#6767) 2019-09-20 22:06:32 -07:00
Konstantin Đorđevićandfauxpark beb4a12c9d Add reset instructions for boards that use Command to the Zadig driver installation guide (#6770)
* Add reset instructions for boards that use Command to the Zadig driver installation guide

* -> → →

* Apply suggestions from code review

Replace shorthand keycode names with full names

Co-Authored-By: fauxpark <[email protected]>
2019-09-19 17:29:23 -07:00
Brian Louandnoroadsleft 59000f491f [Keymap] Added my personal keymaps for dz60 and TMO50. (#6772)
* Added ottodokto keymaps for dz60 and tmo50.

* moved placement of keymaps to proper directory

* fixed accidental deletion of semicolon for tmo50 map

* fix to use short form codes

Co-Authored-By: noroadsleft <[email protected]>
2019-09-19 16:38:42 -07:00
fauxpark 44c5be0a3e Cleanup rules.mk for 16U2 and 32U2 keyboards (#6768)
* Cleanup rules.mk for 16U2 and 32U2 keyboards

* Add back Tap Dance build option
2019-09-19 09:55:14 -07:00
fauxpark f34299efd7 Cleanup rules.mk for USB64 and USB128 keyboards (#6769) 2019-09-19 09:55:03 -07:00
105 changed files with 1621 additions and 2287 deletions

No files matched your search

+9 -5
View File
@@ -8,10 +8,14 @@ We recommend the use of the [Zadig](https://zadig.akeo.ie/) utility. If you have
## Installation ## Installation
Place your keyboard into the bootloader mode, either by hitting the `RESET` keycode (which may be on a different layer), or by pressing the reset switch usually located on the underside of the board. If your keyboard has neither, try holding Escape, or Space+`B`, as you plug it in (see the [Bootmagic](feature_bootmagic.md) docs for more details). Put your keyboard into bootloader mode, either by hitting the `RESET` keycode (which may be on a different layer), or by pressing the reset switch that's usually located on the underside of the board. If your keyboard has neither, try holding Escape or Space+`B` as you plug it in (see the [Bootmagic](feature_bootmagic.md) docs for more details). Some boards use [Command](feature_command.md) instead of Bootmagic; in this case, you can enter bootloader mode by hitting Left Shift+Right Shift+`B` or Left Shift+Right Shift+Escape at any point while the keyboard is plugged in.
Some keyboards may have specific instructions for entering the bootloader, for example the [Bootmagic Lite](feature_bootmagic.md#bootmagic-lite) key (Escape) might be on a different key, such as Left Control. Refer to the board's README if you are unsure. Some keyboards may have specific instructions for entering the bootloader. For example, the [Bootmagic Lite](feature_bootmagic.md#bootmagic-lite) key (default: Escape) might be on a different key, e.g. Left Control; or the magic combination for Command (default: Left Shift+Right Shift) might require you to hold something else, e.g. Left Control+Right Control. Refer to the board's README file if you are unsure.
To put a device in bootloader mode with USBaspLoader, tap the `RESET` button while holding down the `BOOT` button.
Alternatively, hold `BOOT` while inserting the USB cable.
Zadig will automatically detect the bootloader device. You may sometimes need to check **Options → List All Devices**.
Zadig will automatically detect the bootloader device. You may sometimes need to check **Options -> List All Devices**.
- For keyboards with Atmel AVR MCUs, the bootloader will be named something similar to `ATm32U4DFU`, and have a Vendor ID of `03EB`. - For keyboards with Atmel AVR MCUs, the bootloader will be named something similar to `ATm32U4DFU`, and have a Vendor ID of `03EB`.
- USBasp bootloaders will appear as `USBasp`, with a VID/PID of `16C0:05DC`. - USBasp bootloaders will appear as `USBasp`, with a VID/PID of `16C0:05DC`.
- AVR keyboards flashed with the QMK-DFU bootloader will be named `<keyboard name> Bootloader` and will also have the VID `03EB`. - AVR keyboards flashed with the QMK-DFU bootloader will be named `<keyboard name> Bootloader` and will also have the VID `03EB`.
@@ -19,7 +23,7 @@ Zadig will automatically detect the bootloader device. You may sometimes need to
!> If Zadig lists one or more devices with the `HidUsb` driver, your keyboard is probably not in bootloader mode. The arrow will be colored orange and you will be asked to confirm modifying a system driver. **Do not** proceed if this is the case! !> If Zadig lists one or more devices with the `HidUsb` driver, your keyboard is probably not in bootloader mode. The arrow will be colored orange and you will be asked to confirm modifying a system driver. **Do not** proceed if this is the case!
If the arrow appears green, select the driver, and click **Install Driver**. The `libusb-win32` driver will usually work for AVR, and `WinUSB` for ARM, but if you still cannot flash the board, try installing a different driver from the list. If the arrow appears green, select the driver, and click **Install Driver**. The `libusb-win32` driver will usually work for AVR, and `WinUSB` for ARM, but if you still cannot flash the board, try installing a different driver from the list. For flashing a USBaspLoader device via command line with msys2, the `libusbk` driver is recommended, otherwise `libusb-win32` will work fine if you are using QMK Toolbox for flashing.
![Zadig with a bootloader driver correctly installed](https://i.imgur.com/b8VgXzx.png) ![Zadig with a bootloader driver correctly installed](https://i.imgur.com/b8VgXzx.png)
@@ -39,4 +43,4 @@ Right-click it and hit **Uninstall device**. Make sure to tick **Delete the driv
![The Device Uninstall dialog, with the "delete driver" checkbox ticked](https://i.imgur.com/aEs2RuA.png) ![The Device Uninstall dialog, with the "delete driver" checkbox ticked](https://i.imgur.com/aEs2RuA.png)
Click **Action -> Scan for hardware changes**. At this point, you should be able to type again. Double check in Zadig that the keyboard device(s) are using the `HidUsb` driver. If so, you're all done, and your board should be functional again! Click **Action → Scan for hardware changes**. At this point, you should be able to type again. Double check in Zadig that the keyboard device(s) are using the `HidUsb` driver. If so, you're all done, and your board should be functional again!
+12 -10
View File
@@ -32,16 +32,18 @@ This feature is distinct from both the [RGB underglow](feature_rgblight.md) and
Hardware PWM is supported according to the following table: Hardware PWM is supported according to the following table:
|Backlight Pin|AT90USB64/128|ATmega16/32U4|ATmega16/32U2|ATmega32A| |Backlight Pin|AT90USB64/128|ATmega16/32U4|ATmega16/32U2|ATmega32A|ATmega328P|
|-------------|-------------|-------------|-------------|---------| |-------------|-------------|-------------|-------------|---------|----------|
|`B5` |Timer 1 |Timer 1 | | | |`B1` | | | | |Timer 1 |
|`B6` |Timer 1 |Timer 1 | | | |`B2` | | | | |Timer 1 |
|`B7` |Timer 1 |Timer 1 |Timer 1 | | |`B5` |Timer 1 |Timer 1 | | | |
|`C4` |Timer 3 | | | | |`B6` |Timer 1 |Timer 1 | | | |
|`C5` |Timer 3 | |Timer 1 | | |`B7` |Timer 1 |Timer 1 |Timer 1 | | |
|`C6` |Timer 3 |Timer 3 |Timer 1 | | |`C4` |Timer 3 | | | | |
|`D4` | | | |Timer 1 | |`C5` |Timer 3 | |Timer 1 | | |
|`D5` | | | |Timer 1 | |`C6` |Timer 3 |Timer 3 |Timer 1 | | |
|`D4` | | | |Timer 1 | |
|`D5` | | | |Timer 1 | |
All other pins will use software PWM. If the [Audio](feature_audio.md) feature is disabled or only using one timer, the backlight PWM can be triggered by a hardware timer: All other pins will use software PWM. If the [Audio](feature_audio.md) feature is disabled or only using one timer, the backlight PWM can be triggered by a hardware timer:
+55 -25
View File
@@ -10,11 +10,17 @@ Atmel's DFU bootloader comes on all atmega32u4 chips by default, and is used by
To ensure compatibility with the DFU bootloader, make sure this block is present your `rules.mk` (optionally with `lufa-dfu` or `qmk-dfu` instead): To ensure compatibility with the DFU bootloader, make sure this block is present your `rules.mk` (optionally with `lufa-dfu` or `qmk-dfu` instead):
# Bootloader ```make
# This definition is optional, and if your keyboard supports multiple bootloaders of # Bootloader selection
# different sizes, comment this out, and the correct address will be loaded # Teensy halfkay
# automatically (+60). See bootloader.mk for all options. # Pro Micro caterina
BOOTLOADER = atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
```
Compatible flashers: Compatible flashers:
@@ -64,11 +70,17 @@ Arduino boards and their clones use the [Caterina bootloader](https://github.com
To ensure compatibility with the Caterina bootloader, make sure this block is present your `rules.mk`: To ensure compatibility with the Caterina bootloader, make sure this block is present your `rules.mk`:
# Bootloader ```make
# This definition is optional, and if your keyboard supports multiple bootloaders of # Bootloader selection
# different sizes, comment this out, and the correct address will be loaded # Teensy halfkay
# automatically (+60). See bootloader.mk for all options. # Pro Micro caterina
BOOTLOADER = caterina # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = caterina
```
Compatible flashers: Compatible flashers:
@@ -100,11 +112,17 @@ Halfkay is a super-slim protocol developed by PJRC that uses HID, and come on al
To ensure compatibility with the Halfkay bootloader, make sure this block is present your `rules.mk`: To ensure compatibility with the Halfkay bootloader, make sure this block is present your `rules.mk`:
# Bootloader ```make
# This definition is optional, and if your keyboard supports multiple bootloaders of # Bootloader selection
# different sizes, comment this out, and the correct address will be loaded # Teensy halfkay
# automatically (+60). See bootloader.mk for all options. # Pro Micro caterina
BOOTLOADER = halfkay # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay
```
Compatible flashers: Compatible flashers:
@@ -125,11 +143,17 @@ USBasploader is a bootloader developed by matrixstorm. It is used in some non-US
To ensure compatibility with the USBasploader bootloader, make sure this block is present in your `rules.mk`: To ensure compatibility with the USBasploader bootloader, make sure this block is present in your `rules.mk`:
# Bootloader ```make
# This definition is optional, and if your keyboard supports multiple bootloaders of # Bootloader selection
# different sizes, comment this out, and the correct address will be loaded # Teensy halfkay
# automatically (+60). See bootloader.mk for all options. # Pro Micro caterina
BOOTLOADER = USBasp # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = USBasp
```
Compatible flashers: Compatible flashers:
@@ -150,11 +174,17 @@ BootloadHID is a USB bootloader for AVR microcontrollers. The uploader tool requ
To ensure compatibility with the bootloadHID bootloader, make sure this block is present your `rules.mk`: To ensure compatibility with the bootloadHID bootloader, make sure this block is present your `rules.mk`:
# Bootloader ```make
# This definition is optional, and if your keyboard supports multiple bootloaders of # Bootloader selection
# different sizes, comment this out, and the correct address will be loaded # Teensy halfkay
# automatically (+60). See bootloader.mk for all options. # Pro Micro caterina
BOOTLOADER = bootloadHID # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = bootloadHID
```
Compatible flashers: Compatible flashers:
+2 -4
View File
@@ -1,18 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Bootloader selection # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #
+8 -7
View File
@@ -1,13 +1,14 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Boot Section Size in *bytes* # Bootloader selection
# Teensy halfKay 512 # Teensy halfkay
# Teensy++ halfKay 1024 # Pro Micro caterina
# Atmel DFU loader 4096 # Atmel DFU atmel-dfu
# LUFA bootloader 4096 # LUFA DFU lufa-dfu
# USBaspLoader 2048 # QMK DFU qmk-dfu
# OPT_DEFS += -DBOOTLOADER_SIZE=4096 # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
+8 -15
View File
@@ -15,18 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_SUSPEND_POWER_DOWN = yes # Teensy halfkay
# Pro Micro caterina
# processor frequency # Atmel DFU atmel-dfu
F_CPU = 12000000 # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# Bootloader # ATmega32A bootloadHID
# This definition is optional, and if your keyboard supports multiple bootloaders of # ATmega328P USBasp
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -38,11 +35,7 @@ COMMAND_ENABLE = yes
BACKLIGHT_ENABLE = no BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = no RGBLIGHT_ENABLE = no
RGBLIGHT_CUSTOM_DRIVER = yes RGBLIGHT_CUSTOM_DRIVER = yes
NO_UART = yes
OPT_DEFS = -DDEBUG_LEVEL=0 OPT_DEFS = -DDEBUG_LEVEL=0
SRC += i2c_master.c SRC += i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c SRC = matrix.c i2c.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+9 -39
View File
@@ -1,45 +1,15 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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*
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
+9 -45
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+9 -45
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+9 -36
View File
@@ -1,42 +1,15 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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=atmel-dfu
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+9 -45
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+9 -45
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c SRC = matrix.c i2c.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+10 -6
View File
@@ -1,11 +1,15 @@
# MCU details # MCU name
MCU = at90usb1286 MCU = at90usb1286
F_CPU = 16000000
ARCH = AVR8
F_USB = $(F_CPU)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
OPT_DEFS += -DBOOTLOADER_SIZE=1024
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay
# Build Options # Build Options
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
+2 -49
View File
@@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay BOOTLOADER = halfkay
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
#OPT_DEFS += -DBOOTLOADER_SIZE=1024
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+249
View File
@@ -0,0 +1,249 @@
/*
Copyright 2019 coseyfannitutti
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "config_common.h"
#define VENDOR_ID 0xFEED
#define PRODUCT_ID 0x1769
#define DEVICE_VER 0x0001
#define MANUFACTURER coseyfannitutti
#define PRODUCT DISCIPAD
#define DESCRIPTION 17-key numpad assembled with only through hole components
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4
/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
/* A Custom matrix.c is used to poll the port expander C6 shows that the pins are hardwired there */
#define MATRIX_ROW_PINS { B1, B0, D7, D6, D4 }
#define MATRIX_COL_PINS { C0, C1, C2, C3 }
#define UNUSED_PINS
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define NO_UART 1
/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
// #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
// #define BACKLIGHT_PIN B7
// #define BACKLIGHT_BREATHING
// #define BACKLIGHT_LEVELS 3
// #define RGB_DI_PIN E2
// #ifdef RGB_DI_PIN
// #define RGBLED_NUM 16
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8
// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
// /*== all animations enable ==*/
// #define RGBLIGHT_ANIMATIONS
// /*== or choose animations ==*/
// #define RGBLIGHT_EFFECT_BREATHING
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
// #define RGBLIGHT_EFFECT_SNAKE
// #define RGBLIGHT_EFFECT_KNIGHT
// #define RGBLIGHT_EFFECT_CHRISTMAS
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
// #endif
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST
/* number of backlight levels */
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
* This is userful for the Windows task manager shortcut (ctrl+shift+esc).
*/
// #define GRAVE_ESC_CTRL_OVERRIDE
/*
* Force NKRO
*
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
* makefile for this to work.)
*
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
* until the next keyboard reset.
*
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
* fully operational during normal computer usage.
*
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
* power-up.
*
*/
//#define FORCE_NKRO
/*
* Magic Key Options
*
* Magic keys are hotkey commands that allow control over firmware functions of
* the keyboard. They are best used in combination with the HID Listen program,
* found here: https://www.pjrc.com/teensy/hid_listen.html
*
* The options below allow the magic key functionality to be changed. This is
* useful if your keyboard/keypad is missing keys and you want magic key support.
*
*/
/* key combination for magic key command */
/* defined by default; to change, uncomment and set to the combination you want */
// #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
/* control how magic key switches layers */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false
/* override magic key keymap */
//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS
//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS
//#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM
//#define MAGIC_KEY_HELP H
//#define MAGIC_KEY_HELP_ALT SLASH
//#define MAGIC_KEY_DEBUG D
//#define MAGIC_KEY_DEBUG_MATRIX X
//#define MAGIC_KEY_DEBUG_KBD K
//#define MAGIC_KEY_DEBUG_MOUSE M
//#define MAGIC_KEY_VERSION V
//#define MAGIC_KEY_STATUS S
//#define MAGIC_KEY_CONSOLE C
//#define MAGIC_KEY_LAYER0 0
//#define MAGIC_KEY_LAYER0_ALT GRAVE
//#define MAGIC_KEY_LAYER1 1
//#define MAGIC_KEY_LAYER2 2
//#define MAGIC_KEY_LAYER3 3
//#define MAGIC_KEY_LAYER4 4
//#define MAGIC_KEY_LAYER5 5
//#define MAGIC_KEY_LAYER6 6
//#define MAGIC_KEY_LAYER7 7
//#define MAGIC_KEY_LAYER8 8
//#define MAGIC_KEY_LAYER9 9
//#define MAGIC_KEY_BOOTLOADER B
//#define MAGIC_KEY_BOOTLOADER_ALT ESC
//#define MAGIC_KEY_LOCK CAPS
//#define MAGIC_KEY_EEPROM E
//#define MAGIC_KEY_EEPROM_CLEAR BSPACE
//#define MAGIC_KEY_NKRO N
//#define MAGIC_KEY_SLEEP_LED Z
/*
* Feature disable options
* These options are also useful to firmware size reduction.
*/
/* disable debug print */
//#define NO_DEBUG
/* disable print */
//#define NO_PRINT
/* disable action features */
//#define NO_ACTION_LAYER
//#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION
/*
* MIDI options
*/
/* Prevent use of disabled MIDI features in the keymap */
//#define MIDI_ENABLE_STRICT 1
/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/
//#define MIDI_BASIC
/* enable advanced MIDI features:
- MIDI notes can be added to the keymap
- Octave shift and transpose
- Virtual sustain, portamento, and modulation wheel
- etc.
*/
//#define MIDI_ADVANCED
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 1
/*
* HD44780 LCD Display Configuration
*/
/*
#define LCD_LINES 2 //< number of visible lines of the display
#define LCD_DISP_LENGTH 16 //< visibles characters per line of the display
#define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode
#if LCD_IO_MODE
#define LCD_PORT PORTB //< port for the LCD lines
#define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0
#define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1
#define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2
#define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3
#define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0
#define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1
#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2
#define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3
#define LCD_RS_PORT LCD_PORT //< port for RS line
#define LCD_RS_PIN 3 //< pin for RS line
#define LCD_RW_PORT LCD_PORT //< port for RW line
#define LCD_RW_PIN 2 //< pin for RW line
#define LCD_E_PORT LCD_PORT //< port for Enable line
#define LCD_E_PIN 1 //< pin for Enable line
#endif
*/
/* Bootmagic Lite key configuration
#define BOOTMAGIC_LITE_ROW 0
#define BOOTMAGIC_LITE_COLUMN 0
*/
@@ -0,0 +1,24 @@
/* Copyright 2019 coseyfannitutti
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "discipad.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
}
@@ -0,0 +1,43 @@
/* Copyright 2019 coseyfannitutti
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "quantum.h"
#define _x_ KC_NO
/* This a shortcut to help you visually see your layout.
*
* The first section contains all of the arguments representing the physical
* layout of the board and position of the keys.
*
* The second converts the arguments into a two-dimensional array which
* represents the switch matrix.
*/
#define LAYOUT_numpad_5x4( \
K00, K01, K02, K03, \
K10, K11, K12, \
K20, K21, K22, K23, \
K30, K31, K32, \
K40, K42, K43 \
) { \
{ K00, K01, K02, K03, }, \
{ K10, K11, K12, _x_, }, \
{ K20, K21, K22, K23, }, \
{ K30, K31, K32, _x_, }, \
{ K40, _x_, K42, K43, }, \
}
@@ -0,0 +1,12 @@
{
"keyboard_name": "DISCIPAD",
"url": "https://github.com/coseyfannitutti/discipad",
"maintainer": "coseyfannitutti",
"width": 4,
"height": 5,
"layouts": {
"LAYOUT_numpad_5x4": {
"layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"label":"+", "x":3, "y":1, "h":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"0", "x":0, "y":4, "w":2}, {"label":".", "x":2, "y":4}, {"label":"Enter", "x":3, "y":3, "h":2}]
}
}
}
@@ -0,0 +1,27 @@
/* Copyright 2019 COSEYFANNITUTTI
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#define _BL 0
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_BL] = LAYOUT_numpad_5x4(
KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
KC_P7, KC_P8, KC_P9,
KC_P4, KC_P5, KC_P6, KC_PPLS,
KC_P1, KC_P2, KC_P3,
KC_P0, KC_PDOT, KC_PENT )
};
@@ -0,0 +1,15 @@
# DISCIPAD
![discipline](https://i.imgur.com/3Coydx7.jpg)
A 17-key numpad that can be assembled with only through hole components, including usb type-c
Keyboard Maintainer: [coseyfannitutti](https://github.com/coseyfannitutti)
Hardware Supported: DISCIPAD, atmega328p
Hardware Availability: [cftkb.com](http://www.cftkb.com), [GitHub](https://github.com/coseyfannitutti/discipad)
Make example for this keyboard (after setting up your build environment):
make coseyfannitutti/discipad:default
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
@@ -0,0 +1,34 @@
# MCU name
MCU = atmega328p
# Bootloader selection
BOOTLOADER = USBasp
# Flash program via avrdude, but default command is not suitable.
# You can use coseyfannitutti/discipad:default:program
PROGRAM_CMD = avrdude -c usbasp -p m328p -U flash:w:$(BUILD_DIR)/$(TARGET).hex
# disable debug code
OPT_DEFS = -DDEBUG_LEVEL=0
# Build Options
# change yes to no to disable
#
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
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
NKRO_ENABLE = no # USB Nkey Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
@@ -0,0 +1,397 @@
/* Name: usbconfig.h
* Project: V-USB, virtual USB port for Atmel's(r) AVR(r) microcontrollers
* Author: Christian Starkjohann
* Creation Date: 2005-04-01
* Tabsize: 4
* Copyright: (c) 2005 by OBJECTIVE DEVELOPMENT Software GmbH
* License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt)
* This Revision: $Id: usbconfig-prototype.h 785 2010-05-30 17:57:07Z cs $
*/
#ifndef __usbconfig_h_included__
#define __usbconfig_h_included__
#include "config.h"
/*
General Description:
This file is an example configuration (with inline documentation) for the USB
driver. It configures V-USB for USB D+ connected to Port D bit 2 (which is
also hardware interrupt 0 on many devices) and USB D- to Port D bit 4. You may
wire the lines to any other port, as long as D+ is also wired to INT0 (or any
other hardware interrupt, as long as it is the highest level interrupt, see
section at the end of this file).
*/
/* ---------------------------- Hardware Config ---------------------------- */
#define USB_CFG_IOPORTNAME D
/* This is the port where the USB bus is connected. When you configure it to
* "B", the registers PORTB, PINB and DDRB will be used.
*/
#define USB_CFG_DMINUS_BIT 3
/* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected.
* This may be any bit in the port.
*/
#define USB_CFG_DPLUS_BIT 2
/* This is the bit number in USB_CFG_IOPORT where the USB D+ line is connected.
* This may be any bit in the port. Please note that D+ must also be connected
* to interrupt pin INT0! [You can also use other interrupts, see section
* "Optional MCU Description" below, or you can connect D- to the interrupt, as
* it is required if you use the USB_COUNT_SOF feature. If you use D- for the
* interrupt, the USB interrupt will also be triggered at Start-Of-Frame
* markers every millisecond.]
*/
#define USB_CFG_CLOCK_KHZ (F_CPU/1000)
/* Clock rate of the AVR in kHz. Legal values are 12000, 12800, 15000, 16000,
* 16500, 18000 and 20000. The 12.8 MHz and 16.5 MHz versions of the code
* require no crystal, they tolerate +/- 1% deviation from the nominal
* frequency. All other rates require a precision of 2000 ppm and thus a
* crystal!
* Since F_CPU should be defined to your actual clock rate anyway, you should
* not need to modify this setting.
*/
#define USB_CFG_CHECK_CRC 0
/* Define this to 1 if you want that the driver checks integrity of incoming
* data packets (CRC checks). CRC checks cost quite a bit of code size and are
* currently only available for 18 MHz crystal clock. You must choose
* USB_CFG_CLOCK_KHZ = 18000 if you enable this option.
*/
/* ----------------------- Optional Hardware Config ------------------------ */
/* #define USB_CFG_PULLUP_IOPORTNAME D */
/* If you connect the 1.5k pullup resistor from D- to a port pin instead of
* V+, you can connect and disconnect the device from firmware by calling
* the macros usbDeviceConnect() and usbDeviceDisconnect() (see usbdrv.h).
* This constant defines the port on which the pullup resistor is connected.
*/
/* #define USB_CFG_PULLUP_BIT 4 */
/* This constant defines the bit number in USB_CFG_PULLUP_IOPORT (defined
* above) where the 1.5k pullup resistor is connected. See description
* above for details.
*/
/* --------------------------- Functional Range ---------------------------- */
#define USB_CFG_HAVE_INTRIN_ENDPOINT 1
/* Define this to 1 if you want to compile a version with two endpoints: The
* default control endpoint 0 and an interrupt-in endpoint (any other endpoint
* number).
*/
#define USB_CFG_HAVE_INTRIN_ENDPOINT3 1
/* Define this to 1 if you want to compile a version with three endpoints: The
* default control endpoint 0, an interrupt-in endpoint 3 (or the number
* configured below) and a catch-all default interrupt-in endpoint as above.
* You must also define USB_CFG_HAVE_INTRIN_ENDPOINT to 1 for this feature.
*/
#define USB_CFG_EP3_NUMBER 3
/* If the so-called endpoint 3 is used, it can now be configured to any other
* endpoint number (except 0) with this macro. Default if undefined is 3.
*/
/* #define USB_INITIAL_DATATOKEN USBPID_DATA1 */
/* The above macro defines the startup condition for data toggling on the
* interrupt/bulk endpoints 1 and 3. Defaults to USBPID_DATA1.
* Since the token is toggled BEFORE sending any data, the first packet is
* sent with the oposite value of this configuration!
*/
#define USB_CFG_IMPLEMENT_HALT 0
/* Define this to 1 if you also want to implement the ENDPOINT_HALT feature
* for endpoint 1 (interrupt endpoint). Although you may not need this feature,
* it is required by the standard. We have made it a config option because it
* bloats the code considerably.
*/
#define USB_CFG_SUPPRESS_INTR_CODE 0
/* Define this to 1 if you want to declare interrupt-in endpoints, but don't
* want to send any data over them. If this macro is defined to 1, functions
* usbSetInterrupt() and usbSetInterrupt3() are omitted. This is useful if
* you need the interrupt-in endpoints in order to comply to an interface
* (e.g. HID), but never want to send any data. This option saves a couple
* of bytes in flash memory and the transmit buffers in RAM.
*/
#define USB_CFG_INTR_POLL_INTERVAL 1
/* If you compile a version with endpoint 1 (interrupt-in), this is the poll
* interval. The value is in milliseconds and must not be less than 10 ms for
* low speed devices.
*/
#define USB_CFG_IS_SELF_POWERED 0
/* Define this to 1 if the device has its own power supply. Set it to 0 if the
* device is powered from the USB bus.
*/
// max power draw with maxed white underglow measured at 120 mA (peaks)
#define USB_CFG_MAX_BUS_POWER 100
/* Set this variable to the maximum USB bus power consumption of your device.
* The value is in milliamperes. [It will be divided by two since USB
* communicates power requirements in units of 2 mA.]
*/
#define USB_CFG_IMPLEMENT_FN_WRITE 1
/* Set this to 1 if you want usbFunctionWrite() to be called for control-out
* transfers. Set it to 0 if you don't need it and want to save a couple of
* bytes.
*/
#define USB_CFG_IMPLEMENT_FN_READ 0
/* Set this to 1 if you need to send control replies which are generated
* "on the fly" when usbFunctionRead() is called. If you only want to send
* data from a static buffer, set it to 0 and return the data from
* usbFunctionSetup(). This saves a couple of bytes.
*/
#define USB_CFG_IMPLEMENT_FN_WRITEOUT 0
/* Define this to 1 if you want to use interrupt-out (or bulk out) endpoints.
* You must implement the function usbFunctionWriteOut() which receives all
* interrupt/bulk data sent to any endpoint other than 0. The endpoint number
* can be found in 'usbRxToken'.
*/
#define USB_CFG_HAVE_FLOWCONTROL 0
/* Define this to 1 if you want flowcontrol over USB data. See the definition
* of the macros usbDisableAllRequests() and usbEnableAllRequests() in
* usbdrv.h.
*/
#define USB_CFG_DRIVER_FLASH_PAGE 0
/* If the device has more than 64 kBytes of flash, define this to the 64 k page
* where the driver's constants (descriptors) are located. Or in other words:
* Define this to 1 for boot loaders on the ATMega128.
*/
#define USB_CFG_LONG_TRANSFERS 0
/* Define this to 1 if you want to send/receive blocks of more than 254 bytes
* in a single control-in or control-out transfer. Note that the capability
* for long transfers increases the driver size.
*/
/* #define USB_RX_USER_HOOK(data, len) if(usbRxToken == (uchar)USBPID_SETUP) blinkLED(); */
/* This macro is a hook if you want to do unconventional things. If it is
* defined, it's inserted at the beginning of received message processing.
* If you eat the received message and don't want default processing to
* proceed, do a return after doing your things. One possible application
* (besides debugging) is to flash a status LED on each packet.
*/
/* #define USB_RESET_HOOK(resetStarts) if(!resetStarts){hadUsbReset();} */
/* This macro is a hook if you need to know when an USB RESET occurs. It has
* one parameter which distinguishes between the start of RESET state and its
* end.
*/
/* #define USB_SET_ADDRESS_HOOK() hadAddressAssigned(); */
/* This macro (if defined) is executed when a USB SET_ADDRESS request was
* received.
*/
#define USB_COUNT_SOF 0
/* define this macro to 1 if you need the global variable "usbSofCount" which
* counts SOF packets. This feature requires that the hardware interrupt is
* connected to D- instead of D+.
*/
/* #ifdef __ASSEMBLER__
* macro myAssemblerMacro
* in YL, TCNT0
* sts timer0Snapshot, YL
* endm
* #endif
* #define USB_SOF_HOOK myAssemblerMacro
* This macro (if defined) is executed in the assembler module when a
* Start Of Frame condition is detected. It is recommended to define it to
* the name of an assembler macro which is defined here as well so that more
* than one assembler instruction can be used. The macro may use the register
* YL and modify SREG. If it lasts longer than a couple of cycles, USB messages
* immediately after an SOF pulse may be lost and must be retried by the host.
* What can you do with this hook? Since the SOF signal occurs exactly every
* 1 ms (unless the host is in sleep mode), you can use it to tune OSCCAL in
* designs running on the internal RC oscillator.
* Please note that Start Of Frame detection works only if D- is wired to the
* interrupt, not D+. THIS IS DIFFERENT THAN MOST EXAMPLES!
*/
#define USB_CFG_CHECK_DATA_TOGGLING 0
/* define this macro to 1 if you want to filter out duplicate data packets
* sent by the host. Duplicates occur only as a consequence of communication
* errors, when the host does not receive an ACK. Please note that you need to
* implement the filtering yourself in usbFunctionWriteOut() and
* usbFunctionWrite(). Use the global usbCurrentDataToken and a static variable
* for each control- and out-endpoint to check for duplicate packets.
*/
#define USB_CFG_HAVE_MEASURE_FRAME_LENGTH 0
/* define this macro to 1 if you want the function usbMeasureFrameLength()
* compiled in. This function can be used to calibrate the AVR's RC oscillator.
*/
#define USB_USE_FAST_CRC 0
/* The assembler module has two implementations for the CRC algorithm. One is
* faster, the other is smaller. This CRC routine is only used for transmitted
* messages where timing is not critical. The faster routine needs 31 cycles
* per byte while the smaller one needs 61 to 69 cycles. The faster routine
* may be worth the 32 bytes bigger code size if you transmit lots of data and
* run the AVR close to its limit.
*/
/* -------------------------- Device Description --------------------------- */
#define USB_CFG_VENDOR_ID (VENDOR_ID & 0xFF), ((VENDOR_ID >> 8) & 0xFF)
/* USB vendor ID for the device, low byte first. If you have registered your
* own Vendor ID, define it here. Otherwise you may use one of obdev's free
* shared VID/PID pairs. Be sure to read USB-IDs-for-free.txt for rules!
* *** IMPORTANT NOTE ***
* This template uses obdev's shared VID/PID pair for Vendor Class devices
* with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand
* the implications!
*/
#define USB_CFG_DEVICE_ID (PRODUCT_ID & 0xFF), ((PRODUCT_ID >> 8) & 0xFF)
/* This is the ID of the product, low byte first. It is interpreted in the
* scope of the vendor ID. If you have registered your own VID with usb.org
* or if you have licensed a PID from somebody else, define it here. Otherwise
* you may use one of obdev's free shared VID/PID pairs. See the file
* USB-IDs-for-free.txt for details!
* *** IMPORTANT NOTE ***
* This template uses obdev's shared VID/PID pair for Vendor Class devices
* with libusb: 0x16c0/0x5dc. Use this VID/PID pair ONLY if you understand
* the implications!
*/
#define USB_CFG_DEVICE_VERSION 0x01, 0x00
/* Version number of the device: Minor number first, then major number.
*/
#define USB_CFG_VENDOR_NAME 'c','o','s','e','y','f','a','n','n','i','t','u','t','t','i'
#define USB_CFG_VENDOR_NAME_LEN 15
/* These two values define the vendor name returned by the USB device. The name
* must be given as a list of characters under single quotes. The characters
* are interpreted as Unicode (UTF-16) entities.
* If you don't want a vendor name string, undefine these macros.
* ALWAYS define a vendor name containing your Internet domain name if you use
* obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for
* details.
*/
#define USB_CFG_DEVICE_NAME 'D','I','S','C','I','P','A','D'
#define USB_CFG_DEVICE_NAME_LEN 8
/* Same as above for the device name. If you don't want a device name, undefine
* the macros. See the file USB-IDs-for-free.txt before you assign a name if
* you use a shared VID/PID.
*/
#define USB_CFG_SERIAL_NUMBER '0'
#define USB_CFG_SERIAL_NUMBER_LEN 1
/* Same as above for the serial number. If you don't want a serial number,
* undefine the macros.
* It may be useful to provide the serial number through other means than at
* compile time. See the section about descriptor properties below for how
* to fine tune control over USB descriptors such as the string descriptor
* for the serial number.
*/
#define USB_CFG_DEVICE_CLASS 0
#define USB_CFG_DEVICE_SUBCLASS 0
/* See USB specification if you want to conform to an existing device class.
* Class 0xff is "vendor specific".
*/
#define USB_CFG_INTERFACE_CLASS 3 /* HID */
#define USB_CFG_INTERFACE_SUBCLASS 1 /* Boot */
#define USB_CFG_INTERFACE_PROTOCOL 1 /* Keyboard */
/* See USB specification if you want to conform to an existing device class or
* protocol. The following classes must be set at interface level:
* HID class is 3, no subclass and protocol required (but may be useful!)
* CDC class is 2, use subclass 2 and protocol 1 for ACM
*/
#define USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH 0
/* Define this to the length of the HID report descriptor, if you implement
* an HID device. Otherwise don't define it or define it to 0.
* If you use this define, you must add a PROGMEM character array named
* "usbHidReportDescriptor" to your code which contains the report descriptor.
* Don't forget to keep the array and this define in sync!
*/
/* #define USB_PUBLIC static */
/* Use the define above if you #include usbdrv.c instead of linking against it.
* This technique saves a couple of bytes in flash memory.
*/
/* ------------------- Fine Control over USB Descriptors ------------------- */
/* If you don't want to use the driver's default USB descriptors, you can
* provide our own. These can be provided as (1) fixed length static data in
* flash memory, (2) fixed length static data in RAM or (3) dynamically at
* runtime in the function usbFunctionDescriptor(). See usbdrv.h for more
* information about this function.
* Descriptor handling is configured through the descriptor's properties. If
* no properties are defined or if they are 0, the default descriptor is used.
* Possible properties are:
* + USB_PROP_IS_DYNAMIC: The data for the descriptor should be fetched
* at runtime via usbFunctionDescriptor(). If the usbMsgPtr mechanism is
* used, the data is in FLASH by default. Add property USB_PROP_IS_RAM if
* you want RAM pointers.
* + USB_PROP_IS_RAM: The data returned by usbFunctionDescriptor() or found
* in static memory is in RAM, not in flash memory.
* + USB_PROP_LENGTH(len): If the data is in static memory (RAM or flash),
* the driver must know the descriptor's length. The descriptor itself is
* found at the address of a well known identifier (see below).
* List of static descriptor names (must be declared PROGMEM if in flash):
* char usbDescriptorDevice[];
* char usbDescriptorConfiguration[];
* char usbDescriptorHidReport[];
* char usbDescriptorString0[];
* int usbDescriptorStringVendor[];
* int usbDescriptorStringDevice[];
* int usbDescriptorStringSerialNumber[];
* Other descriptors can't be provided statically, they must be provided
* dynamically at runtime.
*
* Descriptor properties are or-ed or added together, e.g.:
* #define USB_CFG_DESCR_PROPS_DEVICE (USB_PROP_IS_RAM | USB_PROP_LENGTH(18))
*
* The following descriptors are defined:
* USB_CFG_DESCR_PROPS_DEVICE
* USB_CFG_DESCR_PROPS_CONFIGURATION
* USB_CFG_DESCR_PROPS_STRINGS
* USB_CFG_DESCR_PROPS_STRING_0
* USB_CFG_DESCR_PROPS_STRING_VENDOR
* USB_CFG_DESCR_PROPS_STRING_PRODUCT
* USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER
* USB_CFG_DESCR_PROPS_HID
* USB_CFG_DESCR_PROPS_HID_REPORT
* USB_CFG_DESCR_PROPS_UNKNOWN (for all descriptors not handled by the driver)
*
* Note about string descriptors: String descriptors are not just strings, they
* are Unicode strings prefixed with a 2 byte header. Example:
* int serialNumberDescriptor[] = {
* USB_STRING_DESCRIPTOR_HEADER(6),
* 'S', 'e', 'r', 'i', 'a', 'l'
* };
*/
#define USB_CFG_DESCR_PROPS_DEVICE 0
#define USB_CFG_DESCR_PROPS_CONFIGURATION USB_PROP_IS_DYNAMIC
//#define USB_CFG_DESCR_PROPS_CONFIGURATION 0
#define USB_CFG_DESCR_PROPS_STRINGS 0
#define USB_CFG_DESCR_PROPS_STRING_0 0
#define USB_CFG_DESCR_PROPS_STRING_VENDOR 0
#define USB_CFG_DESCR_PROPS_STRING_PRODUCT 0
#define USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER 0
#define USB_CFG_DESCR_PROPS_HID USB_PROP_IS_DYNAMIC
//#define USB_CFG_DESCR_PROPS_HID 0
#define USB_CFG_DESCR_PROPS_HID_REPORT USB_PROP_IS_DYNAMIC
//#define USB_CFG_DESCR_PROPS_HID_REPORT 0
#define USB_CFG_DESCR_PROPS_UNKNOWN 0
#define usbMsgPtr_t unsigned short
/* If usbMsgPtr_t is not defined, it defaults to 'uchar *'. We define it to
* a scalar type here because gcc generates slightly shorter code for scalar
* arithmetics than for pointer arithmetics. Remove this define for backward
* type compatibility or define it to an 8 bit type if you use data in RAM only
* and all RAM is below 256 bytes (tiny memory model in IAR CC).
*/
/* ----------------------- Optional MCU Description ------------------------ */
/* The following configurations have working defaults in usbdrv.h. You
* usually don't need to set them explicitly. Only if you want to run
* the driver on a device which is not yet supported or with a compiler
* which is not fully supported (such as IAR C) or if you use a differnt
* interrupt than INT0, you may have to define some of these.
*/
/* #define USB_INTR_CFG MCUCR */
/* #define USB_INTR_CFG_SET ((1 << ISC00) | (1 << ISC01)) */
/* #define USB_INTR_CFG_CLR 0 */
/* #define USB_INTR_ENABLE GIMSK */
/* #define USB_INTR_ENABLE_BIT INT0 */
/* #define USB_INTR_PENDING GIFR */
/* #define USB_INTR_PENDING_BIT INTF0 */
/* #define USB_INTR_VECTOR INT0_vect */
/* Set INT1 for D- falling edge to count SOF */
/* #define USB_INTR_CFG EICRA */
// #define USB_INTR_CFG_SET ((1 << ISC11) | (0 << ISC10))
// /* #define USB_INTR_CFG_CLR 0 */
// /* #define USB_INTR_ENABLE EIMSK */
// #define USB_INTR_ENABLE_BIT INT1
// /* #define USB_INTR_PENDING EIFR */
// #define USB_INTR_PENDING_BIT INTF1
// #define USB_INTR_VECTOR INT1_vect
#endif /* __usbconfig_h_included__ */
+3 -49
View File
@@ -1,61 +1,19 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# Processor frequency. # 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 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# # ATmega328P USBasp
# This uses usbaspbootloader
BOOTLOADER = USBasp BOOTLOADER = USBasp
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# Flash program via avrdude, but default command is not suitable. # Flash program via avrdude, but default command is not suitable.
# You can use plaid:default:program # You can use plaid:default:program
PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex PROGRAM_CMD = avrdude -c usbasp -p m32 -U flash:w:$(BUILD_DIR)/$(TARGET).hex
@@ -84,8 +42,4 @@ AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
# unsupported features for now
NO_UART = yes
NO_SUSPEND_POWER_DOWN = yes
LAYOUTS = 65_ansi LAYOUTS = 65_ansi
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -44,6 +40,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
SRC = i2c_master.c SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+9 -45
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = halfkay
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+13
View File
@@ -0,0 +1,13 @@
/*---defines-------------------------------------------- */
#define TAPPING_TOGGLE 2 // toggle on layer on two taps.
/*---RGB settings-------------------------------------------- */
#undef RGBLIGHT_HUE_STEP
#undef RGBLIGHT_SAT_STEP
#undef RGBLIGHT_VAL_STEP
#undef RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 200
+44
View File
@@ -0,0 +1,44 @@
/*
Last updated: 3 Aug 2019
DZ60 Layout by ottodokto
This layout is a modification of the 60 tsangan hhkb layout,
with an additional layer to update the arrow keys and
*/
#include QMK_KEYBOARD_H
/*---Layers-------------------------------------------- */
#define _base 0 // default, tsangan layout with split backspace
#define _func 1 // media controls and reset buttons
/*---defines-------------------------------------------- */
#define KC_CTOG LT(_func, KC_CAPS)
#define KC_TTAP TT(_func)
#define RGB_STA RGB_M_P // rgb static
#define RGB_BRE RGB_M_B // rgb breathe
#define RGB_RAI RGB_M_R // rgb rainbow
#define RGB_SWI RGB_M_SW // rgb swirl
#define RGB_SNA RGB_M_SN // rgb snake
#define RGB_KNI RGB_M_K // rgb knight
#define RGB_GRA RGB_M_G // rgb gradient
/*---Layout-------------------------------------------- */
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_base] = LAYOUT_60_tsangan_hhkb(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV, \
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, \
KC_CTOG, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_TTAP, \
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, KC_RCTL
),
[_func] = LAYOUT_60_tsangan_hhkb(
RGB_TOG, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, RESET, \
_______, KC_HOME, KC_UP, KC_END, KC_PGUP, _______, RGB_SPI, RGB_HUD, RGB_VAI, RGB_HUI, KC_MUTE, KC_VOLD, KC_VOLU, KC_DEL, \
_______, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, _______, RGB_SPD, RGB_SAD, RGB_VAD, RGB_SAI, KC_BRID, KC_BRIU, _______, \
_______, RGB_STA, RGB_BRE, RGB_RAI, RGB_SWI, RGB_SNA, RGB_KNI, RGB_GRA, VLK_TOG, _______, _______, _______, _______, \
_______, _______, _______, _______, _______, _______, _______
)
};
@@ -0,0 +1 @@
VELOCIKEY_ENABLE = yes
+8 -4
View File
@@ -16,10 +16,14 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
# Bootloader # Bootloader selection
# This definition is optional, and if your keyboard supports multiple bootloaders of # Teensy halfkay
# different sizes, comment this out, and the correct address will be loaded # Pro Micro caterina
# automatically (+60). See bootloader.mk for all options. # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
+3 -55
View File
@@ -1,46 +1,5 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
NO_UART = yes
NO_SUSPEND_POWER_DOWN = yes
# 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 = 12000000
#
# 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 = -DDEBUG_LEVEL=0
# Bootloader selection # Bootloader selection
# Teensy halfkay # Teensy halfkay
@@ -48,20 +7,10 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
@@ -84,6 +33,5 @@ AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
OPT_DEFS = -DDEBUG_LEVEL=0
SRC += i2c_master.c SRC += i2c_master.c
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+3 -55
View File
@@ -1,46 +1,5 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
NO_UART = yes
NO_SUSPEND_POWER_DOWN = yes
# 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 = 12000000
#
# 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 = -DDEBUG_LEVEL=0
# Bootloader selection # Bootloader selection
# Teensy halfkay # Teensy halfkay
@@ -48,20 +7,10 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
@@ -84,6 +33,5 @@ AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
OPT_DEFS = -DDEBUG_LEVEL=0
SRC += i2c_master.c SRC += i2c_master.c
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -45,7 +41,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
SRC = i2c_master.c SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
LAYOUTS = 60_ansi LAYOUTS = 60_ansi
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -44,7 +40,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0
SRC += i2c_master.c SRC += i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
LAYOUTS = tkl_ansi tkl_iso LAYOUTS = tkl_ansi tkl_iso
+2 -3
View File
@@ -10,9 +10,8 @@ MCU = atmega328p
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# # ATmega328P USBasp
# This uses usbaspbootloader
BOOTLOADER = USBasp BOOTLOADER = USBasp
# Flash program via avrdude, but default command is not suitable. # Flash program via avrdude, but default command is not suitable.
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes
OPT_DEFS = -DDEBUG_LEVEL=0 OPT_DEFS = -DDEBUG_LEVEL=0
SRC += i2c_master.c SRC += i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+2 -48
View File
@@ -1,62 +1,16 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay BOOTLOADER = halfkay
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+2 -49
View File
@@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+9 -11
View File
@@ -1,17 +1,15 @@
# Target file name (without extension).
# project specific files
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Boot Section Size in *bytes* # Bootloader selection
# Teensy halfKay 512 # Teensy halfkay
# Teensy++ halfKay 1024 # Pro Micro caterina
# Atmel DFU loader 4096 # Atmel DFU atmel-dfu
# LUFA bootloader 4096 # LUFA DFU lufa-dfu
# USBaspLoader 2048 # QMK DFU qmk-dfu
BOOTLOADER = halfKay # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay
# Build Options # Build Options
# change to no to disable the options. # change to no to disable the options.
+9 -44
View File
@@ -1,49 +1,14 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# 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 = atmel-dfu BOOTLOADER = atmel-dfu
# QMK Build Options # QMK Build Options
@@ -63,4 +28,4 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. Do not enable this with audio at the same time.
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
ENCODER_ENABLE = yes # Add rotary encoder support ENCODER_ENABLE = yes # Add rotary encoder support
+11 -38
View File
@@ -1,44 +1,14 @@
# Project-specific includes
SRC = matrix.c
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# 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 = halfkay BOOTLOADER = halfkay
# Build Options # Build Options
@@ -57,3 +27,6 @@ CUSTOM_MATRIX = yes # We definitely have a nonstandard matrix
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# Project specific files
SRC = matrix.c
+2 -49
View File
@@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+2 -49
View File
@@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay BOOTLOADER = halfkay
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=1024
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+9 -1
View File
@@ -1,7 +1,15 @@
# MCU name # MCU name
MCU = atmega328p MCU = atmega328p
BOOTLOADER = bootloadHID # Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = USBasp
# Flash program via avrdude, but default command is not suitable. # Flash program via avrdude, but default command is not suitable.
# You can use hnah40:default:program # You can use hnah40:default:program
+9 -45
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
BOOTLOADER = halfKay
# 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 selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+9 -46
View File
@@ -1,52 +1,15 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = halfkay
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=1024
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+18 -33
View File
@@ -1,37 +1,27 @@
## Project specific files
SRC= babblePaste.c
ifdef ASTAR ifdef ASTAR
CFLAGS=-D ASTAR MCU = atmega32u4
MCU = atmega32u4 CFLAGS = -D ASTAR
SCULPT_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done ; \ USB = /dev/cu.usbmodem14141
avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB) SCULPT_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done ; avrdude -p $(MCU) -c avr109 -U flash:w:$(TARGET).hex -P $(USB)
else else
MCU = at90usb1286 MCU = at90usb1286
SCULPT_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex SCULPT_UPLOAD_COMMAND = teensy_loader_cli -w -mmcu=$(MCU) $(TARGET).hex
endif endif
F_CPU = 16000000 # Bootloader selection
ARCH = AVR8 # Teensy halfkay
F_USB = $(F_CPU) # Pro Micro caterina
# Atmel DFU atmel-dfu
# Bootloader # LUFA DFU lufa-dfu
# This definition is optional, and if your keyboard supports multiple bootloaders of # QMK DFU qmk-dfu
# different sizes, comment this out, and the correct address will be loaded # ATmega32A bootloadHID
# automatically (+60). See bootloader.mk for all options. # ATmega328P USBasp
ifdef ASTAR ifdef ASTAR
BOOTLOADER = caterina BOOTLOADER = caterina
else else
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
endif endif
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = no # Mouse keys(+4700) MOUSEKEY_ENABLE = no # Mouse keys(+4700)
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
@@ -47,10 +37,5 @@ UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6 AUDIO_ENABLE = no # Audio output on port C6
# Project specific files
USB = /dev/cu.usbmodem14141 SRC = babblePaste.c
# upload: build
# $(SCULPT_UPLOAD_COMMAND)
+2 -48
View File
@@ -1,58 +1,12 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay BOOTLOADER = halfkay
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
+9 -45
View File
@@ -1,52 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# 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 = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #
@@ -62,4 +26,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https:
# BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality # BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
# MIDI_ENABLE = YES # MIDI controls # MIDI_ENABLE = YES # MIDI controls
# UNICODE_ENABLE = YES # Unicode # UNICODE_ENABLE = YES # Unicode
# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID # BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
+2 -49
View File
@@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c SRC = matrix.c i2c.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# Build Options # Build Options
@@ -54,7 +50,4 @@ HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
SRC += i2c_master.c SRC += i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
LAYOUTS = ortho_4x12 planck_mit LAYOUTS = ortho_4x12 planck_mit
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# Build Options # Build Options
@@ -54,7 +50,4 @@ HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
SRC += i2c_master.c SRC += i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
LAYOUTS = ortho_4x4 LAYOUTS = ortho_4x4
+8 -15
View File
@@ -16,19 +16,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -59,7 +55,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c backlight.c SRC = matrix.c i2c.c backlight.c
# programming options
PROGRAM_CMD = ./keyboards/ps2avrGB/program $(TARGET).hex
LAYOUTS = ortho_5x12 LAYOUTS = ortho_5x12
+2 -12
View File
@@ -16,14 +16,6 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now
NO_UART = yes
NO_SUSPEND_POWER_DOWN = yes
# processor frequency
F_CPU = 12000000
# Bootloader selection # Bootloader selection
# Teensy halfkay # Teensy halfkay
@@ -31,7 +23,8 @@ F_CPU = 12000000
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -60,7 +53,4 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c backlight.c SRC = matrix.c i2c.c backlight.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
LAYOUTS = ortho_5x12 LAYOUTS = ortho_5x12
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = no
OPT_DEFS = -DDEBUG_LEVEL=0 OPT_DEFS = -DDEBUG_LEVEL=0
QUANTUM_LIB_SRC = i2c_master.c QUANTUM_LIB_SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+2 -49
View File
@@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+12 -50
View File
@@ -1,56 +1,15 @@
## Project specific files
SRC= matrix.c
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = halfkay
# 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 2048
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
OPT_DEFS += -DBOOTLOADER_SIZE=2048
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
@@ -72,3 +31,6 @@ AUDIO_ENABLE = no # Audio output should be port E6, current quantum library hard
CUSTOM_MATRIX=yes # need to do our own thing with the matrix CUSTOM_MATRIX=yes # need to do our own thing with the matrix
DEFAULT_FOLDER = kinesis/alvicstep DEFAULT_FOLDER = kinesis/alvicstep
# Project specific files
SRC = matrix.c
+1 -3
View File
@@ -7,14 +7,12 @@ LFK_REV = J
ifeq ($(LFK_REV), B) ifeq ($(LFK_REV), B)
MCU = atmega32u4 MCU = atmega32u4
OPT_DEFS += -DBOOTLOADER_SIZE=4096
else ifeq ($(LFK_REV), J) else ifeq ($(LFK_REV), J)
MCU = at90usb646 MCU = at90usb646
OPT_DEFS += -DBOOTLOADER_SIZE=4096
else else
MCU = at90usb1286 MCU = at90usb1286
OPT_DEFS += -DBOOTLOADER_SIZE=8192
endif endif
BOOTLOADER = atmel-dfu
OPT_DEFS += -DLFK_REV_$(LFK_REV) OPT_DEFS += -DLFK_REV_$(LFK_REV)
OPT_DEFS += -DLFK_REV_STRING=\"Rev$(LFK_REV)\" OPT_DEFS += -DLFK_REV_STRING=\"Rev$(LFK_REV)\"
+3 -4
View File
@@ -7,12 +7,11 @@
LFK_REV = C LFK_REV = C
ifeq ($(LFK_REV), A) ifeq ($(LFK_REV), A)
MCU = at90usb1286 MCU = at90usb1286
OPT_DEFS += -DBOOTLOADER_SIZE=8192
else else
MCU = at90usb646 MCU = at90usb646
OPT_DEFS += -DBOOTLOADER_SIZE=4096
endif endif
BOOTLOADER = atmel-dfu
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV) OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
# Extra source files for IS3731 lighting # Extra source files for IS3731 lighting
+3 -4
View File
@@ -8,12 +8,11 @@
LFK_REV = C LFK_REV = C
ifeq ($(LFK_REV), A) ifeq ($(LFK_REV), A)
MCU = at90usb1286 MCU = at90usb1286
OPT_DEFS += -DBOOTLOADER_SIZE=8192
else else
MCU = at90usb646 MCU = at90usb646
OPT_DEFS += -DBOOTLOADER_SIZE=4096
endif endif
BOOTLOADER = atmel-dfu
OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV) OPT_DEFS += -DLFK_TKL_REV_$(LFK_REV)
# Extra source files for IS3731 lighting # Extra source files for IS3731 lighting
+11 -1
View File
@@ -1,5 +1,15 @@
# MCU name
MCU = at90usb646 MCU = at90usb646
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Extra source files for IS3731 lighting # Extra source files for IS3731 lighting
SRC = TWIlib.c issi.c lighting.c SRC = TWIlib.c issi.c lighting.c
+2 -40
View File
@@ -1,54 +1,16 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# build options # build options
@@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c SRC = matrix.c i2c.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -13
View File
@@ -1,18 +1,16 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# Processor frequency. # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #
@@ -30,6 +28,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c SRC = matrix.c i2c.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+9 -45
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+8 -15
View File
@@ -1,18 +1,14 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -37,8 +33,5 @@ OPT_DEFS = -DDEBUG_LEVEL=0
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c SRC = matrix.c i2c.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
LAYOUTS = planck_mit LAYOUTS = planck_mit
LAYOUTS_HAS_RGB = no LAYOUTS_HAS_RGB = no
+2 -3
View File
@@ -1,17 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# Bootloader selection # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #
+10 -40
View File
@@ -1,45 +1,15 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = halfkay
# 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*
OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
@@ -53,4 +23,4 @@ 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 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 ?= no # Enable keyboard backlight functionality BACKLIGHT_ENABLE ?= no # Enable keyboard backlight functionality
AUDIO_ENABLE ?= no AUDIO_ENABLE ?= no
RGBLIGHT_ENABLE ?= no RGBLIGHT_ENABLE ?= no
+6 -42
View File
@@ -1,55 +1,16 @@
# keyboard specific files
SRC += dynamic_macro.c
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = halfkay BOOTLOADER = halfkay
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #
@@ -62,4 +23,7 @@ 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 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 = no # Enable keyboard backlight functionality BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no RGBLIGHT_ENABLE = no
# Project specific files
SRC += dynamic_macro.c
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -45,7 +41,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
SRC = i2c_master.c SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
LAYOUTS = 60_ansi 60_hhkb LAYOUTS = 60_ansi 60_hhkb
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -44,6 +40,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
SRC = i2c_master.c SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+3 -15
View File
@@ -7,21 +7,9 @@ MCU = atmega328p
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# # ATmega328P USBasp
# This uses usbaspbootloader BOOTLOADER = USBasp
# BOOTLOADER = atmel-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
OPT_DEFS += -DBOOTLOADER_SIZE=2048
# Flash program via avrdude, but default command is not suitable. # Flash program via avrdude, but default command is not suitable.
# You can use plaid:default:program # You can use plaid:default:program
+8 -7
View File
@@ -1,15 +1,16 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Bootloader # Bootloader selection
# This definition is optional, and if your keyboard supports multiple bootloaders of # Teensy halfkay
# different sizes, comment this out, and the correct address will be loaded # Pro Micro caterina
# automatically (+60). See bootloader.mk for all options. # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Build Options # Build Options
# change to "no" to disable the options, or define them in the Makefile in # change to "no" to disable the options, or define them in the Makefile in
# the appropriate keymap folder that will get included automatically # the appropriate keymap folder that will get included automatically
+2 -49
View File
@@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+2 -49
View File
@@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes
OPT_DEFS = -DDEBUG_LEVEL=0 OPT_DEFS = -DDEBUG_LEVEL=0
SRC = i2c_master.c SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+9 -9
View File
@@ -3,15 +3,15 @@ SRC = matrix.c
# MCU name # MCU name
MCU = atmega16u2 MCU = atmega16u2
# Bootloader selection
# Boot Section Size in *bytes* # Teensy halfkay
# Teensy halfKay 512 # Pro Micro caterina
# Teensy++ halfKay 1024 # Atmel DFU atmel-dfu
# Atmel DFU loader 4096 # LUFA DFU lufa-dfu
# LUFA bootloader 4096 # QMK DFU qmk-dfu
# USBaspLoader 2048 # ATmega32A bootloadHID
OPT_DEFS += -DBOOTLOADER_SIZE=4096 # ATmega328P USBasp
BOOTLOADER = atmel-dfu
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -50,6 +46,3 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c backlight.c SRC = matrix.c i2c.c backlight.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+2 -47
View File
@@ -1,61 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = lufa-dfu BOOTLOADER = lufa-dfu
# If you don't know the bootloader type, then you can specify the
# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
# Teensy halfKay 512
# Teensy++ halfKay 1024
# Atmel DFU loader 4096
# LUFA bootloader 4096
# USBaspLoader 2048
# OPT_DEFS += -DBOOTLOADER_SIZE=4096
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #
+10 -46
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=8192
# Build Options # Build Options
# change to "no" to disable the options, or define them in the Makefile in # change to "no" to disable the options, or define them in the Makefile in
@@ -66,4 +30,4 @@ RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
API_SYSEX_ENABLE = no API_SYSEX_ENABLE = no
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = yes
OPT_DEFS = -DDEBUG_LEVEL=0 OPT_DEFS = -DDEBUG_LEVEL=0
SRC += i2c_master.c SRC += i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -44,7 +40,4 @@ OPT_DEFS = -DDEBUG_LEVEL=0
QUANTUM_LIB_SRC = i2c_master.c QUANTUM_LIB_SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
LAYOUTS = tkl_ansi tkl_iso LAYOUTS = tkl_ansi tkl_iso
+9 -46
View File
@@ -1,52 +1,15 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=8192
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
@@ -0,0 +1,10 @@
/*---RGB settings-------------------------------------------- */
#undef RGBLIGHT_HUE_STEP
#undef RGBLIGHT_SAT_STEP
#undef RGBLIGHT_VAL_STEP
#undef RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 200
@@ -0,0 +1,47 @@
#include QMK_KEYBOARD_H
/*---default defines-------------------------------------------- */
#define LT1_SPC LT(1, KC_SPC)
#define LT2_SPC LT(2, KC_SPC)
#define RGB_STA RGB_M_P // rgb static
#define RGB_BRE RGB_M_B // rgb breathe
#define RGB_RAI RGB_M_R // rgb rainbow
#define RGB_SWI RGB_M_SW // rgb swirl
#define RGB_SNA RGB_M_SN // rgb snake9
#define RGB_KNI RGB_M_K // rgb knight
#define RGB_GRA RGB_M_G // rgb gradient
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
// Default layer
[0] = LAYOUT_all(
KC_VOLU, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC,
KC_VOLD, MT(MOD_LCTL, KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
KC_MUTE, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_BSLS, KC_RSFT,
KC_MPLY, KC_LGUI, KC_LALT, LT2_SPC, LT1_SPC, KC_RALT, MO(3)
),
// Numerals layer
[1] = LAYOUT_all(
KC_BRIU, KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL,
KC_BRID, KC_CAPS, _______, _______, _______, _______, _______, _______, KC_4, KC_5, KC_6, _______, _______, _______,
RGB_MOD, _______, _______, _______, _______, _______, KC_0, KC_1, KC_2, KC_3, _______, _______, _______, _______,
RGB_RMOD, _______, _______, _______, _______, _______, _______
),
// FN & Navigation layer
[2] = LAYOUT_all(
KC_PGUP, _______, KC_END, KC_UP, KC_HOME, _______, _______, _______, KC_F1, KC_F2, KC_F3, KC_F4, _______, _______, _______,
KC_PGDN, _______, KC_LEFT, KC_DOWN, KC_RIGHT, _______, _______, _______, KC_F5, KC_F6, KC_F7, KC_F8, _______, _______,
KC_PSCR, _______, _______, _______, _______, _______, _______, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______, _______,
KC_RGUI, _______, _______, _______, _______, _______, _______
),
// RGB Control Layer
[3] = LAYOUT_all(
RGB_SPI, RGB_TOG, RGB_HUD, RGB_VAI, RGB_HUI, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
RGB_SPD, _______, RGB_SAD, RGB_VAD, RGB_SAI, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, RGB_STA, RGB_BRE, RGB_RAI, RGB_SWI, RGB_SNA, RGB_KNI, RGB_GRA, VLK_TOG, _______, _______, _______, EEP_RST,
_______, _______, _______, _______, _______, _______, _______
)
};
@@ -0,0 +1 @@
VELOCIKEY_ENABLE = yes # Enable velocikey.
+10 -40
View File
@@ -1,45 +1,15 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = atmel-dfu
# 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*
OPT_DEFS += -DBOOTLOADER_SIZE=8192
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
@@ -53,4 +23,4 @@ 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 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 BACKLIGHT_ENABLE ?= yes # Enable keyboard backlight functionality
AUDIO_ENABLE ?= no AUDIO_ENABLE ?= no
RGBLIGHT_ENABLE ?= yes RGBLIGHT_ENABLE ?= yes
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -43,6 +39,3 @@ RGBLIGHT_CUSTOM_DRIVER = no
OPT_DEFS = -DDEBUG_LEVEL=0 OPT_DEFS = -DDEBUG_LEVEL=0
SRC = i2c_master.c SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+2 -39
View File
@@ -1,53 +1,16 @@
# MCU name # MCU name
MCU = atmega32u2 MCU = atmega32u2
# 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 # Bootloader selection
# Teensy halfkay # Teensy halfkay
# Pro Micro caterina # Pro Micro caterina
# Atmel DFU atmel-dfu # Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu # LUFA DFU lufa-dfu
# QMK DFU qmk-dfu # QMK DFU qmk-dfu
# atmega32a bootloadHID # ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
+9 -45
View File
@@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = at90usb1286 MCU = at90usb1286
# Processor frequency. # Bootloader selection
# This will define a symbol, F_CPU, in all source code files equal to the # Teensy halfkay
# processor frequency in Hz. You can then use this symbol in your source code to # Pro Micro caterina
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # Atmel DFU atmel-dfu
# automatically to create a 32-bit value in your source code. # LUFA DFU lufa-dfu
# # QMK DFU qmk-dfu
# This will be an integer division of F_USB below, as it is sourced by # ATmega32A bootloadHID
# F_USB after it has run through any CPU prescalers. Note that this value # ATmega328P USBasp
# does not *change* the processor frequency - it should merely be updated to BOOTLOADER = halfkay
# 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
OPT_DEFS += -DBOOTLOADER_SIZE=1024
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
+9 -12
View File
@@ -15,14 +15,16 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = bootloadHID
# build options # build options
BOOTMAGIC_ENABLE = no BOOTMAGIC_ENABLE = no
@@ -37,11 +39,6 @@ RGBLIGHT_ENABLE = yes
RGBLIGHT_CUSTOM_DRIVER = yes RGBLIGHT_CUSTOM_DRIVER = yes
OPT_DEFS = -DDEBUG_LEVEL=0 OPT_DEFS = -DDEBUG_LEVEL=0
BOOTLOADER = bootloadHID
# custom matrix setup # custom matrix setup
SRC = i2c_master.c SRC = i2c_master.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -45,6 +41,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c SRC = matrix.c i2c.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -51,6 +47,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c backlight.c SRC = matrix.c i2c.c backlight.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -9
View File
@@ -1,17 +1,16 @@
# MCU name # MCU name
MCU = atmega16u2 MCU = atmega16u2
# Bootloader selection
# Boot Section Size in *bytes* # Teensy halfkay
# Teensy halfKay 512 # Pro Micro caterina
# Teensy++ halfKay 2048 # Atmel DFU atmel-dfu
# Atmel DFU loader 4096 # LUFA DFU lufa-dfu
# LUFA bootloader 4096 # QMK DFU qmk-dfu
# USBaspLoader 2048 # ATmega32A bootloadHID
OPT_DEFS += -DBOOTLOADER_SIZE=4096 # ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
MOUSEKEY_ENABLE = no # Mouse keys(+4700) MOUSEKEY_ENABLE = no # Mouse keys(+4700)
+8 -16
View File
@@ -16,19 +16,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -56,7 +52,3 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c backlight.c SRC = matrix.c i2c.c backlight.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -53,6 +49,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c backlight.c SRC = matrix.c i2c.c backlight.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
+10 -2
View File
@@ -16,6 +16,16 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
# Bootloader selection
# Teensy halfkay
# Pro Micro caterina
# Atmel DFU atmel-dfu
# LUFA DFU lufa-dfu
# QMK DFU qmk-dfu
# ATmega32A bootloadHID
# ATmega328P USBasp
BOOTLOADER = bootloadHID
# build options # build options
BOOTMAGIC_ENABLE = no BOOTMAGIC_ENABLE = no
MOUSEKEY_ENABLE = yes MOUSEKEY_ENABLE = yes
@@ -29,5 +39,3 @@ RGBLIGHT_ENABLE = no
RGBLIGHT_CUSTOM_DRIVER = no RGBLIGHT_CUSTOM_DRIVER = no
OPT_DEFS = -DDEBUG_LEVEL=0 OPT_DEFS = -DDEBUG_LEVEL=0
BOOTLOADER = bootloadHID
+8 -15
View File
@@ -15,19 +15,15 @@
# MCU name # MCU name
MCU = atmega32a MCU = atmega32a
PROTOCOL = VUSB
# unsupported features for now # Bootloader selection
NO_UART = yes # Teensy halfkay
NO_SUSPEND_POWER_DOWN = yes # Pro Micro caterina
# Atmel DFU atmel-dfu
# processor frequency # LUFA DFU lufa-dfu
F_CPU = 12000000 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Bootloader # ATmega328P USBasp
# This definition is optional, and if your keyboard supports multiple bootloaders of
# different sizes, comment this out, and the correct address will be loaded
# automatically (+60). See bootloader.mk for all options.
BOOTLOADER = bootloadHID BOOTLOADER = bootloadHID
# build options # build options
@@ -54,6 +50,3 @@ OPT_DEFS = -DDEBUG_LEVEL=0
# custom matrix setup # custom matrix setup
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
SRC = matrix.c i2c.c backlight.c SRC = matrix.c i2c.c backlight.c
# programming options
PROGRAM_CMD = ./util/atmega32a_program.py $(TARGET).hex
Loaded 100 of 105 files, more files were not shown because too many files have changed in this diff. Show more