Skip to content

Commit

Permalink
Update env.py fixed FLASH_IS_CUSTOM error
Browse files Browse the repository at this point in the history
Pointed to the proper item.
  • Loading branch information
protectivedad authored Oct 27, 2023
1 parent 1ed0000 commit 1a43ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)})")

Expand Down

0 comments on commit 1a43ae4

Please sign in to comment.