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