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

env = Environment(
	ENV = os.environ,
)

SConscript('laks/build_rules')

env.SelectMCU('stm32l052c8')

env.Firmware('main.elf', ['main.cpp'], LINK_SCRIPT = 'main.ld')

env.Firmware('bootloader.elf', ['bootloader.cpp'], LINK_SCRIPT = 'bootloader.ld')