summaryrefslogtreecommitdiff
path: root/visualizer.mk
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-02-13 19:38:23 +0200
committerFred Sundvik <fsundvik@gmail.com>2016-02-13 19:38:23 +0200
commit9e58d022ba4320ce0917defe4b81c1c7b5de77bb (patch)
treeeb1d0bfa31d60af786d2f529729da9de119c83de /visualizer.mk
parent01b955aa64766d51191a716d3a9d74d35f221b28 (diff)
Add visualizer
A generic visualizer that supports animations. There's a few predefined keyframe types included, and more can be added by the user.
Diffstat (limited to 'visualizer.mk')
-rw-r--r--visualizer.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/visualizer.mk b/visualizer.mk
index 8ffc1e4aca..ff4b61f089 100644
--- a/visualizer.mk
+++ b/visualizer.mk
@@ -23,11 +23,13 @@
GFXLIB = $(VISUALIZER_DIR)/ugfx
ifdef LCD_ENABLE
include $(GFXLIB)/gfx.mk
+OPT_DEFS += -DLCD_ENABLE
endif
-SRC += $(GFXSRC)
+SRC += $(GFXSRC) $(VISUALIZER_DIR)/visualizer.c
INC += $(GFXINC) $(VISUALIZER_DIR)
ifdef LCD_BACKLIGHT_ENABLE
SRC += $(VISUALIZER_DIR)/lcd_backlight.c
SRC += lcd_backlight_hal.c
+OPT_DEFS += -DLCD_BACKLIGHT_ENABLE
endif