Skip to content

Commit 4bf6975

Browse files
committed
[imxrt1050xxx] update imxrt template to support scons --dist
1 parent 24f2ce6 commit 4bf6975

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bsp/imxrt/libraries/templates/imxrt1050xxx/rtconfig.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,10 @@
147147

148148
EXEC_PATH = EXEC_PATH + '/arm/bin/'
149149
POST_ACTION = 'ielftool --bin $TARGET rtthread.bin'
150+
151+
def dist_handle(BSP_ROOT, dist_dir):
152+
import sys
153+
cwd_path = os.getcwd()
154+
sys.path.append(os.path.join(os.path.dirname(BSP_ROOT), 'tools'))
155+
from sdk_dist import dist_do_building
156+
dist_do_building(BSP_ROOT, dist_dir

0 commit comments

Comments
 (0)