mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
change(gdbinit): set remote timeout for the gdb connection
This commit is contained in:
parent
c893fb1b2c
commit
1ce2c81ea9
@ -11,12 +11,17 @@ import threading
|
|||||||
import time
|
import time
|
||||||
from textwrap import indent
|
from textwrap import indent
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from typing import Any, Dict, List, Optional
|
from typing import Any
|
||||||
|
from typing import Dict
|
||||||
|
from typing import List
|
||||||
|
from typing import Optional
|
||||||
|
|
||||||
from click.core import Context
|
from click.core import Context
|
||||||
from idf_py_actions.constants import OPENOCD_TAGET_CONFIG, OPENOCD_TAGET_CONFIG_DEFAULT
|
from idf_py_actions.constants import OPENOCD_TAGET_CONFIG
|
||||||
|
from idf_py_actions.constants import OPENOCD_TAGET_CONFIG_DEFAULT
|
||||||
from idf_py_actions.errors import FatalError
|
from idf_py_actions.errors import FatalError
|
||||||
from idf_py_actions.tools import PropertyDict, ensure_build_directory
|
from idf_py_actions.tools import ensure_build_directory
|
||||||
|
from idf_py_actions.tools import PropertyDict
|
||||||
|
|
||||||
PYTHON = sys.executable
|
PYTHON = sys.executable
|
||||||
ESP_ROM_INFO_FILE = 'roms.json'
|
ESP_ROM_INFO_FILE = 'roms.json'
|
||||||
@ -47,6 +52,7 @@ file {app_elf}
|
|||||||
'''
|
'''
|
||||||
GDBINIT_CONNECT = '''
|
GDBINIT_CONNECT = '''
|
||||||
# Connect to the default openocd-esp port and break on app_main()
|
# Connect to the default openocd-esp port and break on app_main()
|
||||||
|
set remotetimeout 10
|
||||||
target remote :3333
|
target remote :3333
|
||||||
monitor reset halt
|
monitor reset halt
|
||||||
flushregs
|
flushregs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user