Page 1 of 1 Recipe for target failed

Posted: Mon Jan 29, 2018 4:30 pm
by Jacob_Beningo
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/
Traceback (most recent call last):
File "modules/", line 1
SyntaxError: invalid syntax
../../py/ 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 ... 6a44d44918.

I then am running from the STM32 directory


Is there something obvious that I am overlooking to compile the latest kernel?


Re: Recipe for target failed

Posted: Mon Jan 29, 2018 5:55 pm
by Roberthh
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