I'm moving to the latest kernel build 1.9.3 but seem to be unable to successfully build for an STM32 board. I am getting the following error:
MPY modules/lcd160cr.py
Traceback (most recent call last):
File "modules/lcd160cr.py", line 1
SyntaxError: invalid syntax
../../py/mkrules.mk:115: recipe for target 'build-PYBV3/frozen_mpy/lcd160cr.mpy' failed
make: *** [build-PYBV3/frozen_mpy/lcd160cr.mpy] Error 1
I'm following the directions to make mpy-cross first using:
make mpy-cross
from the root repository directory as described at https://github.com/micropython/micropyt ... 6a44d44918.
I then am running from the STM32 directory
make BOARD=PYBV3
Is there something obvious that I am overlooking to compile the latest kernel?
Thanks!
lcd160cr.py Recipe for target failed
Re: lcd160cr.py Recipe for target failed
Are you sure you have an Pyboard Version 0.3?
And no, you do not have to call mpy-cross manually. That's done by the Makefile. All sources to be included in flash have to be in the modules subdirectory of STM32
And no, you do not have to call mpy-cross manually. That's done by the Makefile. All sources to be included in flash have to be in the modules subdirectory of STM32