Skip to content

Cross Compile micropython for EV3 #1482

@JonathanDrukker

Description

@JonathanDrukker

Hi, I would like to cross-compile my program for ev3 and run it on pybricks-micropython. I am using native emitters in the program.

I have tried to install the mpy-cross-v4 branch of this repository and run it on WSL, but when uploading to the EV3 I got the following error:
ValueError: incompatible .mpy file
I think it has something to do with the architecture of the EV3, which is armv5tejl, but when I build the files via ./mpy-cross -march=armv5tejl <path_to_file> it shows me the info/docs on how to use mpy-cross.

Does anyone have an idea on how to cross-compile for pybricks? Or something else?
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsIssues related to continuous integration and distribution of software.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions