summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-10-13 21:00:33 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-10-13 21:01:54 +0200
commit3c3654210d7b8a7402de55726617ba3dc6ff456a (patch)
treefdae0a2ddff0c1455480ee914f2818eb8057139c /SConstruct
parenta4d31776b23a8517a7493390ab82a714a211f7f7 (diff)
Multivariant example.multivariant
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 574f656..8e7b8b9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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