adb_usb: Change Makfiles

This commit is contained in:
tmk 2016-08-29 14:46:34 +09:00
parent 42dfaa3a39
commit 22a48dab7b
4 changed files with 13 additions and 290 deletions

View file

@ -1,14 +1,14 @@
# Target file name (without extension).
TARGET = adb_usb_lufa
TARGET ?= adb_usb
# Directory common source filess exist
TMK_DIR = ../../tmk_core
TMK_DIR ?= ../../tmk_core
# Directory keyboard dependent files exist
TARGET_DIR = .
TARGET_DIR ?= .
# project specific files
SRC = matrix.c \
SRC ?= matrix.c \
led.c \
adb.c
@ -19,7 +19,7 @@ CONFIG_H = config.h
# atmega32u4 Teensy2.0
# atemga32u4 TMK Converter rev.1
# atemga32u2 TMK Converter rev.2
MCU = atmega32u2
MCU ?= atmega32u2
# Processor frequency.
# This will define a symbol, F_CPU, in all source code files equal to the
@ -32,14 +32,14 @@ MCU = atmega32u2
# 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
ARCH ?= AVR8
# Input clock frequency.
# This will define a symbol, F_USB, in all source code files equal to the
@ -52,7 +52,7 @@ ARCH = AVR8
#
# 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)
F_USB ?= $(F_CPU)
# Interrupt driven control endpoint task(+60)
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT