diff options
| author | Bernard Xiong <[email protected]> | 2017-09-08 15:48:22 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-09-08 15:48:22 +0800 |
| commit | 794835dde2c4791747bdf603df4cc3540d3954ed (patch) | |
| tree | 509cd00fa6e7d7c3bbf8d6771b6de6368177ca83 /bsp/samd21/SConscript | |
| parent | 646102a1d42e645478294fa194ba55086ae1ecae (diff) | |
| parent | be0c5479761fd17f0a5b6b3110e987049f18217b (diff) | |
Merge pull request #833 from geniusgogo/samd21
[BSP] 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') |
