用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
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.

22 lines
516 B

5 months ago
Import('RTT_ROOT')
Import('rtconfig')
from building import *
import os
cwd = GetCurrentDir()
group = []
src = ['drv_common.c']
path = [cwd]
if not GetDepend('PKG_USING_CMSIS_CORE'):
path += [os.path.join(cwd, 'CMSIS', 'Include')]
if GetDepend(['RT_USING_NANO']):
group = group + SConscript(os.path.join(cwd, 'nano', 'SConscript'))
else:
group = group + SConscript(os.path.join(cwd, 'drivers', 'SConscript'))
group = group + DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
Return('group')