Keyboard firmwares for Atmel AVR and Cortex-M
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

protocol.mk 520B

12345678910111213141516171819202122232425262728
  1. PROTOCOL_DIR = protocol
  2. ifdef PS2_MOUSE_ENABLE
  3. SRC += $(PROTOCOL_DIR)/ps2_mouse.c
  4. OPT_DEFS += -DPS2_MOUSE_ENABLE
  5. OPT_DEFS += -DMOUSE_ENABLE
  6. endif
  7. ifdef PS2_USE_BUSYWAIT
  8. SRC += protocol/ps2_busywait.c
  9. SRC += protocol/ps2_io_avr.c
  10. OPT_DEFS += -DPS2_USE_BUSYWAIT
  11. endif
  12. ifdef PS2_USE_INT
  13. SRC += protocol/ps2_interrupt.c
  14. OPT_DEFS += -DPS2_USE_INT
  15. endif
  16. ifdef PS2_USE_USART
  17. SRC += protocol/ps2_usart.c
  18. OPT_DEFS += -DPS2_USE_USART
  19. endif
  20. # Search Path
  21. VPATH += $(TOP_DIR)/protocol