diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2016-08-19 01:54:24 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2016-08-19 01:54:24 +0200 |
commit | 16289c720a0f63d636faaaf4d4432496a8aa4231 (patch) | |
tree | 6d71538883d173e5185aae25234be0a3d23eab77 /SConstruct | |
parent | 2eb61cda770ca48068daeeee83917f023d8a6110 (diff) |
Ported bootloader from arcin.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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')
+
|