|written by Speeder on Oct 15, 2012 16:59|
|Anyone here is toying with Raspberry PI?|
I just realized that it might be a interesting platform to port Linoleum to...
And use Linoleum to teach about coding on such low level for a limited (but cheap) platform.
I wonder if Lino might be used to access the I/O pins on it.
I don't own a Raspberry PI... I would not even know what to do with it, but it sounds interesting.
|written by Kristos on Oct 15, 2012 18:21|
|Ooo, that looks cool. Thanks for pointing it out.|
|It looks like it's just an underpowered ARM computer running Linux. With an ARM cpu pack and an (updated) Linux system pack, Lino applications could be compiled to run on it. It wouldn't be bad to have those things, both for that and other platforms, though it would require someone with low-level programming knowledge of the relevant platforms who was interested in working on it.|
One thing to note though, is that while Lino can be ported to ARM, it might not make full use of the hardware's capabilities, since it wouldn't provide access to all of the processor's available registers, and perhaps other things, unless changes were made in future versions of Lino to enable it. It's difficult to say if that would significantly effect performance though.
As for accessing IO pins, that would likely have to be done via machine code fragments (or a library using them), since Lino doesn't directly support platform-specific nonessential hardware, in order to maintain compatibility with other systems.