diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2016-05-17 09:35:02 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2016-05-17 09:35:02 +0300 |
commit | d79e94adb1182ae867df0cc7621ef3d44d213bbc (patch) | |
tree | 47edc6387a0b8508d57d2fb613b1ae71df18b5ef /visualizer.mk | |
parent | 15bdef3ee92e6809ec5d0f25901f4a490cd91b58 (diff) |
Use ugfx API instead of chibios
Diffstat (limited to 'visualizer.mk')
-rw-r--r-- | visualizer.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/visualizer.mk b/visualizer.mk index c51f8ba5d4..6788293290 100644 --- a/visualizer.mk +++ b/visualizer.mk @@ -21,9 +21,7 @@ # SOFTWARE. GFXLIB = $(VISUALIZER_DIR)/ugfx -ifndef EMULATOR SRC += $(VISUALIZER_DIR)/visualizer.c -endif UINCDIR += $(GFXINC) $(VISUALIZER_DIR) ifdef LCD_ENABLE @@ -33,13 +31,17 @@ USE_UGFX = yes endif ifdef LCD_BACKLIGHT_ENABLE +ifndef EMULATOR SRC += $(VISUALIZER_DIR)/lcd_backlight.c SRC += lcd_backlight_hal.c +endif UDEFS += -DLCD_BACKLIGHT_ENABLE endif ifdef LED_ENABLE +ifndef EMULATOR SRC += $(VISUALIZER_DIR)/led_test.c +endif UDEFS += -DLED_ENABLE USE_UGFX = yes endif @@ -56,4 +58,8 @@ ifndef EMULATOR VISUALIZER_USER = visualizer_user.c endif endif -SRC += $(VISUALIZER_USER)
\ No newline at end of file +SRC += $(VISUALIZER_USER) + +ifdef EMULATOR +UINCDIR += $(TMK_DIR)/common +endif
\ No newline at end of file |