summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2013-10-11 21:19:08 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2013-10-11 21:19:08 +0200
commit9a09653330f2af11149b83e1df42a05a6cb018dc (patch)
treeba7a72f9500039f923ebc1f021d742bed2c6c063 /SConstruct
parent99246622402221c3a368cd1433c8f744cd9d41ea (diff)
Added bootloader.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 62b30cb..00e8e8f 100644
--- a/SConstruct
+++ b/SConstruct
@@ -8,4 +8,6 @@ SConscript('laks/build_rules')
env.SelectMCU('stm32f303rc')
-env.Firmware('arcin.elf', Glob('*.cpp'))
+env.Firmware('arcin.elf', ['main.cpp'], LINK_SCRIPT = 'arcin.ld')
+
+env.Firmware('bootloader.elf', ['bootloader.cpp'], LINK_SCRIPT = 'bootloader.ld')