|
11 | 11 | import time |
12 | 12 | from textwrap import indent |
13 | 13 | from threading import Thread |
14 | | -from typing import Any, Dict, List, Optional, Union |
| 14 | +from typing import Any |
| 15 | +from typing import Dict |
| 16 | +from typing import List |
| 17 | +from typing import Optional |
| 18 | +from typing import Union |
15 | 19 |
|
16 | 20 | from click import INT |
17 | 21 | from click.core import Context |
18 | 22 | from esp_coredump import CoreDump |
19 | | -from idf_py_actions.constants import OPENOCD_TAGET_CONFIG, OPENOCD_TAGET_CONFIG_DEFAULT |
| 23 | +from idf_py_actions.constants import OPENOCD_TAGET_CONFIG |
| 24 | +from idf_py_actions.constants import OPENOCD_TAGET_CONFIG_DEFAULT |
20 | 25 | from idf_py_actions.errors import FatalError |
21 | | -from idf_py_actions.serial_ext import BAUD_RATE, PORT |
22 | | -from idf_py_actions.tools import (PropertyDict, ensure_build_directory, generate_hints, get_default_serial_port, |
23 | | - get_sdkconfig_value, yellow_print) |
| 26 | +from idf_py_actions.serial_ext import BAUD_RATE |
| 27 | +from idf_py_actions.serial_ext import PORT |
| 28 | +from idf_py_actions.tools import ensure_build_directory |
| 29 | +from idf_py_actions.tools import generate_hints |
| 30 | +from idf_py_actions.tools import get_default_serial_port |
| 31 | +from idf_py_actions.tools import get_sdkconfig_value |
| 32 | +from idf_py_actions.tools import PropertyDict |
| 33 | +from idf_py_actions.tools import yellow_print |
24 | 34 |
|
25 | 35 | PYTHON = sys.executable |
26 | 36 | ESP_ROM_INFO_FILE = 'roms.json' |
|
51 | 61 | ''' |
52 | 62 | GDBINIT_CONNECT = ''' |
53 | 63 | # Connect to the default openocd-esp port and break on app_main() |
| 64 | +set remotetimeout 10 |
54 | 65 | target remote :3333 |
55 | 66 | monitor reset halt |
56 | 67 | maintenance flush register-cache |
|
0 commit comments