SOS #9768
-
Dear creator In minimal ports . i'll try compile firmware to stm32f410rb series mcu core. the douctment mentioned about how to disable MICROPY_ENABLE_COMPILER. it did it! but got a new problem: how can i mpy files? i just try run : mpy-cross xxx.py make mpy files was success!. but if try : make CROSS=1 was unsuccess in the final say:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think what's happened here is you've used a relative path (i.e. |
Beta Was this translation helpful? Give feedback.
-
okey .thank you Jim. my probem was done. just Absolute path & relative path that. Thank you again.
深藍許願樹
***@***.***
|
Beta Was this translation helpful? Give feedback.
I think what's happened here is you've used a relative path (i.e.
../../path/to/xxx.py
) and this has ended up in the mpy file. mpy-tool should probably handle this, but in the meantime you can use the-s
argument to mpy-cross to override the source name. e.g.mpy-cross -o xxx.mpy -s xxx.py ../../path/to/xxx.py
.