summaryrefslogtreecommitdiff
path: root/tools/mpy-tool.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-09-26 16:39:37 +1000
committerDamien George <damien.p.george@gmail.com>2019-09-26 16:39:37 +1000
commit5716c5cf65e9b2cb46c2906f40302401bdd27517 (patch)
treec3e3ecc5efaae279c8c434df5a5320ec216be284 /tools/mpy-tool.py
parent96f2a3807583945042b628b5184b0c91cf2714a2 (diff)
py/persistentcode: Bump .mpy version to 5.
The bytecode opcodes have changed (there are more, and they have been reordered).
Diffstat (limited to 'tools/mpy-tool.py')
-rwxr-xr-xtools/mpy-tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py
index c6f90e4f8..4f8e965d7 100755
--- a/tools/mpy-tool.py
+++ b/tools/mpy-tool.py
@@ -57,7 +57,7 @@ class FreezeError(Exception):
return 'error while freezing %s: %s' % (self.rawcode.source_file, self.msg)
class Config:
- MPY_VERSION = 4
+ MPY_VERSION = 5
MICROPY_LONGINT_IMPL_NONE = 0
MICROPY_LONGINT_IMPL_LONGLONG = 1
MICROPY_LONGINT_IMPL_MPZ = 2