summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
-