{"id":193,"date":"2022-12-22T01:37:37","date_gmt":"2022-12-21T17:37:37","guid":{"rendered":"https:\/\/vm1.go2see.me\/?p=193"},"modified":"2022-12-22T02:24:08","modified_gmt":"2022-12-21T18:24:08","slug":"rtos-%e6%af%94%e8%be%83","status":"publish","type":"post","link":"https:\/\/vm1.go2see.me\/?p=193","title":{"rendered":"RTOS \u6bd4\u8f83"},"content":{"rendered":"<p>RTOS\u7684\u597d\u58de\u7aef\u770b\u61c9\u7528\u5834\u666f\uff0c\u4ee5\u53ca\u5728\u5834\u666f\u4e0b\u7684\u5404\u7a2e\u5eab\u7684\u652f\u6301\u7a0b\u5ea6\u3002<\/p>\n<p>\u61c9\u7528\u5728\u6c7d\u8eca\u706b\u7bad\u91ab\u7642\u7b49\u7279\u6b8a\u9818\u57df\uff0c\u9700\u8981\u5c0d\u5b89\u5168\u7b49\u7d1a\u7684\u652f\u6301\uff0c\u61c9\u7528\u5728IOT\u9818\u57df\uff0c\u9700\u8981\u5c0d\u7db2\u8def\u76f8\u95dc\u5eab\u7684\u652f\u6301\u3002\u6b64\u5916\uff0c\u597d\u5b89\u88dd\u3001\u4f4e\u5b78\u7fd2\u6210\u672c\u662f\u4f01\u696d\u9078\u64c7RTOS\u7684\u4e00\u5927\u689d\u4ef6\u3002<\/p>\n<p>\u5728\u505a\u85cd\u7259\u9805\u76ee\u7684\u6642\u5019\uff0c\u89ba\u5f97Zephyr\u662f\u6700\u524d\u6cbf\u7684\uff0c\u6700\u65b0\u7684 Stack\u548cCodec\u90fd\u6703\u5728Zephyr\u4e0a\u770b\u5230\u3002Zephyr\u9084\u63d0\u4f9b\u4e86\u5b89\u5168\u7b49\u7d1a\u7684\u9a57\u8b49\u4fe1\u606f\uff0c\u6709\u5b89\u5168\u8981\u6c42\u7684\u7cfb\u7d71\u662f\u4e0d\u932f\u7684\u8003\u91cf\u3002<\/p>\n<p>\u82e5\u8981\u8aaa\u597d\u79fb\u690d\u3001\u597d\u5b78\u7fd2\uff0c\u57fa\u65bc\u539f\u751f POSIX \u898f\u7bc4\u7684 Nuttx\u662f\u4e0d\u932f\u7684\u9805\u76ee\u3002\u57fa\u672c\u4e0aNuttx\u5c31\u662f\u6c92\u6709MMU\u7684unix like\u7cfb\u7d71\uff0c \u5f88\u9069\u5408\u505aIoT\uff0c\u5927\u90e8\u5206\u7684POSIX\u61c9\u7528\u90fd\u80fd\u5728\u4e0a\u9762\u5f88\u597d\u7684\u79fb\u690d\u3002\u958b\u767c\u5de5\u7a0b\u7684\u8a2d\u5b9a\u4e5f\u5f88\u50cfLinux\u5462\u3002<\/p>\n<p>\u5982\u679c\u61c9\u7528\u662f\u67b6\u5728micropython\u74b0\u5883\u4e0a\uff0c\u90a3\u9ebcRTOS\u7684\u9078\u64c7\u4f3c\u4e4e\u5c31\u4e0d\u662f\u90a3\u9ebc\u91cd\u8981\u4e86\uff0cmicropython\u53ef\u4ee5\u5728\u5c0f\u578b\u7cfb\u7d71\u539f\u751f\u7684\u57f7\u884c\uff0c\u4e5f\u53ef\u4ee5\u5b89\u88dd\u5728\u591a\u7a2e RTOS\u4e0a\u3002<\/p>\n<p>\u4e0d\u8003\u616e\u5546\u696d\u6388\u6b0a\u91d1\u7684\u8a71\uff0c\u5fae\u8edf\u7684Azure\/ThreadX\u770b\u8d77\u4f86\u662f\u842c\u9748\u4e39\uff0c\u5b89\u5168\u3001\u529f\u80fd\u5eab\u90fd\u76f8\u7576\u9f4a\u5168\uff0c\u6216\u8a31\u7522\u54c1\u4e5f\u80fd\u66f4\u5feb\u901f\u7684\u7b26\u5408\u4e0a\u5e02\u8981\u6c42\u5427\u3002<\/p>\n<p>\u6c7d\u8eca\u7522\u696d\u7528\u5f97\u6700\u591a\u7684QNX\uff0c\u662f\u975e\u958b\u6e90\u7684\u7522\u54c1\uff0c\u4f46\u9019\u6a23\u53ef\u80fd\u4e5f\u66f4\u96e3\u88ab\u767c\u73fe\u6f0f\u6d1e\uff0c\u7dad\u6301\u7cfb\u7d71\u7684\u5b89\u5168\u5427\u3002\u3002\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u641c\u96c6\u6574\u7406\u7684\u3001\u6211\u6bd4\u8f03\u6709\u8208\u8da3\u7684 RTOS\u6bd4\u8f03\u8868\u3002\u54a6\uff1fAGL Linux\u4e82\u5165\u4e86\u3002\u3002\u3002\u3002\u61f6\u5f97\u522a\u4e86\uff0c\u5c31\u9019\u6a23\u5427\u3002\u3002\u3002<\/p>\n<h2>RTOS \u6bd4\u8f83\u8868<\/h2>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/docs.zephyrproject.org\/latest\/index.html\">Zephyr<\/a><\/th>\n<th><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/azure.microsoft.com\/zh-cn\/\">Azure<\/a> ThreadX<\/th>\n<th>FreeRTOS=> <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.highintegritysystems.com\/iso-26262-june-2016\/\">SafeRTOS<\/a><\/th>\n<th><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/wiki.automotivelinux.org\">AGL<\/a> (Linux)<\/th>\n<th><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/blackberry.qnx.com\/en\/pdfviewer?file=\/content\/dam\/blackberry-com\/Documents\/pdf\/BlackBerry_QNX_Auto_BrochureDesign_Digital_19April21.pdf\">QNX<\/a><\/th>\n<th><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.lynx.com\/industries\/automotive\">LynxOS<\/a><\/th>\n<th><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/nuttx.apache.org\">NuttX<\/a><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>License<\/td>\n<td>Apache 2.0<\/td>\n<td><strong>Comerical<\/strong><br \/>free for proto\/edu<\/td>\n<td>MIT=> Comerical<\/td>\n<td>GPL<\/td>\n<td>Comerical<\/td>\n<td>Comerical<\/td>\n<td>Apache 2.0<\/td>\n<\/tr>\n<tr>\n<td>SMP\/AMP<\/td>\n<td>SMP\/OpenAMP<\/td>\n<td>SMP\/ OpenAMP<\/td>\n<td>SMP AMP<\/td>\n<td>SMP<\/td>\n<td>SMP AMP<\/td>\n<td>SMP AMP<\/td>\n<td>SMP<\/td>\n<\/tr>\n<tr>\n<td>POSIX<\/td>\n<td>subset of <br \/>PSE51 PSE52<br \/>BSD Sockets<\/td>\n<td>OK<\/td>\n<td>partially IEEE 1003.1-2017<\/td>\n<td>OK<\/td>\n<td>OK<\/td>\n<td>native PSE 53 PSE 54<\/td>\n<td>native POSIX API ANSI <br \/>BSD Sockets<\/td>\n<\/tr>\n<tr>\n<td>FileSystem<\/td>\n<td>VFS: <br \/>NFFS FATFS FCB<\/td>\n<td>FileX (FAT\/exFAT)<\/td>\n<td>FatFs<\/td>\n<td>various<\/td>\n<td>DOS EXT2 QNX6 UDF FFSv3 ETFS<\/td>\n<td><\/td>\n<td>VFAT ROMFS NXFFS NFSv3<\/td>\n<\/tr>\n<tr>\n<td>GUI<\/td>\n<td>lvgl<\/td>\n<td>GuiX+tools<\/td>\n<td>lvgl<\/td>\n<td>X11 Qt HTML5<\/td>\n<td><\/td>\n<td><\/td>\n<td>nx\u3001lvgl<\/td>\n<\/tr>\n<tr>\n<td>Loadable app<\/td>\n<td>NA<\/td>\n<td>NA<\/td>\n<td>NA<\/td>\n<td>OK<\/td>\n<td><\/td>\n<td><\/td>\n<td>NXFLAT<br \/>(cortex m3\/m4 only)<\/td>\n<\/tr>\n<tr>\n<td>Bluetooth<br \/>BLE<\/td>\n<td>BLE 5.0 compliant (ESR10)<br \/>BLE5.2 LEAudio\u3001Mesh BR\/EDR:rfcomm<\/td>\n<td>Yes<\/td>\n<td>NimBLE Mesh BTStack<\/td>\n<td>BlueZ<\/td>\n<td><\/td>\n<td><\/td>\n<td>BTStack(SONY)<br \/>BLE from zephyr<\/td>\n<\/tr>\n<tr>\n<td>Platform Security<\/td>\n<td>PSA Certified <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/docs.zephyrproject.org\/latest\/guides\/tfm\/overview.html\">TF-M<\/a><\/td>\n<td>PSA Certified<\/td>\n<td>&#8211;<\/td>\n<td>&#8211;<\/td>\n<td>&#8211;<\/td>\n<td>CSfC <a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.opengroup.org\/face\/conformance-publications-and-tools\">FACE\u2122 2.0<\/a><\/td>\n<td>&#8211;<\/td>\n<\/tr>\n<tr>\n<td><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.highintegritysystems.com\/embedded-rtos-for-industrial-applications\/\">Industrial<\/a> IEC61508<\/td>\n<td>SIL 3<\/td>\n<td>SIL 4<\/td>\n<td>SIL 3<\/td>\n<td>SIL 2?<\/td>\n<td>SIL 3<\/td>\n<td><\/td>\n<td>NA<\/td>\n<\/tr>\n<tr>\n<td><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.highintegritysystems.com\/embedded-rtos-for-automotive\/\">Automotive<\/a> ISO26262<\/td>\n<td><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.zephyrproject.org\/safety-and-zephyr-rtos\/\">ASIL D<\/a><\/td>\n<td>ASIL D<\/td>\n<td>ASIL D<\/td>\n<td>ASIL B ?<\/td>\n<td>ASIL D<\/td>\n<td><\/td>\n<td>NA<\/td>\n<\/tr>\n<tr>\n<td><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.highintegritysystems.com\/embedded-rtos-for-medical-devices\/\">Medical<\/a>  FDA510(k) IEC62304<\/td>\n<td>&#8211;<\/td>\n<td>FDA510\uff08k\uff09IEC62304 Cls.C IEC60601 ISO14971<\/td>\n<td>FDA510(k) IEC62304<\/td>\n<td>&#8211;<\/td>\n<td>&#8211;<\/td>\n<td><\/td>\n<td>NA<\/td>\n<\/tr>\n<tr>\n<td><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.highintegritysystems.com\/embedded-rtos-for-aerospace-applications\/\">Aerospace<\/a><\/td>\n<td>&#8211;<\/td>\n<td>DO-178B\uff0cED-12B\uff0cDO-278<\/td>\n<td>DO178C<\/td>\n<td>&#8211;<\/td>\n<td>&#8211;<\/td>\n<td>DO 178B DO 178C ARINC 653-1<\/td>\n<td>NA<\/td>\n<\/tr>\n<tr>\n<td>MISRA<\/td>\n<td>MISRA C:2020<\/td>\n<td>MISRA C:2012<\/td>\n<td>misra C:2004<\/td>\n<td>?<\/td>\n<td>MISRA C\/C++ 2012<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><strong>Pros<\/strong><\/td>\n<td>free<br \/>safty certs<br \/>lots MCU ports BLE 5.x ref. Bd.<\/td>\n<td>Stable ThreadX perfact safty cert<\/td>\n<td>FreeRTOS API <br \/>safety cert<\/td>\n<td>Focus on CAR AP<\/td>\n<td>safty cert Hypervisor   middleware<\/td>\n<td>safty cert Hypervisor  Aerospace<\/td>\n<td>Free<br \/>Easy to Porting<\/td>\n<\/tr>\n<tr>\n<td><strong>Cons<\/strong><\/td>\n<td><\/td>\n<td>Price?<\/td>\n<td>Price?<\/td>\n<td>GPL poor safety cert<\/td>\n<td>Price?<\/td>\n<td>Price?<\/td>\n<td>No safety cert<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>FreeRTOS POSIX: https:\/\/www.freertos.org\/Documentation\/api-ref\/POSIX\/index.html<\/p>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/nuttx.apache.org\/docs\/latest\/introduction\/about.html\">NuttX<\/a>: Think of NuttX is a tiny Linux work-alike with a much reduced feature set.<\/p>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/docs.zephyrproject.org\/latest\/guides\/portability\/posix.html\">Zephyr POSIX<\/a> : Implements a subset of the embedded profiles PSE51 and PSE52, and BSD Sockets API.<\/p>\n<p><a class=\"wp-editor-md-post-content-link\" href=\"https:\/\/www.osrtos.com\/\">List of open source RTOS<\/a>: \u6536\u96c6\u5f00\u6e90\u7684RTOS\u4fe1\u606f<\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>RTOS\u7684\u597d\u58de\u7aef\u770b\u61c9\u7528\u5834\u666f\uff0c\u4ee5\u53ca\u5728\u5834\u666f\u4e0b\u7684\u5404\u7a2e\u5eab\u7684\u652f\u6301\u7a0b\u5ea6\u3002 \u61c9\u7528\u5728\u6c7d\u8eca\u706b\u7bad\u91ab\u7642\u7b49\u7279\u6b8a\u9818\u57df\uff0c\u9700\u8981\u5c0d\u5b89\u5168\u7b49\u7d1a\u7684\u652f&#8230; &raquo; <a class=\"read-more-link\" href=\"https:\/\/vm1.go2see.me\/?p=193\">\u95b1\u8b80\u5168\u6587<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-193","post","type-post","status-publish","format-standard","hentry","category-embedded"],"_links":{"self":[{"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=\/wp\/v2\/posts\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=193"}],"version-history":[{"count":12,"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=\/wp\/v2\/posts\/193\/revisions"}],"predecessor-version":[{"id":205,"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=\/wp\/v2\/posts\/193\/revisions\/205"}],"wp:attachment":[{"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vm1.go2see.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}