summaryrefslogtreecommitdiff
path: root/tools/mpy-tool.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-10-05 10:48:23 +1100
committerDamien George <damien.p.george@gmail.com>2017-10-05 10:49:44 +1100
commitff93fd4f50321c6190e1659b19e64fef3045a484 (patch)
treed6bbf4f3621995facc3d1fea2abecdc2b0d72cb4 /tools/mpy-tool.py
parent36f7952f764aea782e0223948fabae36abf3ec63 (diff)
py/persistentcode: Bump .mpy version number to version 3.
The binary and unary ops have changed bytecode encoding.
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 ded962487..5de4ecf1c 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 = 2
+ MPY_VERSION = 3
MICROPY_LONGINT_IMPL_NONE = 0
MICROPY_LONGINT_IMPL_LONGLONG = 1
MICROPY_LONGINT_IMPL_MPZ = 2