grasmanek94
Posts: 2
Joined: Fri May 23, 2014 11:12 pm

Which OS to use for programming GPIO pins?

Fri May 23, 2014 11:17 pm

Well, I have looked at the Wiki page which lists about 46 different distributions to install on the PI (I have a B) that it's plain confusing. (Even the sorting doesn't really help anything)

I need an OS which allows me to just place a program onto the SD card, and let the PI run it.

So a simple OS which does this:

Startup,
Initialize LAN
Load very small program (something like arduino sketch)
Maybe even output some text to the screen...
Execute till power-off

And that's it..

All the OS'es I compared are for full fledged systems to browse the internet, watch movies, listen to music, all too hardcore for what I want to do.

Is the an "arduino OS" for raspberry pi or something like that?

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6177
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Which OS to use for programming GPIO pins?

Sat May 24, 2014 12:22 am

Linux is just fine. Just because Linux 'can' be used for all of the other things you've mentioned doesn't mean that you can't use it for very simple things. Linux is used on such a wide variety of devices for this exact reason - it's very flexible. It may take a little bit of learning to create your own distro which suits you though.

Of course you may wish to take a look at RISC OS, but I'm clueless there.

User avatar
DougieLawson
Posts: 37073
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Which OS to use for programming GPIO pins?

Sat May 24, 2014 7:49 am

grasmanek94 wrote:I need an OS which allows me to just place a program onto the SD card, and let the PI run it.
Start simple. Use NOOBS/Raspbian.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Which OS to use for programming GPIO pins?

Sat May 24, 2014 8:48 am

Agreeing with @DougieLawson, but with more words... http://www.raspberrypi.org/forums/viewt ... 97#p537024
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

User avatar
DougieLawson
Posts: 37073
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Which OS to use for programming GPIO pins?

Sun May 25, 2014 10:40 am

DeeJay wrote:Agreeing with @DougieLawson, but with more words... http://www.raspberrypi.org/forums/viewt ... 97#p537024
+1 for that.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

grasmanek94
Posts: 2
Joined: Fri May 23, 2014 11:12 pm

Re: Which OS to use for programming GPIO pins?

Sun May 25, 2014 12:59 pm

alright, I installed raspbian wheezy and disabled gui and make root autologon.
It now does nothing except listen for commands on SSH :)
(but the boot-up time is quite long, around 40 seconds)

Also, is there a special C++ cross-compiler for raspbian wheezy to use on Windows? (or do I have revert to cygwin? which sometimes does not output correct binaries / is easy to misconfigure)

Return to “Beginners”