Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit422fde9

Browse files
committed
[CI] Add url option
Allow to change the default url for the board managerSigned-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent011addb commit422fde9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎CI/build/arduino-cli.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ def check_config():
161161
globalroot_output_dir
162162
globaloutput_dir
163163
globallog_file
164+
globalstm32_url
165+
164166
ifargs.ciisFalse:
165167
ifos.path.isfile(path_config_filename):
166168
try:
@@ -215,6 +217,9 @@ def check_config():
215217
+arduino_cli_default_version
216218
)
217219

220+
ifargs.url:
221+
stm32_url=args.url
222+
218223
try:
219224
output=subprocess.check_output(
220225
[arduino_cli,"core","search","stm32","--additional-urls",stm32_url],
@@ -874,6 +879,12 @@ def build(build_conf):
874879
+cores_config_file_default,
875880
)
876881

882+
parser.add_argument(
883+
"-u","--url",metavar="<string>",help="additional URL for the board manager\
884+
Default url : "
885+
+stm32_url,
886+
)
887+
877888
parser.add_argument(
878889
"-v","--verbose",help="enable arduino-cli verbose mode",action="store_true"
879890
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp