Open darkman7hr opened 1 year ago
Hi, it means your cross compiler mpycross is a different version from tte firmware. I have recently put a 1.22 firmware in the repository. Either load the previous firmware 1.19 - and if you do not erase flash, all your uploads should still be there - or update your version of mpycross and reload the mpy files.
I'm using 1.22. But I my compiler is:
bash-5.2# mpy-cross --version MicroPython v1.20.0 on 2023-05-02; mpy-cross emitting mpy v6.1
I installed it yesterday. Is there newer?
I am using the latest software from GitHub which is a preview 1.22?so it would probably be best if you try the 1.19 firmware.
with 1.19 firmware I have this problem.. it goes black then it writes "loading.." .. and then nothing.
`+ echo 'Loading mpy files' Loading mpy files
Looks like the load command is wrong.
Are you using the install.sh command?
Also using Thonny, you can check which modules have actually been loaded as it has a view of the ESP32 flash file store.
seems I was doing install then load. tnx.
There seems to be an issue: official release version of mpy-cross
is not compatible with 1.22
firmware and 1.19 firmware does not have deflate
module, which causes issues. Easiest solution seems to be to add 1.21 firmware to repo, but I have not tested it yet (can;t find it precompiled, might need to build it myself)
tested on V3 watch
EDIT: found a binary of mpy-cross with required version, and by using it V3 watch works with 1.22 firmware
Hi,
I uploaded everything like readme says, but:
`MicroPython v1.22.0-preview.21.g4074f828d.dirty on 2023-10-16; Generic ESP32 module with SPIRAM with ESP32 Type "help()" for more information.