From 7f43624824dbabe82ff04f0d2b61ba447cac11f8 Mon Sep 17 00:00:00 2001 From: protectivedad Date: Fri, 27 Oct 2023 08:34:09 -0300 Subject: [PATCH] [builder] Fix printing flash layout in env.py (#191) Pointed to the proper item. --- builder/utils/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/utils/env.py b/builder/utils/env.py index 1453664c3..721c6f725 100644 --- a/builder/utils/env.py +++ b/builder/utils/env.py @@ -126,7 +126,7 @@ def dump(k, v, indent=""): if env.get("FLASH_IS_CUSTOM", False): print("CUSTOM FLASH LAYOUT:") for name, layout in board.get("flash").items(): - (_, _, length) = v.partition("+") + (_, _, length) = layout.partition("+") length = int(length, 16) print(f" - {name}: {layout} ({sizeof(length)})")