Logo
Explore Help
Sign In
espressif/esp-idf
1
0
Fork 1
You've already forked esp-idf
mirror of https://github.com/espressif/esp-idf.git synced 2025-10-04 19:10:58 +02:00
Code Issues Packages Projects Releases Wiki Activity
Files
3b5c3d6521597f727743091311280eb61a6f4f7b
esp-idf/tools/idf_py_actions/errors.py

11 lines
443 B
Python
Raw Normal View History

Add idf.py extensions and move core actions to separate files
2019-10-03 18:26:44 +02:00
class FatalError(RuntimeError):
"""
Use component manager if available as python package
2019-11-18 17:34:33 +01:00
Wrapper class for runtime errors that aren't caused by bugs in idf.py or the build process.
Add idf.py extensions and move core actions to separate files
2019-10-03 18:26:44 +02:00
"""
idf.py: debug targets for easier execution of openocd, gdb, gdbui Support for execution of asynchronous target, such as openocd, which by default runs in the background, but if it's the only target idf.py outputs the openocd in the console waiting for termination by user. Supports also blocking commands gdb and gdbtui to start a debugging session in an active console. Supports running gdbgui running a UI debugging session in a browser window, using the active console for other commands, such as openocd or monitor. Supports combining the debug targets in one action list, such as idf.py openocd gdbgui monitor
2019-07-23 21:37:31 +02:00
def __init__(self, message, ctx=None):
super(RuntimeError, self).__init__(message)
# if context is defined, check for the cleanup tasks
if ctx is not None and "cleanup" in ctx.meta:
# cleans up the environment before failure
ctx.meta["cleanup"]()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 39ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API