Skip to content

Commit a89e6c7

Browse files
GuEe-GUIRbb666
authored andcommitted
[dm][graphic] support ili9486 SPI LCD driver
Signed-off-by: GuEe-GUI <2991707448@qq.com>
1 parent 196488f commit a89e6c7

3 files changed

Lines changed: 447 additions & 0 deletions

File tree

components/drivers/graphic/framebuffer/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ menuconfig RT_GRAPHIC_FB
33
select RT_USING_LCD
44
default y
55

6+
config RT_GRAPHIC_FB_ILI9486
7+
bool "ILI9486 framebuffer support"
8+
depends on RT_GRAPHIC_FB
9+
depends on RT_USING_SPI
10+
default n
11+
612
config RT_GRAPHIC_FB_SIMPLE
713
bool "Simple framebuffer support"
814
depends on RT_GRAPHIC_FB

components/drivers/graphic/framebuffer/SConscript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ CPPPATH = [cwd + '/../../include']
1111

1212
src = []
1313

14+
if GetDepend(['RT_GRAPHIC_FB_ILI9486']):
15+
src += ['fb-ili9486.c']
16+
1417
if GetDepend(['RT_GRAPHIC_FB_SIMPLE']):
1518
src += ['fb-simple.c']
1619

0 commit comments

Comments
 (0)