You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
except(ValueError):# relative import fails on Python 2 in non-package mode
2007
+
exceptValueError: # relative import fails on Python 2 in non-package mode
2005
2008
frommbed_terminalimportMbedTerminal
2006
2009
except (IOError, ImportError, OSError):
2007
-
error("The serial terminal functionality requires that the 'mbed-terminal' python module is installed.\nYou can install mbed-terminal by running 'pip install mbed-terminal'.", 1)
2010
+
error("The serial terminal functionality requires that the 'mbed-terminal' python module is installed.\n"
2011
+
"You can install mbed-terminal by running 'pip install mbed-terminal'.", 1)
error("Unable to reset the target board connected to your system.\nThis might be caused by an old interface firmware.\nPlease check the board page for new firmware.", 1)
2017
+
error("Unable to reset the target board connected to your system.\n"
2018
+
"This might be caused by an old interface firmware.\n"
2019
+
"Please check the board page for new firmware.", 1)
2014
2020
ifsterm:
2015
2021
# Some boards will reset the COM port after SendBreak, e.g. STLink based
0 commit comments