diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-04-24 13:46:19 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-04-24 13:46:19 +0300 |
commit | c95b17b536b4437f001d5f5e8a54753969e36bb2 (patch) | |
tree | d944e4a2ff6da1d5a06c671dfa1382423f5515d1 /visualizer.mk | |
parent | 61f7761c034d46eb0856fb115260de2679abc419 (diff) | |
download | qmk_firmware-c95b17b536b4437f001d5f5e8a54753969e36bb2.tar.gz |
Add simple led support
Also the first version of a led testing animation
Diffstat (limited to 'visualizer.mk')
-rw-r--r-- | visualizer.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/visualizer.mk b/visualizer.mk index 13c5d3158..96ca468e8 100644 --- a/visualizer.mk +++ b/visualizer.mk @@ -21,13 +21,14 @@ # SOFTWARE. GFXLIB = $(VISUALIZER_DIR)/ugfx +SRC += $(GFXSRC) $(VISUALIZER_DIR)/visualizer.c +UINCDIR += $(GFXINC) $(VISUALIZER_DIR) + ifdef LCD_ENABLE include $(GFXLIB)/gfx.mk UDEFS += -DLCD_ENABLE ULIBS += -lm endif -SRC += $(GFXSRC) $(VISUALIZER_DIR)/visualizer.c -UINCDIR += $(GFXINC) $(VISUALIZER_DIR) ifdef LCD_BACKLIGHT_ENABLE SRC += $(VISUALIZER_DIR)/lcd_backlight.c @@ -35,6 +36,11 @@ SRC += lcd_backlight_hal.c UDEFS += -DLCD_BACKLIGHT_ENABLE endif +ifdef LED_ENABLE +SRC += $(VISUALIZER_DIR)/led_test.c +UDEFS += -DLED_ENABLE +endif + ifndef VISUALIZER_USER VISUALIZER_USER = visualizer_user.c endif |