From 1a43ae4604aae0e69efa2e5fd18151dd342eaba1 Mon Sep 17 00:00:00 2001 From: protectivedad Date: Fri, 27 Oct 2023 08:23:10 -0300 Subject: [PATCH] Update env.py fixed FLASH_IS_CUSTOM error 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)})")