summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-12-10 22:39:44 -0500
committerDan Halbert <halbert@halwitz.org>2019-12-10 22:39:44 -0500
commitd9ca4c9a608c08585e37eba88f86a1d89e1335e4 (patch)
treecf5e3cd16c5804bb4e469e8aee042c5a37d35cc6 /tools
parentc6221c5956018941804457274e4fbed03de7e403 (diff)
fix build failures
Diffstat (limited to 'tools')
-rw-r--r--tools/build_memory_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_memory_info.py b/tools/build_memory_info.py
index afe49650e..f61b843ce 100644
--- a/tools/build_memory_info.py
+++ b/tools/build_memory_info.py
@@ -61,7 +61,7 @@ for region in regions:
space = space.split("/*")[0]
space = K_PATTERN.sub(K_REPLACE, space)
space = M_PATTERN.sub(M_REPLACE, space)
- regions[region] = eval(space)
+ regions[region] = int(eval(space))
# TODO Remove check for both FLASH_FIRMWARE and FLASH after all ports are converted to use FLASH_FIRMWARE.
try: