diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2019-04-03 17:14:01 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2019-04-03 17:14:01 +0200 |
commit | 3c526f3d0b30e200462290651f7c6a5eb30710a2 (patch) | |
tree | 4fe3cb5fc237d5ce7cd761a1c8a5640d88f6d21a /build_rules | |
parent | d81982edb1c4abf9a38da742f81bb648ce6882c5 (diff) |
Added STM32WB support.stm32wb
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 81547eb..fc7fd75 100644 --- a/build_rules +++ b/build_rules @@ -97,6 +97,14 @@ def select_stm32(env, variant): '8': 'stm32_l0_8.ld', }[flash] + elif family == 'wb55': + select_arm(env, 'cortex-m4f') + env.Append(CPPDEFINES = ['STM32WB']) + + env['LINK_SCRIPT'] = { + 'g': 'stm32_wb_g.ld', + }[flash] + else: print 'Unknown stm32 family: %s' % family Exit(1) |