Cleanup rules.mk for 32U4 keyboards, G (#6971)

* Cleanup rules.mk for 32U4 keyboards, G

* Update keyboards/gray_studio/cod67/rules.mk
This commit is contained in:
fauxpark 2019-10-13 09:57:57 +11:00 committed by Joel Challis
parent a48468590a
commit 2e7cd98c06
16 changed files with 97 additions and 448 deletions

View File

@ -1,27 +1,16 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# 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 = caterina BOOTLOADER = caterina
# 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
# #

View File

@ -1,27 +1,16 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# 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 = caterina BOOTLOADER = caterina
# 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
# #

View File

@ -11,7 +11,6 @@ MCU = atmega32u4
# ATmega328P USBasp # ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
MOUSEKEY_ENABLE = yes # Mouse keys(+4700) MOUSEKEY_ENABLE = yes # Mouse keys(+4700)

View File

@ -11,7 +11,6 @@ MCU = atmega32u4
# ATmega328P USBasp # ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #
@ -36,4 +35,4 @@ CUSTOM_MATRIX = yes
SRC += indicator_leds.c \ SRC += indicator_leds.c \
matrix.c duck_led/duck_led.c matrix.c duck_led/duck_led.c
LAYOUTS = tkl_ansi LAYOUTS = tkl_ansi

View File

@ -11,7 +11,6 @@ MCU = atmega32u4
# ATmega328P USBasp # ATmega328P USBasp
BOOTLOADER = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options
# comment out to disable the options. # comment out to disable the options.
# #

View File

@ -1,52 +1,16 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# project specific files # Bootloader selection
#SRC = # Teensy halfkay
# Pro Micro caterina
# Processor frequency. # Atmel DFU atmel-dfu
# This will define a symbol, F_CPU, in all source code files equal to the # LUFA DFU lufa-dfu
# processor frequency in Hz. You can then use this symbol in your source code to # QMK DFU qmk-dfu
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done # ATmega32A bootloadHID
# automatically to create a 32-bit value in your source code. # ATmega328P USBasp
#
# 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
BOOTLOADER = qmk-dfu BOOTLOADER = qmk-dfu
# Do not put the microcontroller into power saving mode
# when we get USB suspend event. We want it to keep updating
# backlight effects.
# Build Options # Build Options
# change yes to no to disable # change yes to no to disable
# #

View File

@ -1,18 +1,15 @@
#---------------------------------------------------------------------------- # MCU name
# make georgi:default:dfu
# Make sure you have dfu-programmer installed!
# Do not edit this file! Make a copy of keymaps/default and modify that!
#----------------------------------------------------------------------------
# Source includes
SRC += matrix.c i2c_master.c sten.c
# Hardware info
MCU = atmega32u4 MCU = atmega32u4
F_CPU = 16000000
ARCH = AVR8 # 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 BOOTLOADER = atmel-dfu
F_USB = $(F_CPU)
EXTRAFLAGS += -flto
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
MOUSEKEY_ENABLE = no MOUSEKEY_ENABLE = no
@ -21,3 +18,6 @@ EXTRAKEY_ENABLE = yes
CONSOLE_ENABLE = yes CONSOLE_ENABLE = yes
COMMAND_ENABLE = no COMMAND_ENABLE = no
NKRO_ENABLE = yes NKRO_ENABLE = yes
EXTRAFLAGS += -flto
SRC += matrix.c i2c_master.c sten.c

View File

@ -1,18 +1,15 @@
#---------------------------------------------------------------------------- # MCU name
# make gergo:germ:dfu
# Make sure you have dfu-programmer installed!
# Do not edit this file! Make a copy of keymaps/default and modify that!
#----------------------------------------------------------------------------
# Source includes
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c
# Hardware info
MCU = atmega32u4 MCU = atmega32u4
F_CPU = 16000000
ARCH = AVR8 # 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 BOOTLOADER = atmel-dfu
F_USB = $(F_CPU)
CUSTOM_MATRIX = yes CUSTOM_MATRIX = yes
EXTRAKEY_ENABLE = yes EXTRAKEY_ENABLE = yes
@ -21,3 +18,5 @@ COMMAND_ENABLE = yes
BOOTMAGIC_ENABLE = lite BOOTMAGIC_ENABLE = lite
DEBOUNCE_TYPE = eager_pr DEBOUNCE_TYPE = eager_pr
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c

View File

@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# 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
# comment out to disable the options. # comment out to disable the options.

View File

@ -1,48 +1,15 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# 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
# comment out to disable the options. # comment out to disable the options.

View File

@ -1,45 +1,15 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# 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.

View File

@ -1,51 +1,18 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# 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 = 8000000 F_CPU = 8000000
# Bootloader selection
# # Teensy halfkay
# LUFA specific # Pro Micro caterina
# # Atmel DFU atmel-dfu
# Target architecture (see library "Board Types" documentation). # LUFA DFU lufa-dfu
ARCH = AVR8 # QMK DFU qmk-dfu
# ATmega32A bootloadHID
# Input clock frequency. # ATmega328P USBasp
# This will define a symbol, F_USB, in all source code files equal to the BOOTLOADER = atmel-dfu
# 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

View File

@ -1,51 +1,15 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# 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 = lufa-ms
# 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

View File

@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
# processor frequency in Hz. You can then use this symbol in your source code to
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# This will be an integer division of F_USB below, as it is sourced by
# F_USB after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
F_CPU = 16000000
#
# LUFA specific
#
# Target architecture (see library "Board Types" documentation).
ARCH = AVR8
# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
# at the end, this will be done automatically to create a 32-bit value in your
# source code.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
F_USB = $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Bootloader selection # 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
# #
@ -79,4 +32,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)
LAYOUTS = 65_ansi_blocker LAYOUTS = 65_ansi_blocker

View File

@ -1,63 +1,16 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
# processor frequency in Hz. You can then use this symbol in your source code to
# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
# automatically to create a 32-bit value in your source code.
#
# This will be an integer division of F_USB below, as it is sourced by
# F_USB after it has run through any CPU prescalers. Note that this value
# does not *change* the processor frequency - it should merely be updated to
# reflect the processor speed set externally so that the code can use accurate
# software delays.
F_CPU = 16000000
#
# LUFA specific
#
# Target architecture (see library "Board Types" documentation).
ARCH = AVR8
# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
# input clock frequency (before any prescaling is performed) in Hz. This value may
# differ from F_CPU if prescaling is used on the latter, and is required as the
# raw input clock is fed directly to the PLL sections of the AVR for high speed
# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
# at the end, this will be done automatically to create a 32-bit value in your
# source code.
#
# If no clock division is performed on the input clock inside the AVR (via the
# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
F_USB = $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Bootloader selection # 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
# #

View File

@ -1,41 +1,14 @@
# MCU name # MCU name
MCU = atmega32u4 MCU = atmega32u4
# 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 = atmel-dfu BOOTLOADER = atmel-dfu
# Build Options # Build Options