@JD557 running out of ram while compiling? Can you not cross compile from a more powerful machine?
@kubukoz@mstdn.party Great question.
I think so, but I don't know how to deal with the linking phase. I need a way to add wiringPi, but I don't know how to set that up on my Mac
https://github.com/Programming-Rivers/rules_scala_native/issues/7
@JD557 using bazel to build scala native? talk about going uphill... 😅
@kubukoz@mstdn.party hey, if I wanted to do things the easy way, I would have just used Python.
"We choose to use Scala Native not because it will be easy, but because it will be hard"
But if you have some cross-compilation tips from your playdate projects, those are appreciated.
@JD557 if only I remembered anything 😭
I'd start with a target triple and letting the compiler/linker know where the libs are
Working a bit more on Scala Native + Raspberry PI GPIO .
I have some code to:
So, I have all the building blocks for a small project:
But, I just noticed that I don't have any concrete project like that in mind.
It also doesn't help that the screen is tiny (128x64 and about the size of my thumb), so the amount of text I can show is a bit limited unless I use a font for ants.
So I think I'll let things simmer for a bit until I figure out what to do with this.