✅ .NET Runtime on ARMv5
Is there a way to run .NET-Applications on an ARMv5 (in my case an EV3)?
14 Replies
i believe it is possible to compile legacy Mono from source to target Armv5
or you can compile your application to run in native aot
Is there a armv5 target?
no, Native AOT only supports Arm64
legacy mono is probably your only choice
it is multi platform
But not multi architecture
that is the purpose of it
it supports the most architectures of any .NET runtime
https://www.mono-project.com/docs/about-mono/supported-platforms/
it is not listed on the page, but if i remember correctly, armv5 is one of the supported platforms
mono is the best option for this. it is robust, stable, well-tested, has been used in production for many years. it is the original .NET runtime for linux, this is what you want
GitHub
GitHub - bflattened/bflat: C# as you know it but with Go-inspired t...
C# as you know it but with Go-inspired tooling (small, selfcontained, and native executables) - GitHub - bflattened/bflat: C# as you know it but with Go-inspired tooling (small, selfcontained, and ...
but as i see it only compile to arm64 too...
that is the same as Native AOT
yes nvm
And how do I build Mono myself?
what you would probably do is use a toolchain for compiling C programs for ev3 like https://www.ev3dev.org/docs/tutorials/using-docker-to-cross-compile/
inside that docker container you can install the build tools required to build mono
then you would follow the instructions in https://www.mono-project.com/docs/compiling-mono/linux/ inside of that container, except you would specify
-host=arm-linux-gnueabi-gcc
or something like that to autotools configure
it is by no means a simple procedure, but i will try it myself to see if problems come up
i do not have an ev3 to test with. and i don’t really know how you are supposed to transfer programs to the ev3 to run, you will have to read more of the ev3dev documentation
you will also need to create a bunch of C# libraries to interact with all of the devices, which is not a small feat eitherWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.
Was this issue resolved? If so, run /close
- otherwise I will mark this as stale and this post will be archived until there is new activity.Sorry for not answering long time...
I found out, that using Python on my EV3 is way less work than using C#.
But anyway thanks for your help, I appreciade that!