From a9018285415f2f63ff06200e936b2e90a20afeb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E8=92=99=E8=92=99?= <37764731+meng-plus@users.noreply.github.com> Date: Fri, 30 Jun 2023 08:25:40 +0800 Subject: [PATCH] =?UTF-8?q?[acm32]=E4=BF=AE=E5=A4=8Dscons=20--dist?= =?UTF-8?q?=E9=94=99=E8=AF=AF=20(#7749)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bsp/acm32/acm32f0x0-nucleo/rtconfig.py | 8 -------- bsp/acm32/acm32f4xx-nucleo/rtconfig.py | 8 -------- 2 files changed, 16 deletions(-) diff --git a/bsp/acm32/acm32f0x0-nucleo/rtconfig.py b/bsp/acm32/acm32f0x0-nucleo/rtconfig.py index 2242cd3daf..4ec8ea5e4b 100644 --- a/bsp/acm32/acm32f0x0-nucleo/rtconfig.py +++ b/bsp/acm32/acm32f0x0-nucleo/rtconfig.py @@ -140,11 +140,3 @@ 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) - diff --git a/bsp/acm32/acm32f4xx-nucleo/rtconfig.py b/bsp/acm32/acm32f4xx-nucleo/rtconfig.py index ad5f30c560..55e06a0552 100644 --- a/bsp/acm32/acm32f4xx-nucleo/rtconfig.py +++ b/bsp/acm32/acm32f4xx-nucleo/rtconfig.py @@ -142,11 +142,3 @@ 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) -