{"id":5914,"date":"2014-06-18T01:12:13","date_gmt":"2014-06-17T16:12:13","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=5914"},"modified":"2014-06-19T12:19:42","modified_gmt":"2014-06-19T03:19:42","slug":"raspberry-pi-%e3%81%a7-f-%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99%e3%81%be%e3%81%a7-%e3%81%aa%e3%82%93%e3%81%a0%e3%81%8c%e3%81%be%e3%81%a0%e7%b5%82%e3%82%8f%e3%82%89%e3%81%9a","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/5914","title":{"rendered":"Raspberry Pi \u3067 F# \u3092\u52d5\u304b\u3059\u307e\u3067&#8230;\u306a\u3093\u3060\u304c\u307e\u3060\u7d42\u308f\u3089\u305a"},"content":{"rendered":"<p>\u968f\u5206\u524d\u304b\u3089 <a href=\"http:\/\/www.raspberrypi.org\/\">Raspberry Pi<\/a> \u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3057\u3070\u3089\u304f\u653e\u7f6e\u4e2d\u3060\u3063\u305f\u306e\u3067\u518d\u958b\u3002LEGO Mindstorms EV3 \u3092\u52d5\u304f\u3068\u3053\u308d\u307e\u3067\u7d9a\u3051\u308b\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n<p>\u6700\u521d\u306f mono \u3068 F# \u3092\u5165\u308c\u308b\u3068\u3053\u308d\u307e\u3067<\/p>\n<p>\u25a0 Mono \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<p><a href=\"http:\/\/tech.tanaka733.net\/entry\/2014\/02\/08\/Mono_on_RaspberryPi_%E3%81%A7HelloWorld\">Mono on RaspberryPi \u3067HelloWorld &#8211; \u9280\u306e\u5149\u3068\u78a7\u3044\u7a7a<\/a> \u3092\u53c2\u8003\u306b\u3057\u3066<\/p>\n<pre>sudo apt-get install mono-complete<\/pre>\n<p>\u3067\u4e00\u767a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u3059\u3002\u79c1\u306e\u5834\u5408 SD \u30ab\u30fc\u30c9\u304c 2GB \u3068\u3044\u3046\u5c0f\u3055\u3044\u30e1\u30e2\u30ea\u3060\u3063\u305f\u306e\u3067\u3001mono \u3092\u5165\u308c\u305f\u9014\u7aef\u306b df \u304c 100% \u306b\u306a\u3063\u3066\u8a70\u307f\u3002\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u3001\u4f59\u3063\u3066\u3044\u305f 4GB \u306e SD \u30ab\u30fc\u30c9\u306b OS \u3092\u5165\u308c\u76f4\u3057\u3066\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u7fbd\u76ee\u306b\u3002<\/p>\n<p># \u8ffd\u8a18<br \/>\n# respi-config \u3067\u00a0Expand Filesystem \u3059\u308b\u3068\u3001SD \u30ab\u30fc\u30c9\u4e00\u676f\u306b\u5bb9\u91cf\u3092\u62e1\u5f35\u3057\u307e\u3059\u3002\u521d\u671f\u72b6\u614b\u3067\u306f\u3001\u30c7\u30a3\u30b9\u30af\u30a4\u30e1\u30fc\u30b8\u306e\u305f\u3081\u306b 2.6GB \u3050\u3089\u3044\u3057\u304b\u306a\u3044\u3093\u3067\u3059\u306d\u3002\u5b9f\u884c\u3059\u308b\u3068\u624b\u5143\u306e 8GB \u306e\u30e1\u30e2\u30ea\u3092\u8a8d\u8b58\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>&#8230;\u304c\u3001\u3044\u3056 <a href=\"http:\/\/fsharp.org\/use\/linux\/\">Use F# on Linux | The F# Software Foundation<\/a> \u3092\u53c2\u8003\u306b\u3057\u3066\u3001<\/p>\n<pre>sudo apt-get install fsharp<\/pre>\n<p>\u3057\u3088\u3046\u3068\u3057\u305f\u3082\u306e\u306e git clone \u3057\u305f\u5f8c\u306b make \u3057\u305f\u3068\u3053\u308d\u3067\u518d\u3073\u30e1\u30e2\u30ea\u4e0d\u8db3\u3002F# \u306e\u30d3\u30eb\u30c9\u306f\u7d50\u69cb\u5bb9\u91cf\u304c\u591a\u3044\u306e\u3067\u3059\u306d\uff08\u3068\u601d\u3063\u305f\u3051\u3069\u3001\u9593\u9055\u3048\u3066 mono \u3092\u30d3\u30eb\u30c9\u3057\u3066\u305f orz\u3001\u307e\u3042 USB \u30e1\u30e2\u30ea\u306e\u30de\u30a6\u30f3\u30c8\u306e\u65b9\u6cd5\u304c\u5206\u304b\u3063\u305f\u306e\u3067\u826f\u3057\u3068\u3059\u308b\u304b\uff09<\/p>\n<p>\u3055\u3066\u30018GB \u306e SD \u30ab\u30fc\u30c9\u304c\u3042\u308c\u3070\u3044\u3044\u306e\u3067\u3059\u304c\u3001\u624b\u5143\u306b\u306a\u3044\u306e\u3067\u601d\u6848\u3002\u5e78\u3044\u306b\u3057\u3066\u624b\u5143\u306b USB \u30e1\u30e2\u30ea\u306a\u3089\u3070\u3042\u308b\u306e\u3067\u3001<a href=\"http:\/\/mmbrothers.exblog.jp\/16948851\">USB\u30e1\u30e2\u30ea\u306e\u30de\u30a6\u30f3\u30c8 : \u3075\u3058\u304b\u308f\u5bb6\u306e\u30da\u30fc\u30b8<\/a> \u3092\u53c2\u7167\u3057\u3066\u30de\u30a6\u30f3\u30c8\u3002<\/p>\n<pre>mount \/dev\/sda1 \/mnt\/usbmem<\/pre>\n<p>\u304c\u3001\u66f4\u306b\u554f\u984c\u304c\u3042\u3063\u3066\u3001\u3053\u306e USB \u30e1\u30e2\u30ea\u306f FA32 \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u305f\u3081\u306b Linux \u3067\u4f7f\u3046 chmod 777 \u3068\u304b\u304c\u6b63\u3057\u304f\u52d5\u304b\u306a\u3044\u3002\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u6b63\u3057\u304f\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306b\u306f ext3 \u3042\u305f\u308a\u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u306a\u304a\u3055\u306a\u3044\u3068\u99c4\u76ee\u306a\u306e\u3067\u3001<a href=\"http:\/\/blog.rutti.net\/item_383.html#.U6BTGcKa9Yo\">CentOS : USB\u30e1\u30e2\u30ea\u3092Linux\u7528\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8 \u00ab Demence\/Cup<\/a> fdisk \u3067\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u3092\u524a\u9664\u3057\u305f\u306e\u3061\u3001mkfs.ext3 \u3067\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/p>\n<pre>fdisk \/dev\/sda1\r\n...\r\nmkfs.ext3 \/dev\/sda1<\/pre>\n<p>\u25a0F#\u3092\u30d3\u30eb\u30c9&#8230;\u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u3067<\/p>\n<p>\u3084\u3063\u3068\u3053\u3055\u6e96\u5099\u304c\u6574\u3063\u305f\u306e\u3067 git clone \u3057\u3066\u304b\u3089\u30d3\u30eb\u30c9&#8230;\u306a\u306e\u3060\u304c\u3001make \u3067\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002<\/p>\n<p>FSharp Build error on the Raspberry Pi under Mono 3.2.7 \u00b7 Issue #260 \u00b7 fsharp\/fsharp<br \/>\n<a href=\"https:\/\/github.com\/fsharp\/fsharp\/issues\/260\">https:\/\/github.com\/fsharp\/fsharp\/issues\/260<\/a><\/p>\n<p>\u3068\u540c\u3058\u73fe\u8c61\u3067\u3001\u624b\u5143\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f Mono 3.2.8 \u3067\u76f4\u3063\u3066\u3044\u308b\u306f\u305a\u306a\u306e\u3060\u304c\u3002raspberry pi \u306e mono-complete \u304c\u4f55\u3089\u304b\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u3067\u53e4\u3044\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3002\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u3001\u5143\u306b\u623b\u3063\u3066 mono \u304b\u3089\u30d3\u30eb\u30c9\u3092\u3059\u308b\u3002<\/p>\n<p>\u3068\u3044\u3046\u8a33\u3067\u3001mono \u304b\u3089\u30d3\u30eb\u30c9\u4e2d\u30026\u6642\u9593\u7d4c\u3063\u305f\u304c\u307e\u3060\u7d42\u308f\u3089\u305a\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/06\/image11.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2014\/06\/image_thumb11.png\" border=\"0\" alt=\"image\" title=\"image\" width=\"406\" height=\"480\" style=\"background-image: none; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border: 0px;\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u968f\u5206\u524d\u304b\u3089 Raspberry Pi \u3092\u6301\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u3057\u3070\u3089\u304f\u653e\u7f6e\u4e2d\u3060\u3063\u305f\u306e\u3067\u518d\u958b\u3002LEGO Mindstorms EV3 \u3092\u52d5\u304f\u3068\u3053\u308d\u307e\u3067\u7d9a\u3051\u308b\u4e88\u5b9a\u3067\u3059\u3002 \u6700\u521d\u306f mono \u3068 F# \u3092\u5165\u308c\u308b\u3068\u3053\u308d\u307e\u3067 \u25a0 Mo &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/5914\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[59,67],"tags":[],"class_list":["post-5914","post","type-post","status-publish","format-standard","hentry","category-f","category-raspberrypi"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/5914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=5914"}],"version-history":[{"count":5,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/5914\/revisions"}],"predecessor-version":[{"id":5930,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/5914\/revisions\/5930"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=5914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=5914"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=5914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}