Open timonoko opened 6 months ago
What lines are you referring to? What watch are you using? What firmware did you use?
TTGO-T-watch-2020.V3
In src/graphics.py line 7: @micropython.viper In src/drivers/bma423.py line 10: @micropython.viper
mpy-cross --version: MicroPython v1.21.0 on 2023-10-07; mpy-cross emitting mpy v6.1
Seems to work splendidly without any vipers !
I don't get it. The firmware in this folder is supposed to be 1.22
Where did you get the 1.21 version?
The number 1.21 came from "mpy-cross --version".
I used the firmware version 1.22.
There was more vipers in pngtile.py. They may be important, because opensteetmap.py does not show any tiles.
This might be related to this issue I had when trying to update the firmware.
I just fixed it for my case. Thank you for making me try again.
Have you properly compiled mpy-cross before running compile.sh?
I got the mpy-cross from "pip install mpy-cross".
I have totally solved the problem. I do not even try to mpy-compile those files with vipers.
Great to hear!
By any chance, are you comfortable with C?
C is little bit different than 40 years ago. Weird error messages is the main product nowadays, when I try.
Produces "invalid arch" error. Commented those out and now it works.