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 2929 sys .argv .pop (sys .argv .index ("--build_timeout" ) + 1 )
3030 sys .argv .remove ("--build_timeout" )
3131
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.
3434COPY_BOARDS_LOCAL_TXT = False
3535boards_local_txt = None
3636if "--boards-local-txt" in sys .argv :
@@ -473,10 +473,10 @@ def main():
473473 fqbn = ALL_PLATFORMS [platform ][0 ]
474474 print ('#' * 80 )
475475 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 ])
478478
479- # Inject boards.local.txt if enabled
479+ # Inject boards.local.txt if requested
480480 if COPY_BOARDS_LOCAL_TXT and boards_local_txt :
481481 try :
482482 # Find platform path via `arduino-cli core list --format json`
You can’t perform that action at this time.
0 commit comments