Skip to content

Commit abc021f

Browse files
authored
Update bsp_detail.py
1 parent 07723f9 commit abc021f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bsp_detail.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ def output_to_markdown(df, output_file):
2525
file.write(df.to_markdown(index=False))
2626

2727
# 示例用法:
28-
BSP_ROOT = '.'
28+
BSP_ROOT = os.path.join(".")
2929
exclude_paths = ['templates', 'doc']
30-
files_to_check = ['rtconfig.h','rtconfig.py', '.config','Kconfig', 'template.uvprojx','template.ewp', 'README.md', 'README_ZH.md','SConscript', 'template.Uv2','template.uvproj']
31-
sconstruct_paths = find_sconstruct_paths('.', exclude_paths)
30+
files_to_check = ['README.md','rtconfig.h', '.config','Kconfig', 'template.uvprojx','template.ewp', 'README.md', 'README_ZH.md', 'template.Uv2','template.uvproj']
31+
sconstruct_paths = find_sconstruct_paths(BSP_ROOT, exclude_paths)
3232
result_table = check_files(sconstruct_paths, files_to_check)
3333
print(result_table)
3434
output_file = 'output.md'

0 commit comments

Comments
 (0)