Skip to content

Commit

Permalink
Restyle GLCD library
Browse files Browse the repository at this point in the history
  • Loading branch information
WiseLord committed Mar 1, 2021
1 parent 4170b98 commit 231b1b5
Show file tree
Hide file tree
Showing 34 changed files with 41 additions and 51 deletions.
70 changes: 35 additions & 35 deletions project/ampcontrol-f103.files
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
../src/.astylerc
../src/action.h
../src/amp.c
../src/amp.h
../src/amp_main.c
../src/.astylerc
../src/audio/audio.c
../src/audio/audiodefs.h
../src/audio/audio.h
Expand All @@ -26,6 +26,38 @@
../src/display/dispconf.h
../src/display/dispdrv.c
../src/display/dispdrv.h
../src/display/dispdrv/hx8340.c
../src/display/dispdrv/hx8347a.c
../src/display/dispdrv/hx8347d.c
../src/display/dispdrv/hx8357c.c
../src/display/dispdrv/ili9163.c
../src/display/dispdrv/ili9225.c
../src/display/dispdrv/ili9320.c
../src/display/dispdrv/ili9327.c
../src/display/dispdrv/ili9341.c
../src/display/dispdrv/ili9481.c
../src/display/dispdrv/ili9486.c
../src/display/dispdrv/l2f50126.c
../src/display/dispdrv/lgdp4524.c
../src/display/dispdrv/lph9157.c
../src/display/dispdrv/ls020.c
../src/display/dispdrv/mc2pa8201.c
../src/display/dispdrv/r61581.c
../src/display/dispdrv/rm68140.c
../src/display/dispdrv/s6d0129.c
../src/display/dispdrv/s6d0139.c
../src/display/dispdrv/s6d0144.c
../src/display/dispdrv/s6d0164.c
../src/display/dispdrv/s6d04d1.c
../src/display/dispdrv/spfd5408.c
../src/display/dispdrv/ssd1283a.c
../src/display/dispdrv/ssd1286a.c
../src/display/dispdrv/ssd1289.c
../src/display/dispdrv/ssd2119.c
../src/display/dispdrv/st7735.c
../src/display/dispdrv/st7793.c
../src/display/dispdrv/st7796s.c
../src/display/fonts/fonts.h
../src/display/fonts/font-terminus-12.c
../src/display/fonts/font-terminus-14b.c
../src/display/fonts/font-terminus-14.c
Expand All @@ -43,38 +75,6 @@
../src/display/fonts/font-terminus-28.c
../src/display/fonts/font-terminus-32b.c
../src/display/fonts/font-terminus-32.c
../src/display/fonts/fonts.h
../src/display/gc130x130/ssd1283a.c
../src/display/gc160x128/ili9163.c
../src/display/gc160x128/s6d0144.c
../src/display/gc160x128/st7735.c
../src/display/gc176x132/l2f50126.c
../src/display/gc176x132/lph9157.c
../src/display/gc176x132/ls020.c
../src/display/gc176x132/ssd1286a.c
../src/display/gc220x176/hx8340.c
../src/display/gc220x176/ili9225.c
../src/display/gc220x176/lgdp4524.c
../src/display/gc220x176/s6d0164.c
../src/display/gc320x240/hx8347a.c
../src/display/gc320x240/hx8347d.c
../src/display/gc320x240/ili9320.c
../src/display/gc320x240/ili9341.c
../src/display/gc320x240/mc2pa8201.c
../src/display/gc320x240/s6d0129.c
../src/display/gc320x240/s6d0139.c
../src/display/gc320x240/spfd5408.c
../src/display/gc320x240/ssd1289.c
../src/display/gc320x240/ssd2119.c
../src/display/gc400x240/ili9327.c
../src/display/gc400x240/s6d04d1.c
../src/display/gc400x240/st7793.c
../src/display/gc480x320/hx8357c.c
../src/display/gc480x320/ili9481.c
../src/display/gc480x320/ili9486.c
../src/display/gc480x320/r61581.c
../src/display/gc480x320/rm68140.c
../src/display/gc480x320/st7796s.c
../src/display/glcd.c
../src/display/glcd.h
../src/display/hw/stm32f1.h
Expand Down Expand Up @@ -237,10 +237,10 @@
../src/system/system_stm32f3xx.c
../src/timers.c
../src/timers.h
../src/tr/labels.c
../src/tr/labels.h
../src/tr/labels_by.c
../src/tr/labels.c
../src/tr/labels_en.c
../src/tr/labels.h
../src/tr/labels_ru.c
../src/tr/labels_tr.c
../src/tr/labels_ua.c
Expand Down
22 changes: 6 additions & 16 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,27 +84,21 @@ ifneq (,$(filter $(DISPLAY), \
ST7735 \
))
DISPSIZE = 160x128
endif

ifneq (,$(filter $(DISPLAY), \
else ifneq (,$(filter $(DISPLAY), \
L2F50126 \
LPH9157 \
LS020 \
SSD1286A \
))
DISPSIZE = 176x132
endif

ifneq (,$(filter $(DISPLAY), \
else ifneq (,$(filter $(DISPLAY), \
HX8340 \
ILI9225 \
LGDP4524 \
S6D0164 \
))
DISPSIZE = 220x176
endif

ifneq (,$(filter $(DISPLAY), \
else ifneq (,$(filter $(DISPLAY), \
HX8347A \
HX8347D \
ILI9320 \
Expand All @@ -117,17 +111,13 @@ ifneq (,$(filter $(DISPLAY), \
SSD2119 \
))
DISPSIZE = 320x240
endif

ifneq (,$(filter $(DISPLAY), \
else ifneq (,$(filter $(DISPLAY), \
ILI9327 \
S6D04D1 \
ST7793 \
))
DISPSIZE = 400x240
endif

ifneq (,$(filter $(DISPLAY), \
else ifneq (,$(filter $(DISPLAY), \
HX8357C \
ILI9481 \
ILI9486 \
Expand All @@ -138,7 +128,7 @@ ifneq (,$(filter $(DISPLAY), \
DISPSIZE = 480x320
endif

C_SOURCES += display/gc$(DISPSIZE)/$(call lc,$(DISPLAY)).c
C_SOURCES += display/dispdrv/$(call lc,$(DISPLAY)).c
C_SOURCES += display/dispdrv.c
C_SOURCES += display/glcd.c
C_DEFS += -D_$(DISPLAY)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 231b1b5

Please sign in to comment.