py/persistentcode: Bump .mpy version to 4.
This commit is contained in:
parent
ea3c80a514
commit
9a5f92ea72
|
@ -41,7 +41,7 @@
|
||||||
#define QSTR_LAST_STATIC MP_QSTR_zip
|
#define QSTR_LAST_STATIC MP_QSTR_zip
|
||||||
|
|
||||||
// The current version of .mpy files
|
// The current version of .mpy files
|
||||||
#define MPY_VERSION (3)
|
#define MPY_VERSION (4)
|
||||||
|
|
||||||
// Macros to encode/decode flags to/from the feature byte
|
// Macros to encode/decode flags to/from the feature byte
|
||||||
#define MPY_FEATURE_ENCODE_FLAGS(flags) (flags)
|
#define MPY_FEATURE_ENCODE_FLAGS(flags) (flags)
|
||||||
|
|
|
@ -57,7 +57,7 @@ class FreezeError(Exception):
|
||||||
return 'error while freezing %s: %s' % (self.rawcode.source_file, self.msg)
|
return 'error while freezing %s: %s' % (self.rawcode.source_file, self.msg)
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
MPY_VERSION = 3
|
MPY_VERSION = 4
|
||||||
MICROPY_LONGINT_IMPL_NONE = 0
|
MICROPY_LONGINT_IMPL_NONE = 0
|
||||||
MICROPY_LONGINT_IMPL_LONGLONG = 1
|
MICROPY_LONGINT_IMPL_LONGLONG = 1
|
||||||
MICROPY_LONGINT_IMPL_MPZ = 2
|
MICROPY_LONGINT_IMPL_MPZ = 2
|
||||||
|
|
Loading…
Reference in New Issue