summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author程蒙蒙 <[email protected]>2023-06-30 08:25:40 +0800
committerGitHub <[email protected]>2023-06-30 08:25:40 +0800
commita9018285415f2f63ff06200e936b2e90a20afeb2 (patch)
tree046a42ae48ef1cb1664b2893a63e8932953f8d4f
parent416c98c3c290c51181ede4a033ba2318199049da (diff)
[acm32]修复scons --dist错误 (#7749)
-rw-r--r--bsp/acm32/acm32f0x0-nucleo/rtconfig.py8
-rw-r--r--bsp/acm32/acm32f4xx-nucleo/rtconfig.py8
2 files changed, 0 insertions, 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)
-