summaryrefslogtreecommitdiff
path: root/SConstruct
blob: 0858f1003e265311cfe672727d0b262252244d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os

env = Environment(
	ENV = os.environ,
)

SConscript('laks/build_rules')

env.SelectMCU('stm32f303rc')

env.Firmware('arcin.elf', Glob('arcin/*.cpp'), LINK_SCRIPT = 'arcin/arcin.ld')

env.Firmware('bootloader.elf', Glob('bootloader/*.cpp'), LINK_SCRIPT = 'bootloader/bootloader.ld')

env.Firmware('test.elf', Glob('test/*.cpp'))