summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-03-07 17:13:24 +1100
committerDamien George <damien.p.george@gmail.com>2019-03-08 15:53:05 +1100
commit9a5f92ea72754c01cc03e5efcdfe94021120531e (patch)
tree0c97b497cb37c8012d19452cfddb2bafe90a2a98
parentea3c80a514c5dc4cc3a8349815eceec4fa1ac57f (diff)
py/persistentcode: Bump .mpy version to 4.
-rw-r--r--py/persistentcode.c2
-rwxr-xr-xtools/mpy-tool.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/py/persistentcode.c b/py/persistentcode.c
index 78849fedf..ad502a511 100644
--- a/py/persistentcode.c
+++ b/py/persistentcode.c
@@ -41,7 +41,7 @@
#define QSTR_LAST_STATIC MP_QSTR_zip
// The current version of .mpy files
-#define MPY_VERSION (3)
+#define MPY_VERSION (4)
// Macros to encode/decode flags to/from the feature byte
#define MPY_FEATURE_ENCODE_FLAGS(flags) (flags)
diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py
index 318343227..ff31a61bd 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 = 3
+ MPY_VERSION = 4
MICROPY_LONGINT_IMPL_NONE = 0
MICROPY_LONGINT_IMPL_LONGLONG = 1
MICROPY_LONGINT_IMPL_MPZ = 2