diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-10-13 21:00:33 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-10-13 21:01:54 +0200 |
commit | 3c3654210d7b8a7402de55726617ba3dc6ff456a (patch) | |
tree | fdae0a2ddff0c1455480ee914f2818eb8057139c /SConstruct | |
parent | a4d31776b23a8517a7493390ab82a714a211f7f7 (diff) |
Multivariant example.multivariant
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,7 @@ env = Environment( SConscript('laks/build_rules')
-#env.SelectMCU('stm32f103cb')
-env.SelectMCU('stm32f407zg')
+env.SConscript('SConscript', variant_dir = 'stm32f1', exports = {'env': env.Clone(), 'mcu': 'stm32f103cb'})
+env.SConscript('SConscript', variant_dir = 'stm32f4', exports = {'env': env.Clone(), 'mcu': 'stm32f407zg'})
-env.Firmware('demo.elf', Glob('*.cpp'))
+# vim: syn=python
|