From 49012588461f1a43e9e476f676d946d91c3df9e7 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 29 Mar 2015 21:37:03 +0200 Subject: Added STM32L0 support. --- build_rules | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build_rules') diff --git a/build_rules b/build_rules index 42878b7..6137608 100644 --- a/build_rules +++ b/build_rules @@ -81,6 +81,14 @@ def select_stm32(env, variant): 'g': 'stm32_f4_g.ld', }[flash] + elif family in ('l051', 'l052', 'l053'): + select_arm(env, 'cortex-m0plus') + env.Append(CPPDEFINES = ['STM32L0']) + + env['LINK_SCRIPT'] = { + '8': 'stm32_l0_8.ld', + }[flash] + else: print 'Unknown stm32 family: %s' % family Exit(1) -- cgit v1.2.3