Raspberry pi support

Ive been fiddling around with odin on raspberry pi 5. Downloaded dependencies, built it from source - hello world compiles and runs, however vendor libraries dont have linux arm builds, for example, raylib. Im wondering if there is a plan to support such platforms. This would obviously require building each vendor library for that particular target. Is full support for platforms such as raspberry pi, for example, something that would be considered as an addition to odin, what are the hinderences, downsides, etc.

2 Likes

Appreciate your question, fgriz, as I’ve just recently built Odin on Raspberry Pi 5 myself (after discovering that it had to be built rather than just “installed”–alas for laziness killers ;)…anyway, I’ve only used Odin and Python together on it so far, but am also curious what’s planned for the longer term regarding your question. I’m very new to Odin, so just playing around with it when freedom of schedule permits. So far Odin seems really fantastic.

2 Likes

What should be the support that you want?
If you want to flick some gpio’s, then i can give you some bindings for gpiod.
For i2c and spi i’m currently working on it.

But overall this is more a thing to support the linux api’s less the device directly.

I was asking more in the direction of supporting vendor libraries on linux arm i guess. I can run an odin program on raspberry after compiling odin, but I cant run an odin raylib program.

Is there offical support from raylib? I would guess that there are not pre-built binaries anyways?
For Mac maybe. Otherwise its just adding that binary to the vendor lib which i guess could be easily done maybe adding a *_arm64_linux.so and fixing the import in the bindings.