File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1329,11 +1329,11 @@ def get_target(self, target=None):
1329
1329
if target and (target .lower () == 'detect' or target .lower () == 'auto' ):
1330
1330
targets = self .get_detected_targets ()
1331
1331
if targets == False :
1332
- error ("The target detection requires that the 'mbed-ls' python module is installed." )
1332
+ error ("The target detection requires that the 'mbed-ls' python module is installed.\n You can install mbed-ls by running 'pip install mbed-ls'. " )
1333
1333
elif len (targets ) > 1 :
1334
1334
error ("Multiple targets were detected.\n Only 1 target board should be connected to your system when you use the '-m auto' switch." )
1335
1335
elif len (targets ) == 0 :
1336
- error ("No targets were detected.\n Please make sure a target board to this system." )
1336
+ error ("No targets were detected.\n Please make sure a target board is connected to this system." )
1337
1337
else :
1338
1338
action ("Detected \" %s\" connected to \" %s\" and using com port \" %s\" " % (targets [0 ]['name' ], targets [0 ]['mount' ], targets [0 ]['serial' ]))
1339
1339
target = targets [0 ]['name' ]
You can’t perform that action at this time.
0 commit comments