]> git.gir.st - tmk_keyboard.git/blob - ps2_vusb/Makefile
PS/2 library receives data partially by interrupt
[tmk_keyboard.git] / ps2_vusb / Makefile
1 # Target file name (without extension).
2 TARGET = ps2_vusb
3
4 # Directory common source filess exist
5 COMMON_DIR = ..
6
7 # Directory keyboard dependent files exist
8 TARGET_DIR = .
9
10 # keyboard dependent files
11 TARGET_SRC = main.c \
12 keyboard.c \
13 mousekey.c \
14 layer.c \
15 keymap.c \
16 matrix.c \
17 ps2.c \
18 host_vusb.c \
19 print.c \
20 util.c \
21 timer.c \
22 usart_print.c
23
24 OPT_DEFS = -DDEBUG_LEVEL=0
25
26
27 # MCU name, you MUST set this to match the board you are using
28 # type "make clean" after changing this, so all files will be rebuilt
29 #MCU = at90usb162 # Teensy 1.0
30 #MCU = atmega32u4 # Teensy 2.0
31 #MCU = at90usb646 # Teensy++ 1.0
32 #MCU = at90usb1286 # Teensy++ 2.0
33 MCU = atmega168
34
35
36 # Processor frequency.
37 # Normally the first thing your program should do is set the clock prescaler,
38 # so your program will run at the correct speed. You should also set this
39 # variable to same clock speed. The _delay_ms() macro uses this, and many
40 # examples use this variable to calculate timings. Do not add a "UL" here.
41 F_CPU = 16000000
42
43
44 # Build Options
45 # comment out to disable the options.
46 #
47 #MOUSEKEY_ENABLE = yes # Mouse keys
48 #USB_EXTRA_ENABLE = yes # Enhanced feature for Windows(Audio control and System control)
49 #USB_NKRO_ENABLE = yes # USB Nkey Rollover
50
51
52 include $(COMMON_DIR)/Makefile.vusb
Imprint / Impressum