diff options
| author | 会飞的猪 <[email protected]> | 2023-01-18 09:35:07 +0800 |
|---|---|---|
| committer | Man, Jianting (Meco) <[email protected]> | 2023-01-17 21:32:43 -0500 |
| commit | 65f18040058c8f3aff638bdd407e5e9f34ccab3f (patch) | |
| tree | 0ed759d277b142d738c69cd2b1f9015aa5a2fa25 | |
| parent | 265dbc0ce11c9cafd902779783561cf6bf6d6bac (diff) | |
[bsp/stm32wle5-yizhilian-lm402]修复scons --dist缺失大量文件
| -rw-r--r-- | bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py b/bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py index c1cd204199..ce02409e5d 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py +++ b/bsp/stm32/stm32wle5-yizhilian-lm402/rtconfig.py @@ -175,3 +175,10 @@ elif PLATFORM == 'iccarm': 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)
\ No newline at end of file |
