diff options
Diffstat (limited to 'src/openocd.c')
-rw-r--r-- | src/openocd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openocd.c b/src/openocd.c index 5ce01e82..109f0e19 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -340,6 +340,10 @@ int openocd_main(int argc, char *argv[]) if (ERROR_OK != ret) return EXIT_FAILURE; + ret = command_run_line(cmd_ctx, "init_targets"); + if (ERROR_OK != ret) + ret = EXIT_FAILURE; + if (init_at_startup) { ret = command_run_line(cmd_ctx, "init"); |