File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 29
29
sys .argv .pop (sys .argv .index ("--build_timeout" ) + 1 )
30
30
sys .argv .remove ("--build_timeout" )
31
31
32
- # optional --boards-local-txt option to copy boards.local.txt
33
- # to the appropriate package folder after installing the platform
32
+ # optional --boards-local-txt argument to copy boards.local.txt
33
+ # to the appropriate folder after installing the platform BSP.
34
34
COPY_BOARDS_LOCAL_TXT = False
35
35
boards_local_txt = None
36
36
if "--boards-local-txt" in sys .argv :
@@ -473,10 +473,10 @@ def main():
473
473
fqbn = ALL_PLATFORMS [platform ][0 ]
474
474
print ('#' * 80 )
475
475
ColorPrint .print_info ("SWITCHING TO " + fqbn )
476
- core_fqbn = ":" .join (fqbn .split (':' , 2 )[0 :2 ])
477
- install_platform (core_fqbn , ALL_PLATFORMS [platform ]) # take only first two elements
476
+ core_fqbn = ":" .join (fqbn .split (':' , 2 )[0 :2 ]) # take only first two elements
477
+ install_platform (core_fqbn , ALL_PLATFORMS [platform ])
478
478
479
- # Inject boards.local.txt if enabled
479
+ # Inject boards.local.txt if requested
480
480
if COPY_BOARDS_LOCAL_TXT and boards_local_txt :
481
481
try :
482
482
# Find platform path via `arduino-cli core list --format json`
You can’t perform that action at this time.
0 commit comments