mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Add idf.py monitor argument --no-reset (-R) to prevent resetting the MCU target on monitor startup
Add idf.py monitor argument --no-reset (-R) to prevent resetting the CPU on monitor startup idf.py monitor: fix type signature idf.py monitor: fix reset key shortcut when --no-reset (-R) argument is used idf.py monitor: change --no-reset (-R) argument descriptions in help idf.py monitor: simplify --no-reset (-R) argument checks idf.py monitor: add warning if --no-reset is used, but --port is not given idf.py monitor: ignore --no-reset if --port is not given
This commit is contained in:
@@ -17,6 +17,13 @@ def get_parser(): # type: () -> argparse.ArgumentParser
|
||||
default=os.environ.get('ESPTOOL_PORT', '/dev/ttyUSB0')
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
'--no-reset', '-R',
|
||||
help='Do not reset the chip on monitor startup',
|
||||
default=False,
|
||||
action='store_true'
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
'--disable-address-decoding', '-d',
|
||||
help="Don't print lines about decoded addresses from the application ELF file",
|
||||
|
Reference in New Issue
Block a user