summaryrefslogtreecommitdiff
path: root/bsp/gd32/arm/gd32470i-eval/board/ports/SConscript
blob: 80273b4ffe841b49c14765890b093941a82dbf4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Import('RTT_ROOT')
Import('rtconfig')
from building import *

cwd = GetCurrentDir()

# add the general drivers.
src = Split("""
""")

# add lcd drivers.
if GetDepend('BSP_USING_LCD'):
    src += ['drv_lcd.c']

if GetDepend('BSP_USING_TOUCH'):
    src += ['drv_touch.c']

if GetDepend('BSP_USING_DRAW_PANEL_EXAMPLE'):
    src += ['draw_panel.c']

path = [cwd]

group = DefineGroup('Applications', src, depend = [''], CPPPATH = path)

Return('group')