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.

12345678910111213141516171819202122232425
  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 $(or MOUSEKEY_ENABLE, PS2_MOUSE_ENABLE)
  9. SRC += $(PJRC_DIR)/usb_mouse.c
  10. endif
  11. ifdef EXTRAKEY_ENABLE
  12. SRC += $(PJRC_DIR)/usb_extra.c
  13. endif
  14. # Search Path
  15. VPATH += $(TOP_DIR)/$(PJRC_DIR)
  16. # This indicates using LUFA stack
  17. # TODO: remove HOST_PJRC
  18. OPT_DEFS += -DHOST_PJRC
  19. OPT_DEFS += -DPROTOCOL_PJRC