TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

RIOT: Operating System for the Internet of Things

142 点作者 lainon超过 6 年前

17 条评论

x3ro超过 6 年前
One of the (admittedly less active these days) contributors here. Happy to answer questions to the best of my ability :)<p>As far as I&#x27;m aware, the focus of RIOT is to make embedded development as similar as possible to the way you&#x27;d write an application on Linux, including most of the relevant POSIX APIs. This is what, as far as I know, sets it apart from other systems such as Contiki or FreeRTOS, which have non-POSIX APIs for interaction with the OS.<p>Someone on this thread asked why RIOT vs FreeRTOS is not something being compared. FreeRTOS doesn&#x27;t really come with all the drivers, network stack etc that you need in order to write an embedded IoT application. That is not to say that it&#x27;s not possible to do so, but it requires more work of picking the right drivers and libraries, whereas RIOT tries to work out of the box for supported devices.<p>Finally, RIOT was born as a university project, and many of the people working on it are either university students or former students. In that sense, there are many, often conflicting interests and no single governing body. Depending on your point of view, this might either be good or bad.
评论 #19026011 未加载
评论 #19026604 未加载
评论 #19027980 未加载
travisgriggs超过 6 年前
We played with RIOT for a couple of months.<p>For our current product, (and I would think a lot of IoT apps), power is king. We run on batteries, and getting back to idle&#x2F;low power states as often as possible is crucial. I&#x27;ve found that a lot of the embedded RTOS often have tickless modes as an &quot;add on.&quot; We had problems getting RIOT to a happy point with that for our chip (samd21).<p>Like some of the other commenters, I&#x27;ve grown a real distaste for embedded RTOS frameworks that try to provide all kinds of layers. In order to be generic&#x2F;cross platform, they always come up short in capability. The functionality that I&#x27;m looking for, is simply getting the basic threading&#x2F;sync primitives to work well and right. Past that, I&#x27;m fine doing the chip IO parts myself. At the time, there was a debate on whether priority inversion was a problem RIOT should worry about or not.<p>After FreeRTOS, and then RIOT, I found TNEO (<a href="https:&#x2F;&#x2F;dmitryfrank.com&#x2F;articles&#x2F;how_i_ended_up_writing_my_own_kernel" rel="nofollow">https:&#x2F;&#x2F;dmitryfrank.com&#x2F;articles&#x2F;how_i_ended_up_writing_my_o...</a>). It&#x27;s been a dream and rock solid for us. It does not come with a large make&#x2F;build system. It&#x27;s just C code. You tweak a couple of things, include one or two bits, and I was off to the races. Coupling it with Unity for testing and then writing ~200 unit tests that stressed all of its functionality was straightforward, helped me understand it even better, and gave me a high degree of confidence in its abilities. It&#x27;s been super solid for us since. It does the one thing I need it to: MicroKernel for dealing with processes and related synchronization primitives.
评论 #19028755 未加载
sufiyan超过 6 年前
Having used both contiki and riot, I found contiki (NG) very good with supporting more devices and peripherals and much easier to integrate and work with. Riot is difficult in that half the times their tutorials themselves didn&#x27;t work and there was no support online (this was about a year back and maybe it is better now).<p>I really prefer contiki ng
评论 #19024870 未加载
wkz超过 6 年前
The OS comparison table leaves me somewhat puzzled.<p>Contiki&#x27;s &quot;C Support&quot; is listed as &quot;partial&quot; without any explanation. What does this even mean? It seems to me that this should be between you and your compiler.<p>Linux is supposedly &quot;partially modular&quot;, whereas RIOT is fully modular. That&#x27;s a bold statement.<p>I get that they are trying to differentiate their product. But without motivations, statements like these sound a bit hollow to me.
评论 #19024663 未加载
评论 #19025057 未加载
评论 #19024991 未加载
magicalhippo超过 6 年前
Most examples I looked at were just a few lines. None of them showed multi-tasking, nor using sensors or similar SPI&#x2F;I2C communication or similar.<p>Looking at the source code it seemed very Arduino-like in the sense that there&#x27;s few knobs to turn, which is nice for simple stuff but means you&#x27;ll have to go straight to registers for anything beyond.<p>Overall a bit hard to get a feel for what it could do.
评论 #19025764 未加载
topbanana超过 6 年前
No IPv4 support?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;RIOT-OS&#x2F;RIOT&#x2F;tree&#x2F;master&#x2F;examples&#x2F;gnrc_networking" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;RIOT-OS&#x2F;RIOT&#x2F;tree&#x2F;master&#x2F;examples&#x2F;gnrc_ne...</a>
评论 #19026718 未加载
评论 #19028166 未加载
评论 #19026249 未加载
fermigier超过 6 年前
Talk about RIOT given at last year&#x27;s OSIS in Paris:<p><a href="https:&#x2F;&#x2F;fr.slideshare.net&#x2F;PoleSystematicParisRegion&#x2F;osis18iot-la-securite-des-objets-connectes-a-bas-cout-avec-los-et-riot" rel="nofollow">https:&#x2F;&#x2F;fr.slideshare.net&#x2F;PoleSystematicParisRegion&#x2F;osis18io...</a>
pjmlp超过 6 年前
I am missing the comparisasion with NuttX, RTOS, Zephir, ARM mbed, microEJ, Tizen IoT, ....<p>Everyone wants a piece of the pie.
评论 #19025663 未加载
评论 #19034518 未加载
melenaos超过 6 年前
What is the benefit of using riot os on Arduino instead pure Arduino? I mean what is the reason to add an extra layer since I have to write the same code with and without riot.
评论 #19025619 未加载
评论 #19025528 未加载
评论 #19025573 未加载
fjfaase超过 6 年前
On there site, they do not compare it with FreeRTOS, a commonly used alternative. I wonder why.
评论 #19025265 未加载
评论 #19024792 未加载
yitchelle超过 6 年前
&quot;RIOT powers the Internet of Things like Linux powers the Internet.&quot;<p>Why does it need to evangelist with statements like this? Isn&#x27;t RIOT a non-profit endeavour?
arendtio超过 6 年前
- Riot.js<p>- Riot Messenger<p>- Riot Games<p>- RIOT OS<p>It&#x27;s getting kinda crowded in this namespace :-&#x2F;
评论 #19024726 未加载
评论 #19027751 未加载
roland35超过 6 年前
Another thing to note is that since Amazon has acquired the FreeRTOS project, FreeRTOS now includes built in support for a lot of IoT related things.<p>AWS is certainly tied in the best but you can still use the networking and MQTT library however you want
andrewstuart超过 6 年前
Another embedded OS is iTRON <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;ITRON_project" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;ITRON_project</a>
yeahitslikethat超过 6 年前
Does this work on the esp8266? Says it does on the homepage but it&#x27;s not listed on the supported hardware page on the github.<p>What exactly does RIOT do for you that isn&#x27;t on the chip?
评论 #19024780 未加载
评论 #19024879 未加载
评论 #19024526 未加载
wieghant超过 6 年前
Recently needed multi-threading with Arduino. Going to give this a shot. I&#x27;m sure people more well-versed with non-POSIX may have gripes, but I&#x27;m just doing this for hobby purposes. I&#x27;m familiar with Linux, I need multi-threading and maybe a network stack. Given that, this seems like the thing for me.
评论 #19026459 未加载
mtgx超过 6 年前
&gt; Standard programming in C or C++<p>As if IoT manufacturers weren&#x27;t already ignoring the security of their IoT devices and properly updating them.<p>I think if IoT devices are to adopt a good open source RTOS it should at least be one written in a memory safe language.
评论 #19027588 未加载