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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Target file name (without extension).
  2. TARGET = hhkb
  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 = tmk.c \
  9. keymap.c \
  10. matrix.c \
  11. led.c
  12. # MCU name, you MUST set this to match the board you are using
  13. # type "make clean" after changing this, so all files will be rebuilt
  14. #MCU = at90usb162 # Teensy 1.0
  15. #MCU = atmega32u4 # Teensy 2.0
  16. #MCU = at90usb646 # Teensy++ 1.0
  17. MCU = at90usb1286 # Teensy++ 2.0
  18. # Processor frequency.
  19. # Normally the first thing your program should do is set the clock prescaler,
  20. # so your program will run at the correct speed. You should also set this
  21. # variable to same clock speed. The _delay_ms() macro uses this, and many
  22. # examples use this variable to calculate timings. Do not add a "UL" here.
  23. F_CPU = 16000000
  24. # Build Options
  25. # comment out to disable the options.
  26. MOUSEKEY_ENABLE = yes # Mouse keys
  27. #PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support
  28. USB_EXTRA_ENABLE = yes # Enhanced feature for Windows(Audio control and System control)
  29. USB_NKRO_ENABLE = yes # USB Nkey Rollover
  30. include $(COMMON_DIR)/Makefile.pjrc
  31. include $(COMMON_DIR)/Makefile.common