host interface for pjrc

This commit is contained in:
tmk 2011-02-13 00:15:51 +09:00
commit 9a938eecbd
24 changed files with 473 additions and 330 deletions

View file

@ -1,19 +1,16 @@
# Following variables need to be set in <target>/Makefile:
# TARGET
# COMMON_DIR
# TARGET_DIR
# TARGET_SRC
# MCU
# F_CPU
OPT_DEFS += -DHOST_PJRC
# List C source files here. (C dependencies are automatically generated.)
SRC = usb_keyboard.c \
usb_debug.c \
usb.c \
jump_bootloader.c
SRC += $(TARGET_SRC)
# C source file search path
VPATH = $(TARGET_DIR):$(COMMON_DIR):$(COMMON_DIR)/pjrc
# Option modules
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
SRC += usb_mouse.c
@ -22,7 +19,3 @@ endif
ifdef USB_EXTRA_ENABLE
SRC += usb_extra.c
endif
# C source file search path
VPATH = $(TARGET_DIR):$(COMMON_DIR):$(COMMON_DIR)/pjrc