That'd be awesome, sure! I'll shoot you an email.
PlatformIO is nice, yes - I've already been suggested linking/using that, but I haven't looked into it yet. I also haven't worked with that before, so it'd be completely new territory for me.
Re:Running Julia bare-metal on an Arduino
by kurosknight on Monday May 23, 2022 @04:47PM
(#31484588)
Hey! Would you be interested in collaborating on this? I have a wide selection of hardware I'd be happy to contribute as well. You can reach me at my username at gmail dot com.
I think CBinding.jl could be helpful if one wanted to write a target-specific shim library in C and link against it. I would expect that some of the glue is going to be easier to write in C than in Julia, and you can play some tricks with macros to create bare modules [1] within some kind of `@arduino_setup`/`@arduino_loop`-style blocks.
Edit: By the way, those target-specific shims might already exist as part of the Arduino IDE. PlatformIO [2] is also another possible collider of these types of platform-specific glues.
[1]: https://docs.julialang.org/en/v1/manual/modules/#Default-top...
[2]: https://docs.platformio.org/en/latest/boards/index.html