X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=ps2_usb%2FMakefile.vusb;h=d85f1d55d50e5d191e51262c87e47077de49fe72;hb=63d82fcaeb78d0764f39667b937262ed4a692c17;hp=7b69dc27b505b1af0fb6418e30c78760ad381869;hpb=fb8d23c60c757d5d9c2270cb0123a53be2049a28;p=max%2Ftmk_keyboard.git diff --git a/ps2_usb/Makefile.vusb b/ps2_usb/Makefile.vusb index 7b69dc27..d85f1d55 100644 --- a/ps2_usb/Makefile.vusb +++ b/ps2_usb/Makefile.vusb @@ -1,24 +1,29 @@ +# +# Makefile for V-USB +# + + # Target file name (without extension). -TARGET = ps2_vusb +TARGET = ps2_usb_vusb # Directory common source filess exist -COMMON_DIR = .. +TOP_DIR = .. # Directory keyboard dependent files exist TARGET_DIR = . # keyboard dependent files -TARGET_SRC = main_vusb.c \ - keymap.c \ - matrix.c \ - led.c \ - ps2_usart.c \ - sendchar_dummy.c -# sendchar_usart.c +SRC = main.c \ + keymap.c \ + matrix.c \ + led.c \ + ps2_usart.c CONFIG_H = config_vusb.h +# V-USB debug level: To use ps2_usart.c level must be 0 +# ps2_usart.c requires USART to receive PS/2 signal. OPT_DEFS = -DDEBUG_LEVEL=0 @@ -43,8 +48,9 @@ F_CPU = 20000000 # comment out to disable the options. # MOUSEKEY_ENABLE = yes # Mouse keys -#USB_EXTRA_ENABLE = yes # Enhanced feature for Windows(Audio control and System control) -#USB_NKRO_ENABLE = yes # USB Nkey Rollover +EXTRAKEY_ENABLE = yes # Audio control and System control +#NKRO_ENABLE = yes # USB Nkey Rollover +NO_UART = yes # UART is unavailable @@ -80,5 +86,7 @@ PROGRAM_CMD = $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE -include $(COMMON_DIR)/Makefile.vusb -include $(COMMON_DIR)/Makefile.common +include $(TOP_DIR)/protocol/vusb.mk +include $(TOP_DIR)/protocol.mk +include $(TOP_DIR)/common.mk +include $(TOP_DIR)/rules.mk