diff options
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) |