Skip to content

Commit 2d8e462

Browse files
committed
Add no copy argument
1 parent 54f1082 commit 2d8e462

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: tools/config_editor/app.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,19 @@ def main() -> None:
118118
required=False,
119119
help="Target to be compiled. Choose from: " + ", ".join(target_choices))
120120

121+
parser.add_argument("--no-copy",
122+
type=bool,
123+
action=argparse.BooleanOptionalAction,
124+
default=False,
125+
required=False,
126+
help="Disable copying the compiled libraries to arduino-esp32")
127+
121128
parser.add_argument("-c", "--arduino-path",
122129
metavar="<arduino path>",
123130
type=str,
124131
default=arduino_default_path(),
125132
required=False,
126-
help="Path to arduino-esp32 directory")
133+
help="Path to arduino-esp32 directory. Default: " + arduino_default_path())
127134

128135
parser.add_argument("-A", "--arduino-branch",
129136
metavar="<arduino branch>",
@@ -159,6 +166,7 @@ def main() -> None:
159166

160167
# Set the options in the app
161168
app.setting_target = args.target
169+
app.setting_enable_copy = not args.no_copy
162170
app.setting_arduino_path = args.arduino_path
163171
app.setting_arduino_branch = args.arduino_branch
164172
app.setting_idf_branch = args.idf_branch

0 commit comments

Comments
 (0)