I have upgraded both the Xbee3 firmware to the latest (1013) and the Pycharm Community Edition development IDE (2023.2) to the latest that is supported by the newest Digi Xbee plugin (2.1.7).
Setting up a new Digi project mpy-cross.exe is set by default to 1.11.
The problem is that a Xbee3 with the newest firmware are running Micropython 1.20
So when i build the project and upload the main.mpy file I get:
ValueError: incompatible .mpy file
MicroPython v1.20.0-1844-g0266434 on 2023-11-29; XBee3 Zigbee with EFR32MG"
…The Xbee is obviously running 1.20.0 and the comiler 1.11 so I think this is the incompability it reports.
So to try to solve this I updated mpy-cross in pycharm pip to 1.20.0. The update is installed. But the problem then is that every time I push “build” the mpy-cross version automatically reverts to 1.11.
I’m not sure if the Digi Xbee plugin is doing this?
Anyhow, I can’t get past this point. Anyone that have experienced the same?
Best regards, Andreas