diff options
| author | xieyangrun <[email protected]> | 2017-08-30 12:18:28 +0800 |
|---|---|---|
| committer | xieyangrun <[email protected]> | 2017-08-30 12:18:28 +0800 |
| commit | 189c999f8eaab2559ec483f80eecf35e3d618af4 (patch) | |
| tree | 1d1a5bae330960994144fbec9079e6928c36c0c0 /bsp/samd21/SConscript | |
| parent | f3f523d22fbbf4766b05290b6160a2bb19309da1 (diff) | |
add atmel SAM D21 bsp support
Diffstat (limited to 'bsp/samd21/SConscript')
| -rw-r--r-- | bsp/samd21/SConscript | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bsp/samd21/SConscript b/bsp/samd21/SConscript new file mode 100644 index 0000000000..744d8d7821 --- /dev/null +++ b/bsp/samd21/SConscript @@ -0,0 +1,14 @@ +# for module compiling +import os +from building import * + +cwd = GetCurrentDir() +objs = [] +list = os.listdir(cwd) + +for d in list: + path = os.path.join(cwd, d) + if os.path.isfile(os.path.join(path, 'SConscript')): + objs = objs + SConscript(os.path.join(d, 'SConscript')) + +Return('objs') |
