aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/xd004/v1/rules.mk
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-09-06 07:50:43 +1000
committerYan-Fa Li <yanfali@gmail.com>2019-09-05 14:50:43 -0700
commit98599173d7306d53cc8603d40bc50e229025fbdf (patch)
treed9d8ca44a594af9e8fe3093902817f9d2e9e2091 /keyboards/xd004/v1/rules.mk
parent12812fa6a41ed93e243244432e8be83c201f84dd (diff)
downloadfirmware-98599173d7306d53cc8603d40bc50e229025fbdf.tar.gz
firmware-98599173d7306d53cc8603d40bc50e229025fbdf.tar.bz2
firmware-98599173d7306d53cc8603d40bc50e229025fbdf.zip
Add 16U2, 16U4 and USB646 to mcu_selection.mk (#6566)
Diffstat (limited to 'keyboards/xd004/v1/rules.mk')
-rw-r--r--keyboards/xd004/v1/rules.mk37
1 files changed, 0 insertions, 37 deletions
diff --git a/keyboards/xd004/v1/rules.mk b/keyboards/xd004/v1/rules.mk
index c55d65c0f..9cc03498a 100644
--- a/keyboards/xd004/v1/rules.mk
+++ b/keyboards/xd004/v1/rules.mk
@@ -2,43 +2,6 @@
MCU = atmega16u2
-# 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 2048