diff --git a/SConscript b/SConscript index d8b44bf..359d714 100644 --- a/SConscript +++ b/SConscript @@ -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)