4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-31 08:20:25 +08:00

Merge pull request #2180 from SummerGGift/add_stm32_new_framework

[tools][vsc.py] Support Chinese path
This commit is contained in:
Bernard Xiong 2019-01-10 10:56:14 +08:00 committed by GitHub
commit 80c1354771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,13 +64,13 @@ def GenerateCFiles(env):
json_obj = {}
json_obj['configurations'] = [config_obj]
vsc_file.write(json.dumps(json_obj, indent=4))
vsc_file.write(json.dumps(json_obj, ensure_ascii=False, indent=4))
vsc_file.close()
return
def GenerateVSCode(env):
print('Update setting files for VSCode...'),
print('Update setting files for VSCode...')
GenerateCFiles(env)
print('Done!')