Merge pull request #102 from HouqiLi/master

Update SConscript about m6315
This commit is contained in:
朱天龙 (Armink) 2020-03-21 23:09:23 -05:00 committed by GitHub
commit 1a53325eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -121,6 +121,15 @@ if GetDepend(['AT_DEVICE_USING_ME3616']):
if GetDepend(['AT_DEVICE_ME3616_SAMPLE']):
src += Glob('samples/at_sample_me3616.c')
# M6315
if GetDepend(['AT_DEVICE_USING_M6315']):
path += [cwd + '/class/m6315']
src += Glob('class/m6315/at_device_m6315.c')
if GetDepend(['AT_USING_SOCKET']):
src += Glob('class/m6315/at_socket_m6315.c')
if GetDepend(['AT_DEVICE_M6315_SAMPLE']):
src += Glob('samples/at_sample_m6315.c')
group = DefineGroup('at_device', src, depend = ['PKG_USING_AT_DEVICE'], CPPPATH = path)
Return('group')