summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2016-08-19 01:54:24 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2016-08-19 01:54:24 +0200
commit16289c720a0f63d636faaaf4d4432496a8aa4231 (patch)
tree6d71538883d173e5185aae25234be0a3d23eab77 /SConstruct
parent2eb61cda770ca48068daeeee83917f023d8a6110 (diff)
Ported bootloader from arcin.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct5
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 6926505..0bcf8f6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -8,4 +8,7 @@ SConscript('laks/build_rules')
env.SelectMCU('stm32l052c8')
-env.Firmware('demo.elf', Glob('*.cpp'))
+env.Firmware('main.elf', ['main.cpp'], LINK_SCRIPT = 'main.ld')
+
+env.Firmware('bootloader.elf', ['bootloader.cpp'], LINK_SCRIPT = 'bootloader.ld')
+