Keyboard firmwares for Atmel AVR and Cortex-M
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

Makefile 1.3KB

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