From ecb09533331118cdf1ed7aff4dbb1289b33a4b11 Mon Sep 17 00:00:00 2001 From: Valerii Koval Date: Mon, 12 Feb 2024 14:36:28 +0200 Subject: [PATCH] Print explicit path to missing partition table Resolve #1304 --- builder/frameworks/espidf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/frameworks/espidf.py b/builder/frameworks/espidf.py index eb3deb8..7a51d3b 100644 --- a/builder/frameworks/espidf.py +++ b/builder/frameworks/espidf.py @@ -971,7 +971,7 @@ def generate_empty_partition_image(binary_path, image_size): def get_partition_info(pt_path, pt_offset, pt_params): if not os.path.isfile(pt_path): sys.stderr.write( - "Missing partition table file `%s`\n" % os.path.basename(pt_path) + "Missing partition table file `%s`\n" % pt_path ) env.Exit(1)