diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-03-29 21:37:03 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-03-29 21:37:03 +0200 |
commit | 49012588461f1a43e9e476f676d946d91c3df9e7 (patch) | |
tree | d9e6ab6bf279889ca660ddb86f3942d41e54bf3e /build_rules | |
parent | 7b4ba03bc45dfed09759b9d0f99f6ddfde51ac43 (diff) |
Added STM32L0 support.
Diffstat (limited to 'build_rules')
-rw-r--r-- | build_rules | 8 |
1 files changed, 8 insertions, 0 deletions
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) |