Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pjrc.mk 472B

1234567891011121314151617181920212223242526
  1. PJRC_DIR = protocol/pjrc
  2. SRC += $(PJRC_DIR)/main.c \
  3. $(PJRC_DIR)/pjrc.c \
  4. $(PJRC_DIR)/usb_keyboard.c \
  5. $(PJRC_DIR)/usb_debug.c \
  6. $(PJRC_DIR)/usb.c
  7. # Option modules
  8. ifdef MOUSEKEY_ENABLE
  9. SRC += $(PJRC_DIR)/usb_mouse.c
  10. endif
  11. ifdef PS2_MOUSE_ENABLE
  12. SRC += $(PJRC_DIR)/usb_mouse.c
  13. endif
  14. ifdef EXTRAKEY_ENABLE
  15. SRC += $(PJRC_DIR)/usb_extra.c
  16. endif
  17. # Search Path
  18. VPATH += $(TOP_DIR)/$(PJRC_DIR)
  19. # This indicates using LUFA stack
  20. OPT_DEFS += -DPROTOCOL_PJRC