简体   繁体   English

在Arduino Due上使用contikiOS进行C或C ++编程

[英]C or C++ programming with contikiOS on Arduino Due

What I need to do is to compile and run a program written in C/C++ on Arduino. 我需要做的是在Arduino上编译并运行用C / C ++编写的程序。

I'm ok with every open source RTOS if it supports C especially struct. 如果每个开源RTOS支持C特别是结构,我都可以。

So I have found contikiOS does that, and tried to get started. 因此,我发现contikiOS可以做到这一点,并试图开始。

But I guess contikiOS doesn't support Arduino port anymore and Due is quite recent model so that I couldn't find proper information. 但是我想contikiOS不再支持Arduino端口,并且Due是相当新的型号,所以我找不到合适的信息。

If you know any information on it or want me to help, please give me an advice. 如果您知道其中的任何信息或希望我提供帮助,请给我一个建议。 Ah, do you have any other recommendation for RTOS? 嗯,您对RTOS还有其他建议吗?

Thanks. 谢谢。

If what you need is to run a simple c/c++ software, you have to know that the arduino environment support c/c++ code, as explained in the arduino homepage http://code.google.com/p/arduino/ If for your requirements , you need to use a real time operating system, there is a contikiOS version for Arduino (Contiki-Arduino). 如果您需要运行一个简单的c / c ++软件,则必须知道arduino环境支持c / c ++代码,如arduino主页http://code.google.com/p/arduino/中所述。您的要求是 ,您需要使用实时操作系统,Arduino有contikiOS版本(Contiki-Arduino)。

Last but not least, if you are a beginner, i would advice you to use a popular RTOS, to find support on internet easily if you need it. 最后但并非最不重要的一点,如果您是初学者,我建议您使用流行的RTOS,以便在需要时轻松地在Internet上找到支持。 Sadly, i am not an expert on that field. 可悲的是,我不是该领域的专家。 But when i google it, i find Duinos, maybe you could have a look on it. 但是当我用Google搜索它时,我找到了Duinos,也许您可​​以看看它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM