Add protocol/lufa. LUFA supported now.
This commit is contained in:
		
							parent
							
								
									3d81d5221e
								
							
						
					
					
						commit
						cc68adeb57
					
				
					 18 changed files with 215 additions and 733 deletions
				
			
		| 
						 | 
				
			
			@ -1,21 +1,21 @@
 | 
			
		|||
PJRC_DIR = protocol/pjrc
 | 
			
		||||
 | 
			
		||||
OPT_DEFS += -DHOST_PJRC
 | 
			
		||||
 | 
			
		||||
SRC +=	pjrc.c \
 | 
			
		||||
	usb_keyboard.c \
 | 
			
		||||
	usb_debug.c \
 | 
			
		||||
	usb.c \
 | 
			
		||||
	bootloader_teensy.c
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# Search Path
 | 
			
		||||
VPATH += $(TOP_DIR)/protocol/pjrc
 | 
			
		||||
 | 
			
		||||
SRC +=	$(PJRC_DIR)/pjrc.c \
 | 
			
		||||
	$(PJRC_DIR)/usb_keyboard.c \
 | 
			
		||||
	$(PJRC_DIR)/usb_debug.c \
 | 
			
		||||
	$(PJRC_DIR)/usb.c \
 | 
			
		||||
	$(PJRC_DIR)/bootloader_teensy.c
 | 
			
		||||
 | 
			
		||||
# Option modules
 | 
			
		||||
ifdef $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
 | 
			
		||||
    SRC += usb_mouse.c
 | 
			
		||||
    SRC += $(PJRC_DIR)/usb_mouse.c
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
ifdef EXTRAKEY_ENABLE
 | 
			
		||||
    SRC += usb_extra.c
 | 
			
		||||
    SRC += $(PJRC_DIR)/usb_extra.c
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
# Search Path
 | 
			
		||||
VPATH += $(TOP_DIR)/$(PJRC_DIR)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue