Update SConscript about m6315

This commit is contained in:
zeql 2020-03-22 12:06:38 +08:00 committed by GitHub
parent 5452d47967
commit c67b68a333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -120,6 +120,15 @@ if GetDepend(['AT_DEVICE_USING_ME3616']):
src += Glob('class/me3616/at_socket_me3616.c')
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)