summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsheltonyu <[email protected]>2025-04-22 18:42:38 +0800
committerGitHub <[email protected]>2025-04-22 18:42:38 +0800
commit9551bfe5fcce39ad306ea83ec91d09f81d50b525 (patch)
treed5301fe2df92f50cfc57984955ace89cf1b91ccb
parentbd796f905533be21762e992b6cd91ecf5732ec47 (diff)
[bsp/at32] fixed 'scons --dist' error (#10212)
-rw-r--r--bsp/at32/tools/sdk_dist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsp/at32/tools/sdk_dist.py b/bsp/at32/tools/sdk_dist.py
index 242e570c96..0ca0e61e7a 100644
--- a/bsp/at32/tools/sdk_dist.py
+++ b/bsp/at32/tools/sdk_dist.py
@@ -35,6 +35,7 @@ def dist_do_building(BSP_ROOT, dist_dir):
)
print("=> copy bsp drivers")
+ bsp_copy_files(os.path.join(library_path, 'CMSIS'), os.path.join(library_dir, 'CMSIS'))
bsp_copy_files(os.path.join(library_path, 'rt_drivers'), os.path.join(library_dir, 'rt_drivers'))
bsp_copy_files(os.path.join(library_path, 'usbd_library'), os.path.join(library_dir, 'usbd_library'))
bsp_copy_files(os.path.join(library_path, 'usbotg_library'), os.path.join(library_dir, 'usbotg_library'))