Skip to content

Commit

Permalink
[builder] Fix printing flash layout in env.py (#191)
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 7f43624
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 7f43624

Please sign in to comment.