py/persistentcode: Bump .mpy version number to version 3.
The binary and unary ops have changed bytecode encoding.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user