Hi and thank you for this nice job!
I am working on Pico W and face to memory issue so I tried to cross compile some pieces of python files into mpy.
in particular I wanted to cross-compile the driver "st7789_4bit"
Issue : by calling the command:./mpy-cross /home/pi/test/sources/st7789_4bit.py I have the error SyntaxError: invalid arch pointing on the decorator @micropython.viper for the function _lcopy
as a workaround I did put in comment the @micropython.viper and get a valid mpy file, with the following HW instance:
but in this case the sceen display is squeezed as follow:
no information is lost it is just the image that is squeezed, (and color are not the one expected)
I guess by tricking code somewhere it is possible to recover this , can you please help?
Thank you!
set up :
screen Pico-LCD-1.3
MicroPython v1.19.1-992 compile on Raspberry 4 "Debian GNU/Linux 11 (bullseye)"
HW target : Raspberry Pi Pico W with RP2040
Hi and thank you for this nice job! I am working on Pico W and face to memory issue so I tried to cross compile some pieces of python files into mpy. in particular I wanted to cross-compile the driver "st7789_4bit"
./mpy-cross /home/pi/test/sources/st7789_4bit.py
I have the errorSyntaxError: invalid arch
pointing on the decorator@micropython.viper
for the function_lcopy
as a workaround I did put in comment the
@micropython.viper
and get a valid mpy file, with the following HW instance:but in this case the sceen display is squeezed as follow:
no information is lost it is just the image that is squeezed, (and color are not the one expected)
I guess by tricking code somewhere it is possible to recover this , can you please help? Thank you!
set up : screen Pico-LCD-1.3 MicroPython v1.19.1-992 compile on Raspberry 4 "Debian GNU/Linux 11 (bullseye)" HW target : Raspberry Pi Pico W with RP2040
Expected display (without compile):