]> git.gir.st - tmk_keyboard.git/blob - protocol.mk
Matrix power saving
[tmk_keyboard.git] / protocol.mk
1 PROTOCOL_DIR = protocol
2
3
4 ifdef PS2_MOUSE_ENABLE
5 SRC += $(PROTOCOL_DIR)/ps2_mouse.c
6 OPT_DEFS += -DPS2_MOUSE_ENABLE
7 OPT_DEFS += -DMOUSE_ENABLE
8 endif
9
10 ifdef PS2_USE_BUSYWAIT
11 SRC += protocol/ps2_busywait.c
12 SRC += protocol/ps2_io_avr.c
13 OPT_DEFS += -DPS2_USE_BUSYWAIT
14 endif
15
16 ifdef PS2_USE_INT
17 SRC += protocol/ps2_interrupt.c
18 OPT_DEFS += -DPS2_USE_INT
19 endif
20
21 ifdef PS2_USE_USART
22 SRC += protocol/ps2_usart.c
23 OPT_DEFS += -DPS2_USE_USART
24 endif
25
26
27 # Search Path
28 VPATH += $(TOP_DIR)/protocol
Imprint / Impressum