<p dir="ltr">First, You should connect a led to a GPIO. Never a bulb directly, it can burn the GPIO port or worst still the arm soc. If ever you are crazy enough to do it, use a resistor to limit current as a bulb can have low resistance at high temperature and draw too much current. A bulb is too wasteful in energy , use leds they are more secure and reliable.</p>
<p dir="ltr"> There's the upcoming pinctrl technology already in place in the kernel, I dunno since which version as I'm using v4.3-rc6. </p>
<p dir="ltr">Thirdly when building an IOT device, the memory constraints are higher since we are talking in terms of dozens of MB of RAM. If you are building a production kernel many Drivers and other stuff have to be removed in the linux kernel config.  <br></p>
<p dir="ltr">Fourthly, ulibc is the best option if you want performance and minimal usage of RAM in IOT.   It has a high posix compliance with a minimal memory footprint. <br>
</p>
<div class="gmail_quote">On 25 Oct 2015 11:18 pm, "Loganaden Velvindron" <<a href="mailto:gnukid1@yahoo.co.uk">gnukid1@yahoo.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:14px"><div>Hi folks,</div><div><br></div><div>I am wondering why we need a kernel with 2 millions line of code, a big fat glibc, and even more lines of code to power a light bulb on a ARM SoC board ?</div><div><br></div><div>Any IoT expert around can answer this ?</div><div><br></div><div>Kind regards,</div><div>//Logan</div><div dir="ltr">C-x-C-c</div><div dir="ltr"><br></div><div><br></div></div></div><br>__________________________________________________________<br>
Linux User Group of Mauritius (LUGM) Discuss mailing list<br>
Website: <a href="http://lugm.org" rel="noreferrer" target="_blank">http://lugm.org</a><br>
Mailing list archive: <a href="http://discuss.lugm.org/pipermail/discuss_discuss.lugm.org/" rel="noreferrer" target="_blank">http://discuss.lugm.org/pipermail/discuss_discuss.lugm.org/</a><br>
Forum: <a href="http://lugm.org/forum/" rel="noreferrer" target="_blank">http://lugm.org/forum/</a><br>
IRC: #<a href="http://linux.mu" rel="noreferrer" target="_blank">linux.mu</a> on Freenode<br></blockquote></div>