[tools] 增加vscode pyocd下载命令 scons --target=vsc --pack=xxx

This commit is contained in:
liYangYang
2023-10-22 22:58:16 +08:00
committed by GitHub
parent 6459495726
commit 9afd38455d
3 changed files with 197 additions and 0 deletions

View File

@@ -80,6 +80,10 @@ def AddOptions():
dest = 'target',
type = 'string',
help = 'set target project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake')
AddOption('--pack',
dest = 'cmsispack',
type = 'string',
help = 'set pack: <cmsispack path>')
AddOption('--strict',
dest='strict-compiling',
help='Compiling project with strict mode and ALL warning will be errors',