Merge branch 'bugfix/idf_py_gdb_s3_c3' into 'master'

tools: use built-in USB_SERIAL_JTAG for "idf.py openocd" on C3 and S3

See merge request espressif/esp-idf!19418
pull/9350/head
Roland Dobai 2022-08-08 22:53:39 +08:00
commit 311ab428c7
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -159,6 +159,8 @@ def action_extensions(base_actions: Dict, project_path: str) -> Dict:
OPENOCD_TAGET_CONFIG = {
'esp32': '-f board/esp32-wrover-kit-3.3v.cfg',
'esp32s2': '-f board/esp32s2-kaluga-1.cfg',
'esp32c3': '-f board/esp32c3-builtin.cfg',
'esp32s3': '-f board/esp32s3-builtin.cfg',
}
if os.getenv('OPENOCD_SCRIPTS') is None:
raise FatalError('OPENOCD_SCRIPTS not found in the environment: Please run export.sh/export.bat', ctx)