From 265dbc0ce11c9cafd902779783561cf6bf6d6bac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BC=9A=E9=A3=9E=E7=9A=84=E7=8C=AA?= <1405837571@qq.com> Date: Wed, 18 Jan 2023 09:23:20 +0800 Subject: [PATCH] =?UTF-8?q?[bsp/stm32wle5-yizhilian-lm401]=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dscons=20--dist=E7=BC=BA=E5=A4=B1=E5=A4=A7=E9=87=8F?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.py b/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.py index c1cd204199..ce02409e5d 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.py +++ b/bsp/stm32/stm32wle5-yizhilian-lm401/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 -- GitLab