Add simple led support
Also the first version of a led testing animation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user