From d64116866326d0eb8fcdeb60a6716320e4c504f5 Mon Sep 17 00:00:00 2001 From: Jakub Kocka Date: Thu, 5 Oct 2023 11:01:58 +0200 Subject: [PATCH] fix(tools): adjusted esptool @flash_args command print to prevent issues --- tools/idf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/idf.py b/tools/idf.py index 7dafb5b39c..9ab0d90f57 100755 --- a/tools/idf.py +++ b/tools/idf.py @@ -501,7 +501,7 @@ def init_cli(verbose_output: List=None) -> Any: if os.path.exists(os.path.join(args.build_dir, 'flash_args')): print(f'or from the "{args.build_dir}" directory') - print(' {}'.format(' '.join(esptool_cmd + ['@flash_args']))) + print(' {}'.format(' '.join(esptool_cmd + ['"@flash_args"']))) if 'all' in actions or 'build' in actions: print_flashing_message('Project', 'project')