mpy-cross v1.11 - incompatible .mpy file

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
apollo2mond
Posts: 8
Joined: Wed May 29, 2019 6:17 pm

mpy-cross v1.11 - incompatible .mpy file

Post by apollo2mond » Sun Oct 20, 2019 2:20 am

Hi,
I need help/hints regarding mpy-cross and a "incompatible .mpy file" issue.
I have build a new mpy image for esp8266 with frozen modules ... and anything seems to work.
But I can't use mpy-cross - I am getting the error msg. "incompatible .mpy file".

Any ideas?

Thanks!

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: mpy-cross v1.11 - incompatible .mpy file

Post by jimmo » Sun Oct 20, 2019 3:52 am

The version of mpy-cross needs to exactly match the firmware version.

So if you're using release firmware (i.e. v1.11) then you need to checkout the git repo at the v1.11 tag and build that version of mpy-cross.

There have been significant changes to the .mpy file format since v1.11, so think of "master" as its own version.

apollo2mond
Posts: 8
Joined: Wed May 29, 2019 6:17 pm

Re: mpy-cross v1.11 - incompatible .mpy file

Post by apollo2mond » Sun Oct 20, 2019 12:11 pm

Thanks, that was the point - now it works!

to pickup all latest versions:
https://gitlab.com/alelec/mpy_cross/pipelines

Post Reply