summaryrefslogtreecommitdiff
path: root/tools/options.py
diff options
context:
space:
mode:
authorhydevcode <[email protected]>2025-01-22 02:49:25 +0800
committerMeco Man <[email protected]>2025-01-22 18:21:17 -0500
commit5886e262f9970abeb03336cb464934b3f36c7c24 (patch)
tree730f4d45763c642667ff139011f24fbb5a923d51 /tools/options.py
parent0800db1400f97b9ed8da43216189f596659b1357 (diff)
[scons] ci.attachconfig.yml is used in combination with scons
Diffstat (limited to 'tools/options.py')
-rw-r--r--tools/options.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/options.py b/tools/options.py
index b77b675612..2e92de8bd3 100644
--- a/tools/options.py
+++ b/tools/options.py
@@ -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.') \ No newline at end of file