[scons] ci.attachconfig.yml is used in combination with scons

This commit is contained in:
hydevcode
2025-01-22 02:49:25 +08:00
committed by Meco Man
parent 0800db1400
commit 5886e262f9
3 changed files with 99 additions and 1 deletions

View File

@@ -141,3 +141,10 @@ def AddOptions():
action = 'store_true',
default = False,
help = 'make compile_commands.json')
AddOption('--attach',
dest = 'attach',
type = 'string',
help = 'View attachconfig or add attach to.config.'+\
'e.g. scons --attach=? View all attachconfig for the current bsp.'+\
' or scons --attach=component.cherryusb_cdc Set option component.cherryusb_cdc inside attachconfig to.config.'+\
' or scons --attach=default Restore.config and rtconfig to before attch was set.')