You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
296 B
16 lines
296 B
10 months ago
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
src = []
|
||
|
CPPPATH = [cwd + '/../include']
|
||
|
group = []
|
||
|
|
||
|
if GetDepend(['RT_USING_PM']):
|
||
|
src = src + ['pm.c']
|
||
|
src = src + ['lptimer.c']
|
||
|
|
||
|
if len(src):
|
||
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|