diff options
| author | liukangcc <[email protected]> | 2021-10-11 17:08:34 +0800 |
|---|---|---|
| committer | liukangcc <[email protected]> | 2021-10-11 17:09:13 +0800 |
| commit | 4bf69754676d1b5c5e0ddeb8b46eab3200bae27f (patch) | |
| tree | 11762871eac27df7d35937a775f3c2e25540588b /bsp/imxrt | |
| parent | 24f2ce62ba471fc5a24db0f9af8dd99a59aa5adf (diff) | |
[imxrt1050xxx] update imxrt template to support scons --dist
Diffstat (limited to 'bsp/imxrt')
| -rw-r--r-- | bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py b/bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py index 0161c3fe7c..6944bf739b 100644 --- a/bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py +++ b/bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py @@ -147,3 +147,10 @@ elif PLATFORM == 'iar': EXEC_PATH = EXEC_PATH + '/arm/bin/' POST_ACTION = 'ielftool --bin $TARGET rtthread.bin' + +def dist_handle(BSP_ROOT, dist_dir): + import sys + cwd_path = os.getcwd() + sys.path.append(os.path.join(os.path.dirname(BSP_ROOT), 'tools')) + from sdk_dist import dist_do_building + dist_do_building(BSP_ROOT, dist_dir |
