rules.mk (1088B)
1 #---------------------------------------------------------------------------- 2 # make gergo:germ:dfu 3 # Make sure you have dfu-programmer installed! 4 #---------------------------------------------------------------------------- 5 # Firmware options 6 BALLER = no # Enable to ball out 7 BALLSTEP = 20 # Multiple in px to move, multiplied by layer number 8 SCROLLSTEP = 1 # Lines to scroll with ball 9 MOUSEKEY_ENABLE = yes # Mouse keys, needed for baller 10 11 #Debug options 12 VERBOSE = no 13 DEBUG_MATRIX_SCAN_RATE = no 14 DEBUG_BALLER = no 15 DEBUG_MATRIX = no 16 17 # A bunch of stuff that you shouldn't touch unless you 18 # know what you're doing. 19 # 20 # No touchy, capiche? 21 SRC += matrix.c 22 I2C_DRIVER_REQUIRED = yes 23 ifneq ($(strip $(BALLSTEP)),) 24 OPT_DEFS += -DTRKSTEP=$(strip $(BALLSTEP)) 25 endif 26 ifneq ($(strip $(SCROLLSTEP)),) 27 OPT_DEFS += -DSCROLLSTEP=$(strip $(SCROLLSTEP)) 28 endif 29 ifeq ($(strip $(BALLER)), yes) 30 OPT_DEFS += -DBALLER 31 endif 32 ifeq ($(strip $(DEBUG_BALLER)), yes) 33 OPT_DEFS += -DDEBUG_BALLER 34 endif 35 ifeq ($(strip $(DEBUG_MATRIX)), yes) 36 OPT_DEFS += -DDEBUG_MATRIX 37 endif