Well, I started with os:standalone because Ultibo does not have a linux api so I can’t use os:linux nor any of the other choices. Perhaps what I don’t know is how to link a memory-only (no os calls) nim program to ultibo. What would be easiest would be for the nim entry point to receive a large one-time memory allocation for its heap with no os calls at all. The benefit is being able to use the nim language calling the rich ultibo raspberry pi resources through importc calls.
I will look at system.nim. Thanks.