1import os
2import rtconfig
3from building import *
4
5cwd = GetCurrentDir()
6
7# add general drivers
8src = Split('''
9board.c
10''')
11
12path =  [cwd]
13path += [cwd + '/ports/lcd']
14
15if GetDepend(['BSP_USING_LVGL']):
16    path += [cwd + '/ports/lcd']
17
18group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
19
20Return('group')
21