summaryrefslogtreecommitdiffstatshomepage
path: root/py/persistentcode.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-05-02 09:59:21 +1000
committerDamien George <damien.p.george@gmail.com>2019-05-07 13:54:20 +1000
commit7e90e22ea52665e38138d1e704d5e527439b663c (patch)
tree37d16b07a80c3326759c63c27af485ef65ed7cc6 /py/persistentcode.c
parent6323cbda4fd82f2396a19e18a224a2579a392303 (diff)
downloadmicropython-7e90e22ea52665e38138d1e704d5e527439b663c.tar.gz
micropython-7e90e22ea52665e38138d1e704d5e527439b663c.zip
mpy-cross: Add --version command line option to print version info.
Prints something like: MicroPython v1.10-304-g8031b7a25 on 2019-05-02; mpy-cross emitting mpy v4
Diffstat (limited to 'py/persistentcode.c')
-rw-r--r--py/persistentcode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/persistentcode.c b/py/persistentcode.c
index 70ec2ddd65..c8d3bb8a66 100644
--- a/py/persistentcode.c
+++ b/py/persistentcode.c
@@ -40,9 +40,6 @@
#define QSTR_LAST_STATIC MP_QSTR_zip
-// The current version of .mpy files
-#define MPY_VERSION (4)
-
// Macros to encode/decode flags to/from the feature byte
#define MPY_FEATURE_ENCODE_FLAGS(flags) (flags)
#define MPY_FEATURE_DECODE_FLAGS(feat) ((feat) & 3)