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.

Makefile 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Target file name (without extension).
  2. TARGET = ps2_vusb
  3. # Directory common source filess exist
  4. COMMON_DIR = ..
  5. # Directory keyboard dependent files exist
  6. TARGET_DIR = .
  7. # keyboard dependent files
  8. TARGET_SRC = main.c \
  9. keyboard.c \
  10. mousekey.c \
  11. layer.c \
  12. keymap.c \
  13. matrix.c \
  14. ps2.c \
  15. host_vusb.c \
  16. print.c \
  17. util.c \
  18. timer.c \
  19. usart_print.c
  20. OPT_DEFS = -DDEBUG_LEVEL=0
  21. # MCU name, you MUST set this to match the board you are using
  22. # type "make clean" after changing this, so all files will be rebuilt
  23. #MCU = at90usb162 # Teensy 1.0
  24. #MCU = atmega32u4 # Teensy 2.0
  25. #MCU = at90usb646 # Teensy++ 1.0
  26. #MCU = at90usb1286 # Teensy++ 2.0
  27. MCU = atmega168
  28. # Processor frequency.
  29. # Normally the first thing your program should do is set the clock prescaler,
  30. # so your program will run at the correct speed. You should also set this
  31. # variable to same clock speed. The _delay_ms() macro uses this, and many
  32. # examples use this variable to calculate timings. Do not add a "UL" here.
  33. F_CPU = 16000000
  34. # Build Options
  35. # comment out to disable the options.
  36. #
  37. #MOUSEKEY_ENABLE = yes # Mouse keys
  38. #USB_EXTRA_ENABLE = yes # Enhanced feature for Windows(Audio control and System control)
  39. #USB_NKRO_ENABLE = yes # USB Nkey Rollover
  40. include $(COMMON_DIR)/Makefile.vusb