{"id":6046,"date":"2023-01-23T17:58:33","date_gmt":"2023-01-23T08:58:33","guid":{"rendered":"https:\/\/solid.kmckk.com\/SOLID\/?p=6046"},"modified":"2023-01-23T18:10:45","modified_gmt":"2023-01-23T09:10:45","slug":"solid%e4%bd%bf%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%88%e3%81%86%e3%82%b7%e3%83%aa%e3%83%bc%e3%82%ba3-%e3%80%8c%e3%82%b3%e3%83%bc%e3%83%89%e3%82%ab%e3%83%90%e3%83%ac%e3%83%83%e3%82%b8%e3%80%8d-2-5-2-2-2-4","status":"publish","type":"post","link":"https:\/\/solid.kmckk.com\/SOLID\/archives\/6046","title":{"rendered":"SOLID for Raspberry Pi 4 (\u9023\u8f0911)"},"content":{"rendered":"<div id=\"pl-6046\"  class=\"panel-layout\" ><div id=\"pg-6046-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-6046-0-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child\" data-index=\"0\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p style=\"text-align: right;\">(2023\/1\/23)<\/p>\n<\/div>\n<\/div><\/div><div id=\"panel-6046-0-0-1\" class=\"so-panel widget widget_sow-editor\" data-index=\"1\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">Rust\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>\u524d\u56de\u307e\u3067\u306bRust\u8a00\u8a9e\u306b\u3064\u3044\u3066\u3044\u308d\u3044\u308d\u3068\u5b66\u3093\u3067\u304d\u305f\u3053\u3068\u3092\u3001\u3053\u3053\u304b\u3089\u306f\u5b9f\u8df5\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>SOLID-OS\u4e0a\u3067\u52d5\u304f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div><\/div><div id=\"panel-6046-0-0-2\" class=\"so-panel widget widget_sow-editor panel-last-child\" data-index=\"2\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">\uff11\uff0e \u305b\u3063\u304b\u304f\u306a\u306e\u3067\u30af\u30ec\u30fc\u30c8\u3092\u4f7f\u3044\u305f\u3044<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>\u5b9f\u8df5\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u306f\u3001Rust\u3063\u307d\u304f\u3001\u30af\u30ec\u30fc\u30c8\u3092\u4f7f\u3063\u3066I\/O\u3092\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3088\u3046\u306a\u683c\u597d\u3044\u3044\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u307f\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u524d\u3001GPIO\u3092\u64cd\u4f5c\u3057L\u30c1\u30ab\u3059\u308b\u30a2\u30d7\u30ea\u3092Rust\u3067\u66f8\u3044\u305f\u3068\u304d\u306b\u3001I\/O\u30a2\u30af\u30bb\u30b9\u7528\u306ePAC\u3092\u4f7f\u7528\u3057\u305f\u8a18\u61b6\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u518d\u5ea6\u3001PAC\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\nhttps:\/\/github.com\/KyotoMicrocomputer\/solid-rapi4-examples\/tree\/main\/common\/bcm2711_pac<\/p>\n<p>src\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u3082\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br \/>\n<a href=\"https:\/\/github.com\/KyotoMicrocomputer\/solid-rapi4-examples\/tree\/main\/common\/bcm2711_pac\/src\">https:\/\/github.com\/KyotoMicrocomputer\/solid-rapi4-examples\/tree\/main\/common\/bcm2711_pac\/src<\/a><\/p>\n<p>\u6ca2\u5c71\u3042\u308a\u307e\u3059\u306d\uff01<br \/>\n\u30bb\u30f3\u30b5\u306e\u63a5\u7d9a\u3068\u3057\u3066\u306f\u3001SPI\u3042\u305f\u308a\u304c\u4f7f\u3048\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u3068\u3044\u3046\u4e8b\u3067\u3001\u305b\u3063\u304b\u304f\u306a\u306e\u3067\u3001SPI\u3092\u4f7f\u3063\u3066\u4f55\u304b\u30bb\u30f3\u30b5\u3092\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3088\u3046\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-6046-1\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-1-0\"  class=\"panel-grid-cell\" ><div id=\"panel-6046-1-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child\" data-index=\"3\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">\uff12\uff0e\u30a2\u30af\u30bb\u30b9\u5bfe\u8c61\u3068\u3059\u308b\u30bb\u30f3\u30b5<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>SPI I\/F\u3092\u6301\u3063\u3066\u3044\u308b\u30bb\u30f3\u30b5\u3092\u4f55\u304b\u9078\u5b9a\u3057\u305f\u3044\u3002<\/p>\n<p>\u3057\u304b\u3057\u6e29\u6e7f\u5ea6\u30bb\u30f3\u30b5\u3067\u306f\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0OS\u3067\u3042\u308bSOLID-OS\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5fc5\u8981\u6027\u3092\u611f\u3058\u307e\u305b\u3093\u3002Linux\u3067\u3084\u308c\u3070\u3044\u3044\u3058\u3083\u3093\u3001\u3068\u8a00\u308f\u308c\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u3042\u3001\u305d\u3046\u3060\u3002<br \/>\n\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5\u3067\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>1ms\u9593\u9694\u3067\u3001x, y, z\u306e\u5024\u3092\u8aad\u3081\u3070\u3001\u7269\u4f53\u306e\u52d5\u4f5c\u3092\u304d\u3081\u7d30\u304b\u304f\u628a\u63e1\u3059\u308b\u4e8b\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<\/div>\n<\/div><\/div><div id=\"panel-6046-1-0-1\" class=\"so-panel widget widget_sow-editor\" data-index=\"4\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">\uff13\uff0eLinux\u5074\u306e\u5f79\u76ee\u3092\u6c7a\u3081\u308b<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>SOLID-OS\u5074\u30a2\u30d7\u30ea\u3067\u8aad\u3080\u3001\u5927\u91cf\u306ex, y, z\u306e\u5024\u3092\u3001\u3069\u3053\u306b\u3069\u3046\u3057\u307e\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u3053\u3053\u3067\u3001\u601d\u3044\u51fa\u3059\u306e\u306f\u3001SOLID-OS\u3068Linux\u306eCPU\u9593\u901a\u4fe1\u306e\u3053\u3068\u3002<br \/>\nSOLID-OS\u306f\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bd\u30b1\u30c3\u30c8\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u306f\u3001Linux\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c9\u30e9\u30a4\u30d0\u3092\u4f7f\u7528\u3057\u3066\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u306a\u3089\u3001\u3053\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bd\u30b1\u30c3\u30c8\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3066\u3001\u30bb\u30f3\u30b5\u30c7\u30fc\u30bf\u3092\u9001\u3063\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n<p>\u3068\u3044\u3046\u4e8b\u3067\u3001Linux\u306e\u5f79\u76ee\u306f\u3001<br \/>\n\u300c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u300d<br \/>\n\u306b\u6c7a\u307e\u308a\uff01\u3067\u3059\u3002<\/p>\n<p>SOLID-OS\u5074\u3067\u9ad8\u901f\u306b\u30bb\u30f3\u30b5\u3092\u8aad\u3080\u5f79\u76ee\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0OS\u306b\u5c02\u5ff5\u3057\u3066\u3082\u3089\u3044\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u9001\u4fe1\u306e\u5f79\u76ee\u3092Linux\u306b\u8ab2\u3059\u3053\u3068\u3067\u3001Dual-OS\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u51fa\u305b\u305d\u3046\u3067\u3059\u3002<\/p>\n<\/div>\n<\/div><\/div><div id=\"panel-6046-1-0-2\" class=\"so-panel widget widget_sow-editor\" data-index=\"5\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">\uff14\uff0eSOLID-OS\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bd\u30b1\u30c3\u30c8\u6a5f\u80fd<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>SOLID-OS\u306b\u306f\u3001\u30bd\u30b1\u30c3\u30c8\u6a5f\u80fd\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\nhttp:\/\/solid.kmckk.com\/doc\/skit\/current\/os\/sockets\/index.html#<\/p>\n<p>\u3053\u3061\u3089\u3092\u4f7f\u3063\u305fRust\u306e\u30b5\u30f3\u30d7\u30eb\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3042\u308a\u304c\u305f\u304f\u4f7f\u308f\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\nhttps:\/\/github.com\/KyotoMicrocomputer\/solid-rapi4-examples\/tree\/main\/rust-server-tcpecho-std<\/p>\n<p>TCP\/IP\u306e\u30b5\u30fc\u30d0\u3067\u3059\u3002<br \/>\nPC\u5074\u304c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n<\/div><\/div><div id=\"panel-6046-1-0-3\" class=\"so-panel widget widget_sow-editor panel-last-child\" data-index=\"6\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">\uff15\uff0e\u69cb\u6210\u6c7a\u5b9a<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>\u3068\u3044\u3046\u4e8b\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30c7\u30e2\u3092\u4f5c\u6210\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n[\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u69cb\u6210]\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-6047\" src=\"https:\/\/solid.kmckk.com\/SOLID\/wp-content\/uploads\/2023\/01\/11_1-300x160.png\" alt=\"\" width=\"439\" height=\"234\" srcset=\"https:\/\/solid.kmckk.com\/SOLID\/wp-content\/uploads\/2023\/01\/11_1-300x160.png 300w, https:\/\/solid.kmckk.com\/SOLID\/wp-content\/uploads\/2023\/01\/11_1-768x411.png 768w, https:\/\/solid.kmckk.com\/SOLID\/wp-content\/uploads\/2023\/01\/11_1.png 810w\" sizes=\"auto, (max-width: 439px) 100vw, 439px\" \/><\/p>\n<p>Raspberry pi 4B\u306e\u5404\u7aef\u5b50\u306b\u3064\u3044\u3066\u4eca\u56de\u4f7f\u7528\u3059\u308b\u8a2d\u5b9a\u3068\u3001\u5bfe\u5fdc\u3059\u308b\u52a0\u901f\u5ea6\u30bb\u30f3\u30b5ADXL345\u3068\u306e\u7d50\u7dda\u306f\u4ee5\u4e0b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<table border=\"1\">\n<tbody>\n<tr>\n<th>Raspberry Pi\u7aef\u5b50\u756a\u53f7<\/th>\n<th>bcm2711 GPIO\u756a\u53f7<\/th>\n<th>\u4f7f\u7528\u3059\u308b\u7aef\u5b50\u6a5f\u80fd<\/th>\n<th>Function select No.<\/th>\n<th>ADXL345\u7aef\u5b50\u540d<\/th>\n<\/tr>\n<tr>\n<td>19<\/td>\n<td>GPIO10<\/td>\n<td>SPI0_MOSI<\/td>\n<td>ALT0<\/td>\n<td>SDI<\/td>\n<\/tr>\n<tr>\n<td>21<\/td>\n<td>GPIO9<\/td>\n<td>SPI0_MISO<\/td>\n<td>ALT0<\/td>\n<td>SDO<\/td>\n<\/tr>\n<tr>\n<td>23<\/td>\n<td>GPI11<\/td>\n<td>SPI0_SCLK<\/td>\n<td>ALT0<\/td>\n<td>SCLK<\/td>\n<\/tr>\n<tr>\n<td>24<\/td>\n<td>GPIO8<\/td>\n<td>SPI0_CE0#<\/td>\n<td>ALT0<\/td>\n<td>CS<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u203bFunction select No.\u3068\u306f\u3001bcm2711\u306b\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306e\u7aef\u5b50\u30de\u30eb\u30c1\u30d7\u30ec\u30af\u30b9\u8a2d\u5b9a\u756a\u53f7\u3067\u3059\u3002<\/p>\n[\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u69cb\u6210]\n<p>\u30fbWindows PC\u5074<\/p>\n<p>\u7c21\u5358\u306aTCP\/IP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092C#\u3067\u66f8\u304f<\/p>\n<p>\u30fbRaspberry pi \u5074<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d6\u30ed\u30c3\u30af\u306b\u306a\u308b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6050\" src=\"https:\/\/solid.kmckk.com\/SOLID\/wp-content\/uploads\/2023\/01\/11_2-300x189.png\" alt=\"\" width=\"300\" height=\"189\" srcset=\"https:\/\/solid.kmckk.com\/SOLID\/wp-content\/uploads\/2023\/01\/11_2-300x189.png 300w, https:\/\/solid.kmckk.com\/SOLID\/wp-content\/uploads\/2023\/01\/11_2.png 690w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>\u4f5c\u3063\u3066\u3044\u308b\u9014\u4e2d\u3001\u4f55\u304b\u306b\u6c17\u304c\u4ed8\u3044\u305f\u3089\u67d4\u8edf\u306b\u4ed5\u69d8\u5909\u66f4\u3092\u3057\u3064\u3064\u3001\u4f5c\u308a\u4e0a\u3052\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u9577\u304f\u306a\u308a\u305d\u3046\u3067\u3059\u304c\u304a\u4ed8\u304d\u5408\u3044\u3044\u305f\u3060\u3051\u308c\u3070\u5b09\u3057\u3044\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-6046-2\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-2-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><div id=\"pg-6046-3\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-3-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><div id=\"pg-6046-4\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-4-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><div id=\"pg-6046-5\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-5-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><div id=\"pg-6046-6\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-6-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><div id=\"pg-6046-7\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-7-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><div id=\"pg-6046-8\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-8-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><div id=\"pg-6046-9\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-6046-9-0\"  class=\"panel-grid-cell panel-grid-cell-empty\" ><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>(2023\/1\/23) \u524d\u56de\u307e\u3067\u306bRust\u8a00\u8a9e\u306b\u3064\u3044\u3066\u3044\u308d\u3044\u308d\u3068\u5b66\u3093\u3067\u304d\u305f\u3053\u3068\u3092\u3001\u3053\u3053\u304b\u3089\u306f\u5b9f\u8df5\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 SOLID-OS\u4e0a\u3067\u52d5\u304f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002 \u5b9f\u8df5\u3059\u308b\u306b\u3042\u305f\u3063\u3066\u306f\u3001Rust\u3063\u307d\u304f\u3001\u30af [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6046","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/posts\/6046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/comments?post=6046"}],"version-history":[{"count":0,"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/posts\/6046\/revisions"}],"wp:attachment":[{"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/media?parent=6046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/categories?post=6046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solid.kmckk.com\/SOLID\/wp-json\/wp\/v2\/tags?post=6046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}