rules.mk 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #----------------------------------------------------------------------------
  2. # make georgi:default:dfu
  3. # Make sure you have dfu-programmer installed!
  4. #----------------------------------------------------------------------------
  5. NO_REPEAT = no
  6. VERBOSE = yes
  7. KEYBOARD_SHARED_EP = yes
  8. CUSTOM_MATRIX = yes
  9. STENO_LAYERS = no
  10. #Firmware reduction options
  11. MOUSEKEY_ENABLE = yes # 1500 bytes
  12. NO_TAPPING = no # 2000 bytes
  13. NO_PRINT = yes
  14. #Debug options
  15. CONSOLE_ENABLE = no
  16. DEBUG_MATRIX_SCAN_RATE = no
  17. DEBUG_MATRIX = no
  18. ONLY_QWERTY = no
  19. # A bunch of stuff that you shouldn't touch unless you
  20. # know what you're doing.
  21. #
  22. # No touchy, capiche?
  23. SRC += matrix.c i2c_master.c
  24. ifeq ($(strip $(DEBUG_MATRIX)), yes)
  25. OPT_DEFS += -DDEBUG_MATRIX
  26. endif
  27. ifeq ($(strip $(NO_REPEAT)), yes)
  28. OPT_DEFS += -DNO_REPEAT
  29. endif
  30. ifeq ($(strip $(NO_PRINT)), yes)
  31. OPT_DEFS += -DNO_PRINT -DNO_DEBUG
  32. endif
  33. ifeq ($(strip $(ONLY_QWERTY)), yes)
  34. OPT_DEFS += -DONLYQWERTY
  35. endif
  36. ifeq ($(strip $(NO_TAPPING)), yes)
  37. OPT_DEFS += -DNO_ACTION_TAPPING
  38. endif